unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21523: 25.0.50; Undo with active region adds extra text
@ 2015-09-20  7:34 Drew Adams
  2015-09-20 15:14 ` Stefan Monnier
  2021-08-16 12:39 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 10+ messages in thread
From: Drew Adams @ 2015-09-20  7:34 UTC (permalink / raw)
  To: 21523

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'





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-05-05 14:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-20  7:34 bug#21523: 25.0.50; Undo with active region adds extra text Drew Adams
2015-09-20 15:14 ` 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

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).