[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: Items in itemize-like environments
From: |
Nikos Apostolakis |
Subject: |
[AUCTeX] Re: Items in itemize-like environments |
Date: |
Thu, 13 Apr 2006 20:56:27 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Ralf Angeli <address@hidden> writes:
> * Nikos Apostolakis (2006-04-13) writes:
>
>> Ralf Angeli <address@hidden> writes:
>>
>>> * Nikos Apostolakis (2006-04-13) writes:
>>>
>>>> Thanks for your reply. I followed all your suggestions but
>>>> unfortunately it didn't work.
>>>
>>> What does that mean exactly?
>>
>> I evaluated the following:
>>
>> (add-to-list 'LaTeX-item-list
>> '("questions" . (lambda () (insert "\\question"))))
>> (add-to-list 'LaTeX-item-list
>> '("parts" . (lambda () (insert "\\part"))))
>
> `LaTeX-item-list' is buffer-local. So you'd have to do this in a
> function to be added to `LaTeX-mode-hook'. Or you try it with a style
> file ...
>
Ah! I see. Ok, now it works, no need to change the variable
"LaTeX-item-regexp". Thanks.
BTW, how could I tell that `LaTeX-item-list' is buffer-local? I mean
did I miss something obvious?
Thanks,
Nikos
[AUCTeX] Re: Items in itemize-like environments, Nikos Apostolakis, 2006/04/19
- [AUCTeX] Re: Items in itemize-like environments, Ralf Angeli, 2006/04/19
- [AUCTeX] Re: Items in itemize-like environments, Nikos Apostolakis, 2006/04/21
- Re: [AUCTeX] Re: Items in itemize-like environments, Ralf Angeli, 2006/04/23
- [AUCTeX] Re: Items in itemize-like environments, Nikos Apostolakis, 2006/04/28
- Re: [AUCTeX] Re: Items in itemize-like environments, David Kastrup, 2006/04/28
- [AUCTeX] Re: Items in itemize-like environments, Nikos Apostolakis, 2006/04/28
- Re: [AUCTeX] Re: Items in itemize-like environments, David Kastrup, 2006/04/28