From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: thomasf@jossystem.se (Thomas =?UTF-8?Q?Fr=C3=B6ssman?=) Newsgroups: gmane.emacs.bugs Subject: bug#23245: Status: 25.0.92; cua-mode inhibits deactivate-region-hook Date: Sun, 10 Apr 2016 20:08:31 +0200 Message-ID: <87y48l8hgg.fsf@jossystem.se> References: <87egagt57g.fsf@jossystem.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1460311758 14981 80.91.229.3 (10 Apr 2016 18:09:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2016 18:09:18 +0000 (UTC) To: bug#23245 <23245@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 10 20:09:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1apJnP-0000lg-NU for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Apr 2016 20:09:15 +0200 Original-Received: from localhost ([::1]:36174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apJnL-0008R0-PX for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Apr 2016 14:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apJnH-0008OS-Qz for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 14:09:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apJnC-00015R-Rj for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 14:09:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apJnC-00015N-Mm for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 14:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1apJnC-000879-DJ for bug-gnu-emacs@gnu.org; Sun, 10 Apr 2016 14:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: thomasf@jossystem.se (Thomas =?UTF-8?Q?Fr=C3=B6ssman?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Apr 2016 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23245 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 23245-submit@debbugs.gnu.org id=B23245.146031172131151 (code B ref 23245); Sun, 10 Apr 2016 18:09:02 +0000 Original-Received: (at 23245) by debbugs.gnu.org; 10 Apr 2016 18:08:41 +0000 Original-Received: from localhost ([127.0.0.1]:57481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apJmr-00086N-JY for submit@debbugs.gnu.org; Sun, 10 Apr 2016 14:08:41 -0400 Original-Received: from mail-lf0-f48.google.com ([209.85.215.48]:35307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apJmp-000868-Hk for 23245@debbugs.gnu.org; Sun, 10 Apr 2016 14:08:40 -0400 Original-Received: by mail-lf0-f48.google.com with SMTP id c126so130460656lfb.2 for <23245@debbugs.gnu.org>; Sun, 10 Apr 2016 11:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jossystem-se.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=II3W+1sCH0IC8rgPj8RKim1UsfzPSmDYicL9POmPNa8=; b=WExcn+EObZ39KxZ0T+AgKL7GaoZu0cAa1ypzGXjHcMjxPAkA4LHEuNyGhj3ici0tf/ ZXboAAStc5d8MoNIS0gPeNZPd7lmaZRWu6jnuLwnBQTxAPH+qzVGhGSYEu8e2vF5+Llj AxxvXGA42clrXu+vwLCQvZ2ySNd/MkSom/grKvIOp1455zwvt2VPGxE57dcAnhqPs/8G G0DK3MFLpVIJv04R75tKYk9Q7cig3Htw5AvnuKtEpxd2vWsfdRkTsan4h+gItLFOiPKi SXe2aMxERIpNYsbM9pqAV5iwDLNG7J2ZNZ67dCXXiEPPyiQneslTJdrFCiysT7dylHwa DAJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=II3W+1sCH0IC8rgPj8RKim1UsfzPSmDYicL9POmPNa8=; b=TN6ExRbxDZ8+BWpJQO7qtDzezgeWzrFgJZ/KC3Kz5xm0o/uwMA+KZU9YatgDgAJFpl h7J1pes+7d6GAuuhOjvh4F5oOo1pbCEmKSAv4c+lU1VIs9VWkld74CxgW3K8Z2GqtEzE /KR43u9D4+cyu/w2jwiQRwqCNq/QHJ8biCSz02tJboV6B/2u1VFJgNI4QWBQmEOSBOs6 a5inFLFs7hvFyob8YRc2pN2jtZoepXSMBYJRYgovHt77uI/F2d0rdaF8G8mpSksVRc8K 1tHqVnLwIIzRE99Wsuck+gcvJKR0VpcK6XoZorJ6PIi7MRoXX4VRqU85lTElx6g1VFt8 OqhA== X-Gm-Message-State: AD7BkJKUpm0j2H78wWMOQbqmRr11/PXPLuZhZzoyRI7tcsVE88uaah2yoBjLCPETm/Yqjw== X-Received: by 10.25.90.73 with SMTP id o70mr7092386lfb.80.1460311713657; Sun, 10 Apr 2016 11:08:33 -0700 (PDT) Original-Received: from transwhale (c-d23de155.131-1-64736c11.cust.bredbandsbolaget.se. [85.225.61.210]) by smtp.gmail.com with ESMTPSA id dw3sm1830386lbc.2.2016.04.10.11.08.32 for <23245@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Apr 2016 11:08:32 -0700 (PDT) In-Reply-To: bug's message of "Sun\, 10 Apr 2016 18\:02\:19 +0000" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116337 Archived-At: 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 becau= se the deactivate-mark-hook isn't >> fired when the region is removed, repeated pressing of C-g doesn't fire = it either. >>=20 >> It's also a consistent behavior, when cua-mode is active the deactivate-= mark hook is not fired >>=20 >> (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. >>=20 >> Please tell me if I'm wrong or if there is some additional digging I sho= uld do to further diagnose this issue..=20 > >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. --=20 Thomas Fr=C3=B6ssman http://t.jossystem.se