auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Re: Defining LaTeX-math-list


From: Ralf Angeli
Subject: Re: [AUCTeX] Re: Defining LaTeX-math-list
Date: Tue, 05 Sep 2006 20:02:43 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Andreas Matthias (2006-09-05) writes:

> David Kastrup wrote:
>
>> Andreas Matthias <address@hidden> writes:
>> 
>>> I am using \varphi more frequently than \phi, so I tried
>>> to redefine the key mapping of `f to \varphi:
>>> 
>>> (setq LaTeX-math-list 
>>>       '(?f . "varphi"))
>>> 
>>> But that didn't work. How do I set LaTeX-math-list correctly?
>> 
>> That's not a list, but a single cons.
>> 
>> Try
>> (setq LaTeX-math-list
>>       '((?f . "varphi")))
>
> Evaluating that /after/ entering a TeX-mode buffer seems to have
> no effect at all.
>
> Evaluating it /before/ entering a TeX-mode buffer produces the
> following error message:
>
>    File mode specification error: (wrong-type-argument listp "varphi")

The variable value has to be a list of lists, not a list of cons
cells:

(setq LaTeX-math-list
      '((?f "varphi")))

-- 
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]