From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Piet van Oostrum Newsgroups: gmane.emacs.help Subject: Re: Add items to TeX-font-list Date: 07 Feb 2003 22:29:59 +0100 Organization: Dept of Computer Science, Utrecht University, The Netherlands Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84adh8huu5.fsf@lucy.is.informatik.uni-duisburg.de> <848ywrsvad.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1044653625 14211 80.91.224.249 (7 Feb 2003 21:33:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2003 21:33:45 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hG7z-0003gl-00 for ; Fri, 07 Feb 2003 22:33:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hG9n-0002ki-01 for gnu-help-gnu-emacs@m.gmane.org; Fri, 07 Feb 2003 16:35:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!cs.uu.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: sunshine.cs.uu.nl Original-X-Trace: samos.cs.uu.nl 1044653367 15194 131.211.80.33 (7 Feb 2003 21:29:27 GMT) Original-X-Complaints-To: news@cs.uu.nl Original-NNTP-Posting-Date: 7 Feb 2003 21:29:27 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:109935 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6440 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6440 >>>>> kai.grossjohann@uni-duisburg.de (Kai Großjohann) (KG) wrote: KG> Piet van Oostrum writes: >> ^^^^ use LaTeX-font-list. >> It works for me. KG> Yes, indeed. Argh. Stupid me. No, stupid me. It appears I was wrong. The variable LaTeX-font-list is copied to TeX-font-list at an early stage (just when latex-mode is entered). So changes that are made later don't work. And TeX-font-list is a buffer-local variable already, so you were correct in changing that one. Your original code DOES work for me. Only I have (function(lambda ... rather than only (lambda ... but I don't think it matters. And it does work with multi-file documents. Be sure you start with a fresh emacs or reload the .el file after you make these changes and issue C-u C-c C-n in the proper buffers. -- Piet van Oostrum URL: http://www.cs.uu.nl/~piet [PGP] Private email: P.van.Oostrum@hccnet.nl