From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,82dadb8a32a5cd0b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: Emacs and long file names Date: Thu, 27 May 2010 16:55:11 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <755de929-67b4-4de6-8982-a0bfc43effc0@z15g2000prh.googlegroups.com> <82y6f88ztj.fsf@stephe-leake.org> <87y6f799pf.fsf@ludovic-brenta.org> <82ocg35cst.fsf@stephe-leake.org> Injection-Date: Thu, 27 May 2010 16:55:11 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="25048"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MMhVcnYdlYV4keBjdGVBn4K0TaJ7Vwkk=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:L5FeM4CcbN50pOolBXwwaPaZooo= Xref: g2news2.google.com comp.lang.ada:12087 Date: 2010-05-27T16:55:11+00:00 List-Id: Stephen Leake expounded in news:82ocg35cst.fsf@stephe-leake.org: > Warren writes: > >> I also have my .emacsrc set to recognize gnat code and >> to make ^X^Z-G go to the source line in error. Thanks to >> gnat it even points at the correct statement offset to >> the very token (or nearly). I'm sure your Gnu-emacs elisp >> code does the same thing. > > Yes. > > Even better is gnat-fix-compiler-error; it automatically recognizes > simple errors, especially style ones like "space required", and fixes > them for you. Cool. I'll have to take a look at that when my time permits. > I have 'next-error' bound to F6, and 'gnat-fix-compiler-error' bound > to C-F6. So processing compiler errors is often a simple sequence; F6 > C-F6 F6 C-F6. It's really annoying when I hit one Emacs can't fix :). ;-) I could probably use a "find next error" binding. That's something for a rainy weekend. Warren