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

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

bug#18952: 24.4; delete weirdness in cua mode


From: Andy Grover
Subject: bug#18952: 24.4; delete weirdness in cua mode
Date: Wed, 05 Nov 2014 11:02:02 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 11/05/2014 08:03 AM, Eli Zaretskii wrote:
>> Date: Tue, 04 Nov 2014 23:11:41 -0800
>> From: Andy Grover <andy@groveronline.com>
>>
>>
>> to reproduce:
>> 1) hold down up or down-arrow while editing init.el then release
>> 2) hit backspace
>>
>> expected behavior: one character deleted
>>
>> existing behavior: seemingly-random huge amount of stuff in the buffer
>> deleted
> 
> Are you sure you didn't type S-<down> several times?  This:
> 
>> Recent input:
>> C-s <up> <prior> <prior> <prior> <prior> <prior> <prior>
>> <next> <next> <down> <down> <down> <down> <down> <down>
>> <down> <down> <S-down> <S-down> <S-down> <S-down> <S-down>
>> <S-down> <S-down> <S-down> <S-down> <S-down> <S-down>
>> <S-down> C-c <timeout> <up> <up> <up> <up> <up> <right>
>> <up> <up> <right> <right> <right> <right> <right> <right>
>> <right> <right> <right> <right> <right> <right> <right>
>> <backspace> C-z <backspace> C-z <up> <up> <up> <up>
> 
> says you did.
> 

Yes exactly, define a region with shift-down, then arrow down (region
disappears) then hitting backspace deletes to start of region, instead
of a single character.

Setting transient-mark-mode makes the problem go away. But isn't
cua-mode supposed to work without transient-mark-mode?

-- Andy






reply via email to

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