auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: help write a function?


From: Leon
Subject: [AUCTeX] Re: help write a function?
Date: Sun, 23 Jul 2006 17:49:19 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * Leon (2006-07-22) writes:
>
>> I'd like to write a function say `LaTeX-help-at-point' that would use
>> latex-doc-command, latex-doc-environment and latex-doc-package to
>> generate help based on the context. i.e:
>>
>> if it's \usepackage{XXX} call latex-doc-package; if \XXX, call
>> latex-doc-command; if \begin{XXX}, call latex-doc-environment.
>
> Like `C-c ?' (aka `TeX-doc') in AUCTeX?

Very slow. It opens external help files. And ... 

>
>> I don't know much of lisp and I'd appreciate if anyone can help write
>> one. Thank you.
>>
>> latex-doc-* functions are from latex-doc package.
>>
>> I have attached the latex-doc.el.
>
> In which way is this better than `TeX-doc'?  I'd rather like to
> improve this than some external package.

Not very convenient when you just want to look at the syntax of the
command. Latex-doc opens a buffer in emacs for a short description of
the command.

-- 
Leon





reply via email to

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