help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing huge hidden selection when pasting text


From: Robert Thorpe
Subject: Re: Replacing huge hidden selection when pasting text
Date: Sun, 27 Dec 2015 22:15:35 +0000

Alexandre Oberlin <alxobr@gmail.com> writes:

> I have stopped hoping that the current maintainers of Emacs still have
> an ounce of common sense. How on Earth can it be possible (and quite
> easy) to allow replacing a huge hidden selection when pasting text
> without any warning ? I have lost large amounts of data with this
> incredibly stupid behavior. There isn't even a warning when saving a
> file which has shrunk a lot, like there once was. How can I DEFINITELY
> avoid overwriting an invisible selection in all versions of Emacs?

If "delete-selection-mode" is enabled then typed text will replace the
selection.  It only works with transient mark mode on.  That could be
the problem, though in that case the selection should be visible.

If not, I suggest checking your init file.  A piece of code could rely
on the specific behaviour of an earlier version of Emacs.  Emacs -Q is
the test.

BR,
Robert Thorpe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]