unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1168: 23.0.60; facemenu-add-face-function and TeX-mode
@ 2008-10-14 18:38 ` martin rudalics
  2009-10-31 22:05   ` bug#1168: marked as done (23.0.60; facemenu-add-face-function and TeX-mode) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: martin rudalics @ 2008-10-14 18:38 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: Kostas Oikonomou

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








^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1168: marked as done (23.0.60; facemenu-add-face-function and TeX-mode)
  2008-10-14 18:38 ` bug#1168: 23.0.60; facemenu-add-face-function and TeX-mode martin rudalics
@ 2009-10-31 22:05   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-10-31 22:05 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

Your message dated Sat, 31 Oct 2009 17:55:34 -0400
with message-id <87aaz75iuh.fsf@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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1168: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1168
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2941 bytes --]

From: martin rudalics <rudalics@gmx.at>
To: emacs-pretest-bug <emacs-pretest-bug@gnu.org>
Cc: Kostas Oikonomou <ko@research.att.com>
Subject: 23.0.60; facemenu-add-face-function and TeX-mode
Date: Tue, 14 Oct 2008 20:38:55 +0200
Message-ID: <48F4E73F.8000206@gmx.at>

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





[-- Attachment #3: Type: message/rfc822, Size: 2206 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 1168-done@emacsbugs.donarmstrong.com
Cc: Kostas Oikonomou <ko@research.att.com>
Subject: Re: 23.0.60; facemenu-add-face-function and TeX-mode
Date: Sat, 31 Oct 2009 17:55:34 -0400
Message-ID: <87aaz75iuh.fsf@stupidchicken.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-31 22:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87aaz75iuh.fsf@stupidchicken.com>
2008-10-14 18:38 ` bug#1168: 23.0.60; facemenu-add-face-function and TeX-mode martin rudalics
2009-10-31 22:05   ` bug#1168: marked as done (23.0.60; facemenu-add-face-function and TeX-mode) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).