emacs-devel
[Top][All Lists]
Advanced

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

Re: Space after inline comment char


From: Ralf Angeli
Subject: Re: Space after inline comment char
Date: Sun, 16 Apr 2006 19:08:21 +0200

* Stefan Monnier (2006-04-16) writes:

>>> That's easy: change comment-start from ";" to "; ".
>
>> Then commenting at the beginning of a line will not work correctly
>> anymore.
>
> What makes you think so?
>
> AFAIK, the only side-effect it'll have is that there won't be a difference
> between a comment-padding set to 1 or to 0.

Try
emacs -Q -eval '(progn (setq comment-start "; ") (insert "foo\n") 
(comment-region (point-max) (point-min)))'

That will result in
; foo
whereas it should be
;; foo

-- 
Ralf





reply via email to

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