GNU bug report logs -
#1168
23.0.60; facemenu-add-face-function and TeX-mode
Previous Next
Reported by: martin rudalics <rudalics <at> gmx.at>
Date: Tue, 14 Oct 2008 18:50:03 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 31 Oct 2009 17:55:34 -0400
with message-id <87aaz75iuh.fsf <at> stupidchicken.com>
and subject line Re: 23.0.60; facemenu-add-face-function and TeX-mode
has caused the Emacs bug report #1168,
regarding 23.0.60; facemenu-add-face-function and TeX-mode
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)
--
1168: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1168
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
The following problem was initially described by Kostas Oikonomou on
help-gnu-emacs. To reproduce open an arbitrary buffer in TeX mode and
turn off font-lock-mode. Now select
Edit->Text Properties->Background Color->Other
and at the prompt type
yellow RET
Emacs responds with
(error "Face ((:background yellow)) not configured for LaTeX mode")
IIUC `facemenu-add-face-function' in TeX-mode was configured for
transforming text like
I want this bold.
into
{\bf I want this bold.}
via marking and selecting the appropriate entry from the menu. But by
default font-lock is active so this menu entry is dimmed and _not_
availabe. When font-lock is deactivated this menu entry is available
but so are the Foreground and Background Color entries which are not
configured for TeX-mode and give raise to the error message above.
martin
[Message part 3 (message/rfc822, inline)]
> The following problem was initially described by Kostas Oikonomou on
> help-gnu-emacs. To reproduce open an arbitrary buffer in TeX mode and
> turn off font-lock-mode. Now select
>
> Edit->Text Properties->Background Color->Other
>
> and at the prompt type
>
> yellow RET
>
> Emacs responds with
>
> (error "Face ((:background yellow)) not configured for LaTeX mode")
Sorry for the long delay. I've just checked a fix into CVS trunk which
should ensure that (i) the Text Properties menus are enabled in TeX (and
SGML) modes, and (ii) make the foreground and background menu entries do
the right thing (it uses the LaTex commands from the "color" LaTex
package, which is assumed to be included).
This bug report was last modified 15 years and 244 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.