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: Michael Heerdegen
Subject: Re: Replacing huge hidden selection when pasting text
Date: Thu, 14 Jan 2016 17:36:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

"Alexandre Oberlin" <address@hidden> writes:

> To get an invisible region while transient-mark-mode is OFF (that is
> "(transient-mark-mode -1)" in .emacs):
> 1. Open a file
> 2. Type CTRL+SPACE ONCE
> 3. Move the cursor with an arrow key
> 4. Type CTRL+W
> The invisible region gets killed, whatever the value of
> delete-selection-mode.
>
> To get an invisible region while transient-mark-mode is ON (that is
> "(transient-mark-mode +1)" in .emacs):
> 1. Open a file
> 2. Type CTRL+SPACE TWICE
> 3. Move the cursor with an arrow key
> 4. Type CTRL+W
> The invisible region gets killed, whatever the value of
> delete-selection-mode.

That's normal, I think: C-w always kills, no matter whether the region
is active or not.


> As already repeated, the behavior with pasting is NOT
> consistent. There seems to be one state where it overwrites, and
> another state where it doesn’t, while in both states
> transient-mark-mode is OFF and delete-selection-mode is ON. I am not
> aware of any way to reliably change from one state to the other.

That's bad, still, a bug report would be good to have.


Michael.




reply via email to

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