all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: lgfang <fanglungang@163.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: comment-kill can't deal with following situation
Date: Sun, 02 Mar 2008 00:14:14 -0500	[thread overview]
Message-ID: <jwvfxv91zkq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <86tzjsqb47.fsf@163.com> (lgfang's message of "Fri, 29 Feb 2008 19:02:16 +0800")

> comment-kill is defined in newcomment.el.  It is supposed to kill
> comments (refer to its document).  But it can't deal with the cases in
> which there are more than one comment in a line.  An example is:

If you do not provide a prefix arg, comment-kill should only kill
1 comment.  Indeed when providing a prefix arg, the behavior is probably
not right.  Actually, when I wrote it I just tried to reproduce the
previous behavior.  But in the presence of multi-line comments, the
behavior doesn't match the docstring either.

I don't know of anybody who uses the prefix arg of comment-kill, so if
you could explain how you use it, it might help decide what the behavior
should be.


        Stefan




  reply	other threads:[~2008-03-02  5:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <198A33EB1E9E344EBC566802C7761D6B4ACE3C@CNSHGSMBS04.ad4.ad.alcatel.com>
2008-02-29 11:02 ` comment-kill can't deal with following situation lgfang
2008-03-02  5:14   ` Stefan Monnier [this message]
2008-03-02 13:49     ` lgfang
2008-03-02 16:12       ` Andreas Röhler
2008-03-02 21:42       ` Stefan Monnier
2008-03-03 12:04         ` lgfang
2008-03-03 14:10           ` Stefan Monnier

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=jwvfxv91zkq.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=fanglungang@163.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.