[CMake] Emacs: Addition to cmake-model.el to show cmake documentation

Martin Apel martin.apel at simpack.de
Tue Apr 28 10:21:55 EDT 2009


Bill Hoffman wrote:
> Martin Apel wrote:
>   
>> Hi all,
>>
>> Inspired by the Emacs command cperl-perldoc-at-point I wrote a little
>> command to show the CMake documentation of the command on which the
>> cursor is currently positioned. It will open another buffer and show the
>> documentation generated from "cmake --help-command <command>" in that
>> buffer. I found it very useful during creating CMakeLists.txt files.
>>
>> Bill, maybe it makes sense to integrate this into cmake-mode.el?
>>
>>     
>
> Looks neat.  Is there a better way in emacs to set the path to CMake?
> On many systems I do not put cmake into the PATH.
>
> -Bill
>
>   
You could probably make it a variable, which would be settable through
the customize interface of Emacs. I will look into it
and repost it, when it's done.

Martin

____________
Virus checked by G DATA AntiVirus
Version: AVF 19.356 from 27.04.2009




More information about the CMake mailing list