auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: Defining LaTeX-math-list


From: Andreas Matthias
Subject: [AUCTeX] Re: Defining LaTeX-math-list
Date: Tue, 05 Sep 2006 08:04:55 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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

I have attached the debug-on-error message.

Ciao
Andreas


Attachment: debug-message
Description: Binary data


reply via email to

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