help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: inserting comment headings


From: Tim X
Subject: Re: inserting comment headings
Date: Tue, 20 Jan 2004 09:00:59 +1100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

>>>>> "Patrick" == Patrick Drechsler <patrick.drechsler@gmx.net> writes:

 Patrick> Tim X. wrote on 19 Jan 2004 09:35:45 MET:

 >>>>>>> "leo" == leo <halloleo@noospaam.myrealbox.com> writes:
 >>

 Patrick> [...M-;, M-j...]

 Patrick> Thanks for the answers, I already use these commands
 Patrick> frequently. But this is not quit what I was looking for.

 Patrick> I wanted to include the `-----------------' stuff after the
 Patrick> comment automatically:

 Patrick> ;;* comment -----------------------------------------------
 Patrick> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 Patrick> Any ideas?

 Patrick> Patrick -- "What happens if a big asteroid hits Earth ?
 Patrick> Judging from realistic simulations involving a sledge hammer
 Patrick> and a common laboratory frog, we can assume it will be
 Patrick> pretty bad."  -- Dave Barry

In that case, I'd check out tempo.el and skel.el - you can define a
template/skeleton for your comment with optional dynamic parts which
are prompted for a the time you use it.

Tim


-- 
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you 
really need to send mail, you should be able to work it out!


reply via email to

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