all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Peter Milliken" <peter.milliken@gmail.com>
To: "neerajsh1978@gmail.com" <neerajsh1978@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs functions for inserting C/C++ syntactical comments
Date: Mon, 12 Jan 2009 05:46:07 +1100	[thread overview]
Message-ID: <791153ba0901111046u4a0ea3cy2709c9cd2d975cac@mail.gmail.com> (raw)
In-Reply-To: <39a126cb-d52b-4af5-8c71-dc4d762c768c@v5g2000prm.googlegroups.com>

[-- 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 --]

      reply	other threads:[~2009-01-11 18:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-10  0:19 Emacs functions for inserting C/C++ syntactical comments neerajsh1978
2009-01-11 18:46 ` Peter Milliken [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=791153ba0901111046u4a0ea3cy2709c9cd2d975cac@mail.gmail.com \
    --to=peter.milliken@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=neerajsh1978@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.