GNU bug report logs - #23245
25.0.92; cua-mode inhibits deactivate-region-hook

Previous Next

Package: emacs;

Reported by: Thomas Frössman <thomasf <at> jossystem.se>

Date: Fri, 8 Apr 2016 16:55:01 UTC

Severity: normal

Tags: moreinfo

Found in version 25.0.92

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: thomasf <at> jossystem.se (Thomas Frössman)
To: bug#23245 <23245 <at> debbugs.gnu.org>
Subject: bug#23245: Status: 25.0.92; cua-mode inhibits deactivate-region-hook
Date: Sun, 10 Apr 2016 20:08:31 +0200

quoted from my e-mail in emacs-devel which I was told not to post to:

>> ...
>> Anyway, I think that it's an actual bug with cua-mode or something because the deactivate-mark-hook isn't
>> fired when the region is removed, repeated pressing of C-g doesn't fire it either.
>> 
>> It's also a consistent behavior, when cua-mode is active the deactivate-mark hook is not fired
>> 
>> (by using git blame) I noticed that there was a change in September last year or something which modifies
>> some bits about how cua-mode handles the mark.
>> 
>> Please tell me if I'm wrong or if there is some additional digging I should do to further diagnose this issue.. 
>
>Could you perhaps include in your bug report the details about how it
>worked in previous versions of Emacs?  If it worked correctly in some
>older version, could you please tell in which one, and what was the
>behavior?
>
>Thanks.

I switched from running emacs compiled from the emacs-24 branch to the
emacs-25 branch a few days ago.

I just ran my previously mentioned test.el init file in the emacs-24
compile now and hitting C-g twice after selecting some text deactives
the mark and runs the deactivate-mark-hook (DM is printed in the
messages buffer) which does not happen with my emacs-25 binary.


-- 
Thomas Frössman
http://t.jossystem.se




This bug report was last modified 4 years and 235 days ago.

Previous Next


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