all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Kelly Dean <kellydeanch@yahoo.com>
Cc: 13169-done@debbugs.gnu.org
Subject: bug#13169: [PATCH] kill-region fails to deactivate mark after cutting empty region
Date: Fri, 21 Dec 2012 11:49:54 +0800	[thread overview]
Message-ID: <874njgcbdp.fsf@gnu.org> (raw)
In-Reply-To: <1355386756.25768.YahooMailClassic@web141106.mail.bf1.yahoo.com> (Kelly Dean's message of "Thu, 13 Dec 2012 00:19:16 -0800 (PST)")

Kelly Dean <kellydeanch@yahoo.com> writes:

> C-SPC C-w C-p
> kill-region cut an empty region, which is correct, but the mark is
> still active, which is incorrect. When the buffer and text aren't
> read-only, kill-region relies on the command loop to deactivate the
> mark after the buffer is modified, but when cutting an empty region,
> the buffer isn't modified, so the mark is never deactivated.
> The attached killregionbug.patch fixes it.

Committed to trunk, thanks.





      reply	other threads:[~2012-12-21  3:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13  8:19 bug#13169: [PATCH] kill-region fails to deactivate mark after cutting empty region Kelly Dean
2012-12-21  3:49 ` Chong Yidong [this message]

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=874njgcbdp.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=13169-done@debbugs.gnu.org \
    --cc=kellydeanch@yahoo.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.