* Emacs functions for inserting C/C++ syntactical comments
@ 2009-01-10 0:19 neerajsh1978
2009-01-11 18:46 ` Peter Milliken
0 siblings, 1 reply; 2+ messages in thread
From: neerajsh1978 @ 2009-01-10 0:19 UTC (permalink / raw)
To: help-gnu-emacs
Is there any packsge/functions available that we can use for inserting
comments on syntactical elements
like
File Header Comments, function, class comments etc...
which can auto fill some of the stuff like class name function name
etc.
In vim c.vim has similar functionality but I am not able to find
similar functionality in cc-mode for emacs.
Thanks
Neeraj
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Emacs functions for inserting C/C++ syntactical comments
2009-01-10 0:19 Emacs functions for inserting C/C++ syntactical comments neerajsh1978
@ 2009-01-11 18:46 ` Peter Milliken
0 siblings, 0 replies; 2+ messages in thread
From: Peter Milliken @ 2009-01-11 18:46 UTC (permalink / raw)
To: neerajsh1978@gmail.com; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 827 bytes --]
Have a look at ELSE mode - one of the options for template expansion is to
run Emacs lisp functions either before or after the expansion. So there is
some work involved on your side in getting the appropriate defuns coded and
working i.e. it is not "out of the box", but it is certainly doable using
ELSE.
http://home.exetel.com.au/peterm/
Peter
On Sat, Jan 10, 2009 at 11:19 AM, neerajsh1978@gmail.com <
neerajsh1978@gmail.com> wrote:
> Is there any packsge/functions available that we can use for inserting
> comments on syntactical elements
> like
> File Header Comments, function, class comments etc...
> which can auto fill some of the stuff like class name function name
> etc.
>
> In vim c.vim has similar functionality but I am not able to find
> similar functionality in cc-mode for emacs.
>
> Thanks
> Neeraj
>
[-- Attachment #2: Type: text/html, Size: 1235 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-11 18:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-10 0:19 Emacs functions for inserting C/C++ syntactical comments neerajsh1978
2009-01-11 18:46 ` Peter Milliken
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).