From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Space after inline comment char
Date: Mon, 17 Apr 2006 07:55:13 -0400 [thread overview]
Message-ID: <87irp8pgkm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <e1vn15$uvb$1@sea.gmane.org> (Ralf Angeli's message of "Mon, 17 Apr 2006 11:28:23 +0200")
>>> That will result in
>>> ; foo
>>> whereas it should be
>>> ;; foo
>>
>> Good point. I believe the patch below has fixed it,
> It did. I still think it would be nice if one could control spaces
> after comment starterts with `comment-padding' _everywhere_,
> i.e. after comment starters inserted by `comment-indent' as well.
> That would feel more consistent. But then, the doc string of
> `comment-padding' only talks about `comment-region'.
When I re-implemented the comment commands in newcomment.el, I just
preserved this part of the behavior (that comment-padding only applies to
comment-region but not to comment-indent).
I don't know what was the original motivation for it (if any), but without
introducting a separate comment-indent-padding, changing the behavior would
have meant that I'd have removed some functionality (the ability to
(indirectly) specify different amounts of padding), so I decided to keep it
as is.
Stefan
next prev parent reply other threads:[~2006-04-17 11:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-14 22:53 Space after inline comment char Bill Wohler
2006-04-15 3:11 ` Stefan Monnier
2006-04-15 7:12 ` Ralf Angeli
2006-04-16 12:10 ` Stefan Monnier
2006-04-16 17:08 ` Ralf Angeli
2006-04-17 3:51 ` Stefan Monnier
2006-04-17 9:28 ` Ralf Angeli
2006-04-17 11:55 ` Stefan Monnier [this message]
2006-04-18 17:09 ` Bill Wohler
2006-04-16 2:09 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87irp8pgkm.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).