From: Drew Adams <drew.adams@oracle.com>
To: 21523@debbugs.gnu.org
Subject: bug#21523: 25.0.50; Undo with active region adds extra text
Date: Sun, 20 Sep 2015 00:34:06 -0700 (PDT) [thread overview]
Message-ID: <48592862-1630-4c61-aeed-1e3b720824de@default> (raw)
The Subject line is not very clear. Here is a recipe. You decide
whether the behavior is correct or a bug. FWIW, this behavior is at
least as old as Emacs 20 (with transient-mark-mode on).
emacs -Q
In buffer *scratch*, put point before "that" on the last line.
`M-c', to capitalize "That".
`C-SPC C-e', to select the text after "That", up to eol.
(The region does not contain the word "That".)
`C-_' to undo the last change within the region.
The word "that" is inserted, giving this:
;; then enter the text in Thatthat file=A1=AFs own buffer.
This seems disconcerting, at least. (Same behavior for `M-u' etc.)
(I can see the explanation of why this happens coming as a reply. As I
say, you can decide whether this behavior is OK as is.)
In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
of 2015-09-05
Bzr revision: 2330ca33a97867f2ea1123bcf7bfe5cfcc030b36
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --host=3Di686-pc-mingw32 --enable-checking=3Dyes,glyphs'
next reply other threads:[~2015-09-20 7:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-20 7:34 Drew Adams [this message]
2015-09-20 15:14 ` bug#21523: 25.0.50; Undo with active region adds extra text Stefan Monnier
2015-09-20 18:26 ` Richard Stallman
2015-09-20 19:43 ` Stefan Monnier
2021-08-16 12:39 ` Lars Ingebrigtsen
2021-08-16 13:13 ` Eli Zaretskii
2021-08-16 13:53 ` Lars Ingebrigtsen
2021-08-16 16:30 ` Eli Zaretskii
2021-08-18 13:31 ` Lars Ingebrigtsen
2022-05-05 14:37 ` Lars Ingebrigtsen
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=48592862-1630-4c61-aeed-1e3b720824de@default \
--to=drew.adams@oracle.com \
--cc=21523@debbugs.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).