[Top][All Lists]

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

Re: Two questions....

From: Stefan Monnier
Subject: Re: Two questions....
Date: 04 Jun 2003 11:38:31 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> You  may  need  to  use   a  different  table  for  comment-start  and
> comment-end.  For  example, in emacs-lisp-mode,  comment-start is ";",
> but generally  you want at least  two semi-colon to  avoid sending the
> comment on the  right, particularly for such "header"  comment. In the
> case of c++-mode, you get "// " but you may prefer "/* "...

And maybe you want/need extra spacing as well.
This is all taken care of if you use

   (comment-padright comment-start comment-add)


   (commend-padleft comment-end comment-add)

-- Stefan

reply via email to

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