From: Ian Zimmerman <bayard@newsguy.com>
Subject: Re: comment-kill and the state of the world
Date: 17 Oct 2003 09:37:28 -0700 [thread overview]
Message-ID: <87r81byg53.fsf@newsguy.com> (raw)
In-Reply-To: jwvwub5t2zt.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca
Ian> Why in the world does comment-kill reindent the affected line?
Stefan> No idea. You're the first person I know who uses this command.
Ah, but you get the same thing with comment-dwim with an argument on a
line with an existing comment. Is that any better?
Ian> Look at newcomment.el, one gets the general feeling of unfinished
Ian> business :-)
Stefan> Thanks for the support. But please make it more specific, so I
Stefan> get a chance of fixing or at least defending my code.
It comes down to comment-dwim. It really tries to do too much. The
different situations should be separated, and then common patterns will
emerge to make into subroutines.
Right now, comment-dwim calls comment-indent if not a blank line, but
inserts a comment itself on a blank one. The two braches are quite
different, use different customization variables, etc.
And, let me repeat myself, the reindent in comment-kill is a bug.
--
Wer Schoenheit angeschaut mit Augen, hat dem Tode schon Anheim gegeben.
Von Platen.
next prev parent reply other threads:[~2003-10-17 16:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-16 17:54 comment-kill and the state of the world Ian Zimmerman
2003-10-16 19:11 ` Stefan Monnier
2003-10-17 16:37 ` Ian Zimmerman [this message]
2003-10-17 20:01 ` Stefan Monnier
2003-10-18 17:42 ` Ian Zimmerman
2003-10-19 23:14 ` Stefan Monnier
2003-10-23 22:01 ` Ian Zimmerman
2003-10-24 15:41 ` Stefan Monnier
2003-10-24 17:17 ` Ian Zimmerman
2003-10-24 19:48 ` Stefan Monnier
2003-10-30 23:59 ` Ian Zimmerman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r81byg53.fsf@newsguy.com \
--to=bayard@newsguy.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.