* prolog users?
@ 2006-08-24 3:50 Solly Brown
2006-08-24 6:18 ` David Hansen
0 siblings, 1 reply; 6+ messages in thread
From: Solly Brown @ 2006-08-24 3:50 UTC (permalink / raw)
Hi,
Quick question for users of prolog under emacs:
How can I change the face of prolog comments (ie. lines starting with a
% symbol)?
Strangely enough, it doesn't appear to be defined by
"font-lock-comment-face". So I need to somehow tell emacs that lines
beginning with % should use font-lock-comment-face, or I need to edit
the actual face being used currently.
Any ideas?
Thanks, Solly
ps. i'm using prolog.el
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: prolog users?
2006-08-24 3:50 Solly Brown
@ 2006-08-24 6:18 ` David Hansen
2006-08-24 6:55 ` Solly Brown
[not found] ` <mailman.5558.1156433771.9609.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 6+ messages in thread
From: David Hansen @ 2006-08-24 6:18 UTC (permalink / raw)
On Thu, 24 Aug 2006 13:50:49 +1000 Solly Brown wrote:
> Hi,
>
> Quick question for users of prolog under emacs:
>
> How can I change the face of prolog comments (ie. lines
> starting with a % symbol)?
>
> Strangely enough, it doesn't appear to be defined by
> "font-lock-comment-face". So I need to somehow tell emacs
> that lines beginning with % should use
> font-lock-comment-face, or I need to edit the actual face
> being used currently.
>
> Any ideas?
C-u C-x = should tell you which face is used for
highlighting. BTW in GNU Emacs 22 (thats the developer
version) it's font-lock-comment-face.
David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: prolog users?
2006-08-24 6:18 ` David Hansen
@ 2006-08-24 6:55 ` Solly Brown
[not found] ` <mailman.5558.1156433771.9609.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 6+ messages in thread
From: Solly Brown @ 2006-08-24 6:55 UTC (permalink / raw)
David Hansen wrote:
> On Thu, 24 Aug 2006 13:50:49 +1000 Solly Brown wrote:
>> How can I change the face of prolog comments (ie. lines
>> starting with a % symbol)?
>>
>>
> C-u C-x = should tell you which face is used for
> highlighting. BTW in GNU Emacs 22 (thats the developer
> version) it's font-lock-comment-face.
>
> David
>
OK this is a bit weird. This is what I've got for the text properties of
my comments:
face font-lock-comment-face
fontified t
However my comments don't show up in the font-lock-comment-face.
Instead, they appear to be showing up with "firebrick-italic" face.
If I change the properties of the font-lock-comment-face (making it
green, say) then new comments that I type in do indeed appear in green.
However, when I type C-l to refontify the existing comments, then
instead of everything turning green, all of my new comments revert to
firebrick-italic (and the old ones are unchanged). The text properties
still claims that the comments are using font-lock-comment-face, but
clearly they're not.
Something very odd going on there. Any more suggestions?
Thanks, Solly
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.5558.1156433771.9609.help-gnu-emacs@gnu.org>]
end of thread, other threads:[~2006-08-24 16:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.5525.1156393105.9609.help-gnu-emacs@gnu.org>
2006-08-24 9:09 ` prolog users? Markus Triska
2006-08-24 10:14 ` Solly Brown
2006-08-24 3:50 Solly Brown
2006-08-24 6:18 ` David Hansen
2006-08-24 6:55 ` Solly Brown
[not found] ` <mailman.5558.1156433771.9609.help-gnu-emacs@gnu.org>
2006-08-24 16:38 ` Markus Triska
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.