comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Emacs 24.1 and colours
Date: Wed, 04 Jul 2012 23:36:10 +0100
Date: 2012-07-04T23:36:10+01:00	[thread overview]
Message-ID: <m27gujxig5.fsf@pushface.org> (raw)
In-Reply-To: 85fw97e956.fsf@stephe-leake.org

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> Simon Wright <simon@pushface.org> 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"



      reply	other threads:[~2012-07-04 22:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-19 17:29 Emacs 24.1 and colours Simon Wright
2012-07-04 17:19 ` Stephen Leake
2012-07-04 22:36   ` Simon Wright [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox