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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,95af52109e24f8f9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.196.232 with SMTP id ip8mr7760813pbc.6.1341441370436; Wed, 04 Jul 2012 15:36:10 -0700 (PDT) Path: l9ni10839pbj.0!nntp.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Emacs 24.1 and colours Date: Wed, 04 Jul 2012 23:36:10 +0100 Organization: A noiseless patient Spider Message-ID: References: <85fw97e956.fsf@stephe-leake.org> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="ITitWrD56PUikY0UZLlgPQ"; logging-data="8249"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18q2cC4FYMBZ+/idCQ54S3ExSctlfRDyk8=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:GbiGb2l2kKT1DmctvtWmHI3Czko= sha1:2jJ0mx5alfk3tlfNT8yWMsQpmf8= Content-Type: text/plain Date: 2012-07-04T23:36:10+01:00 List-Id: Stephen Leake writes: > Simon Wright writes: > >> I just installed Emacs 24.1 on Mac OS X Lion, and found that my Ada code >> seemed to have been eaten away. For example, if the code said >> "with Foo;" >> it would appear as >> "with ;" > > This doesn't happen for me on Windows 7 (just upgraded today :). > >> This is to do with colouring in font-lock-mode. >> >> I posted a note about a workround at >> http://forward-in-code.blogspot.co.uk/2012/06/where-did-my-constants-go.html. > > that says the problem is font-lock-constant-face, which is set to "dark > cyan" by default. > > On my system, font-lock-constant-face is set to 'font-lock-constant-face, > which is confusing :). Using Options | Customize Emacs | Specific Face > ..., I can see it is set to "CadetBlue". > > I don't know why that would be different on a different OS. Nor do I. Did you see the note I added to that blog entry? "Of course, I could have checked on Google: the problem appears to be caused by an old version of Emacs (from 2005) leaving droppings[1]. "Remove ~/Library/Colors/Emacs.clr, restart Emacs, and all is well. "[1] http://permalink.gmane.org/gmane.emacs.macintosh.osx/6639"