From unknown Thu Aug 14 17:28:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1168 <1168@debbugs.gnu.org> To: bug#1168 <1168@debbugs.gnu.org> Subject: Status: 23.0.60; facemenu-add-face-function and TeX-mode Reply-To: bug#1168 <1168@debbugs.gnu.org> Date: Fri, 15 Aug 2025 00:28:46 +0000 retitle 1168 23.0.60; facemenu-add-face-function and TeX-mode reassign 1168 emacs submitter 1168 martin rudalics severity 1168 normal thanks From rudalics@gmx.at Tue Oct 14 11:40:46 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.3 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 14 Oct 2008 18:40:46 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EIeeNs014565 for ; Tue, 14 Oct 2008 11:40:41 -0700 Received: from mail.gnu.org ([199.232.76.166]:40677 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KpomX-0006QG-23 for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 14:38:09 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Kpoox-0003nq-6Y for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 14:40:39 -0400 Received: from mail.gmx.net ([213.165.64.20]:55911) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kpoow-0003nI-Hh for emacs-pretest-bug@gnu.org; Tue, 14 Oct 2008 14:40:39 -0400 Received: (qmail invoked by alias); 14 Oct 2008 18:40:34 -0000 Received: from 88-117-46-3.adsl.highway.telekom.at (EHLO [88.117.46.3]) [88.117.46.3] by mail.gmx.net (mp017) with SMTP; 14 Oct 2008 20:40:34 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19gqGACaeVgMPDOdBAg6wxvfFSrN0OOKZJVbyugAC WOiq4l+2XjN1ss Message-ID: <48F4E73F.8000206@gmx.at> Date: Tue, 14 Oct 2008 20:38:55 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: emacs-pretest-bug CC: Kostas Oikonomou Subject: 23.0.60; facemenu-add-face-function and TeX-mode Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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 From cyd@stupidchicken.com Sat Oct 31 14:55:41 2009 Received: (at 1168-done) by emacsbugs.donarmstrong.com; 31 Oct 2009 21:55:41 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.3 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po44.its.yale.edu (pantheon-po44.its.yale.edu [130.132.50.78]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9VLtdIF006513 for <1168-done@emacsbugs.donarmstrong.com>; Sat, 31 Oct 2009 14:55:40 -0700 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po44.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9VLtXNe010939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 31 Oct 2009 17:55:34 -0400 Received: by furry (Postfix, from userid 1000) id 10F00C070; Sat, 31 Oct 2009 17:55:34 -0400 (EDT) From: Chong Yidong To: martin rudalics Cc: 1168-done@debbugs.gnu.org Cc: Kostas Oikonomou 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > 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). From unknown Thu Aug 14 17:28:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 29 Nov 2009 15:24:13 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator