From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sean Richards Newsgroups: gmane.emacs.help Subject: Re: Plain TeX mode Date: Wed, 03 Dec 2003 15:32:21 +1300 Organization: Xtra Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <878ylu1vii.fsf@hugin.valhalla.net> References: Reply-To: sean_news@myrealbox.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070419587 30324 80.91.224.253 (3 Dec 2003 02:46:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2003 02:46:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 03 03:46:24 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARN20-00015f-00 for ; Wed, 03 Dec 2003 03:46:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ARNxU-0005LW-4Y for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2003 22:45:48 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!news.xtra.co.nz!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:1yA5gBvdRmrvcZ3Kp8AUnx2zD+A= Original-Lines: 25 Original-NNTP-Posting-Host: 203.96.101.74 Original-X-Complaints-To: newsadmin@xtra.co.nz Original-X-Trace: news.xtra.co.nz 1070418629 203.96.101.74 (Wed, 03 Dec 2003 15:30:29 NZDT) Original-NNTP-Posting-Date: Wed, 03 Dec 2003 15:30:29 NZDT Original-Xref: shelby.stanford.edu gnu.emacs.help:118933 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14874 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14874 Emil Hedevang Lohse writes: > Hello, > > When I write Plain TeX in Emacs I use the Plain TeX mode, but it has a > bad habit of showing text that follows \sl and \bf in italic and bold > letters respectively. How do I turn it off? (I don't mind the > colouring of the text, though.) Here is a brutal solution ;) You will never see another bold font displayed in Emacs if you use it (which may not be what you want). I don't like to see bold fonts anywhere so I find it useful. Original author unknown usual conditions apply. (defun unbold-all-faces () "Clear the `bold' flag from all faces." (interactive) (dolist (f (face-list)) (if (face-bold-p f) (set-face-bold-p f nil)))) Sean -- "Hver sin smak", sa vintapperen, han drakk mens de andre sloss.