Reiner Steib <[EMAIL PROTECTED]> writes:

> On Fri, Sep 08 2006, David Kastrup wrote:
>
>> Reiner Steib <[EMAIL PROTECTED]> writes:
>>
>>> On Mon, Sep 04 2006, David Kastrup wrote:
>>>
>>> IIRC, I once tried to add this, but I couldn't figure out quickly how
>>> to represent `v f' in `LaTeX-math-default'.  According to the custom
>>> type of the "Key" in `LaTeX-math-list', key sequences are not allowed.
>>
>> Does the following change work for you?
>
>> -        (setq key (if (numberp key) (char-to-string key) (vector key)))
>> +        (setq key (cond ((numberp key) (char-to-string key))
>> +                        ((stringp key) (kbd key))
>> +                        (t (vector key))))
>
> No, compiling `latex.el' fails while evaluating this form...
>
> (let ((math (reverse (append LaTeX-math-list LaTeX-math-default)))
>       (map LaTeX-math-keymap)
>       (unicode (and LaTeX-math-menu-unicode (fboundp 'decode-char))))
>
> with...
>
> Then, edebugging `kbd' (a macro) shows that the argument received by
> `kbd' is the *symbol* `key'.

Uh, yes.

> When using `read-kbd-macro' instead of `kbd' it compiles, and is
> seems to work.  So I committed it and added keys for \var*.

Thanks.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to