emacs-devel
[Top][All Lists]
Advanced

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

Re: tags for functions


From: Ted Zlatanov
Subject: Re: tags for functions
Date: Mon, 26 Jan 2009 13:50:12 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Sun, 25 Jan 2009 02:32:09 +0200 Juri Linkov <address@hidden> wrote: 

JL> finder.el extracts package keywords from the comments in the file
JL> header.  Doing the same for function keywords means placing them in
JL> the comments before the function definition.  Many modern
JL> programming languages use the @-syntax for documentation tags.
JL> [...]  add them in doc strings like:

JL> (defun my-move-defun ()
JL>   "Docstring.
JL> @tag1
JL> @tag2"
JL>   ...)

That's probably the least intrusive approach, I like it.  So finder.el
will be the central place for getting all keywords, which works fine for
me.  It's nice that it's already called everywhere needed, so I just
need to hook into that infrastructure.  Does anyone have a problem with it?

Thanks
Ted





reply via email to

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