GNU bug report logs - #18952
24.4; delete weirdness in cua mode

Previous Next

Package: emacs;

Reported by: Andy Grover <andy <at> groveronline.com>

Date: Wed, 5 Nov 2014 07:13:02 UTC

Severity: normal

Found in version 24.4

Fixed in version 24.5

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Grover <andy <at> groveronline.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 18952 <at> debbugs.gnu.org
Subject: bug#18952: 24.4; delete weirdness in cua mode
Date: Wed, 05 Nov 2014 11:02:02 -0800
On 11/05/2014 08:03 AM, Eli Zaretskii wrote:
>> Date: Tue, 04 Nov 2014 23:11:41 -0800
>> From: Andy Grover <andy <at> 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





This bug report was last modified 10 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.