comp.lang.ada
 help / color / mirror / Atom feed
* Emacs 24.1 and colours
@ 2012-06-19 17:29 Simon Wright
  2012-07-04 17:19 ` Stephen Leake
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Wright @ 2012-06-19 17:29 UTC (permalink / raw)


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 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.

As to the reason .. another day, perhaps!



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs 24.1 and colours
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Leake @ 2012-07-04 17:19 UTC (permalink / raw)


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.

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs 24.1 and colours
  2012-07-04 17:19 ` Stephen Leake
@ 2012-07-04 22:36   ` Simon Wright
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Wright @ 2012-07-04 22:36 UTC (permalink / raw)


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"



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-04 22:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox