emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font-lock in shell.el


From: Miles Bader
Subject: Re: font-lock in shell.el
Date: Tue, 29 Mar 2005 16:26:23 +0900

On Tue, 29 Mar 2005 06:37:59 +0100 (BST), Nick Roberts
<address@hidden> wrote:
> In the shell buffer the current prompt has its own face,
> comint-highlight-prompt. After a command is entered, the new prompt has this
> face, but the face for the old prompt is relegated to font-lock-string-face.

You must have a prompt that triggers one of the various font-lock
patterns, causing font-lock to over-write the correct prompt face.

Older (before 2002 sometime) versions used overlays instead of
text-properties for all prompt faces instead of just the last one,
which were resistant to being overwritten.

I'm not sure about how to make font-lock not match areas with certain
properties attached; Stefan?

-Miles
-- 
Do not taunt Happy Fun Ball.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]