GNU bug report logs - #1168
23.0.60; facemenu-add-face-function and TeX-mode

Previous Next

Package: emacs;

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

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: martin rudalics <rudalics <at> gmx.at>
Subject: bug#1168 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re:
 23.0.60; facemenu-add-face-function and TeX-mode)
Date: Sat, 31 Oct 2009 22:05:08 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1168: 23.0.60; facemenu-add-face-function and TeX-mode

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
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)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 1168-done <at> debbugs.gnu.org
Subject: Re: 23.0.60; facemenu-add-face-function and TeX-mode
Date: Sat, 31 Oct 2009 17:55:34 -0400
> 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).
[Message part 3 (message/rfc822, inline)]
From: martin rudalics <rudalics <at> gmx.at>
To: emacs-pretest-bug <emacs-pretest-bug <at> gnu.org>
Cc: Kostas Oikonomou <ko <at> research.att.com>
Subject: 23.0.60; facemenu-add-face-function and TeX-mode
Date: Tue, 14 Oct 2008 20:38:55 +0200
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





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.