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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1168 in the body.
You can then email your comments to 1168 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1168; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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






Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Sat, 31 Oct 2009 22:05:07 GMT) Full text and rfc822 format available.

Notification sent to martin rudalics <rudalics <at> gmx.at>:
bug acknowledged by developer. (Sat, 31 Oct 2009 22:05:08 GMT) Full text and rfc822 format available.

Message #10 received at 1168-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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).



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 29 Nov 2009 15:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.