[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
font-lock in shell.el
From: |
Nick Roberts |
Subject: |
font-lock in shell.el |
Date: |
Tue, 29 Mar 2005 06:37:59 +0100 (BST) |
Symptoms:
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.
In earlier Emacsen this didn't happen and one can recover the original face by
toggling global-font-lock-mode off and then on again.
I don't think this change is intentional and, in any case, I think the old
behaviour is better than the current one.
Nick
In GNU Emacs 22.0.50.3 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-03-27 on farnswood.snap.net.nz
Distributor `Mandrake Linux (XFree86 4.2.1, patch level 3mdk)', version
11.0.40201000
configured using `configure 'CFLAGS=-g3''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: en_GB
value of $LC_CTYPE: en_GB
value of $LC_MESSAGES: en_GB
value of $LC_MONETARY: en_GB
value of $LC_NUMERIC: en_GB
value of $LC_TIME: en_GB
value of $LANG: en_GB
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
auto-compression-mode: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
i n b <backspace> t e n t i o n a l SPC a n d SPC i
n SPC a n y SPC c a s e <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> , <down-mouse-1>
<mouse-1> , M-q <down-mouse-1> <mouse-1> <return> N
i c k <return> <down-mouse-1> <mouse-1> <switch-frame>
<down-mouse-1> <mouse-movement> <mouse-1> M-x r e p
o p <backspace> r t SPC e m a SPC b SPC <return> <switch-frame>
<down-mouse-1> <mouse-movement> <mouse-movement> <drag-mouse-1>
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-movement>
<mouse-movement> <drag-mouse-1> M-w <down-mouse-1>
<mouse-1> C-x k <switch-frame> <return> <down-mouse-1>
<mouse-1> C-x k <return> <help-echo> <down-mouse-1>
<mouse-1> M-x <up> <return>
Recent messages:
Mark saved where search started
Mark set
Mark saved where search started [2 times]
Auto-saving...done
Mark set
Auto-saving...done
Mark set
Undo! [3 times]
Auto-saving...done
Loading emacsbug...done
byte-code: Command attempted to use minibuffer while in minibuffer
- font-lock in shell.el,
Nick Roberts <=