From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Phil Ruffwind Newsgroups: gmane.emacs.bugs Subject: bug#24563: kill-region fails while dragging a selection Date: Wed, 28 Sep 2016 14:30:44 -0400 Message-ID: <1475087444.2530471.739981057.71960B2F@webmail.messagingengine.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1475105590 14943 195.159.176.226 (28 Sep 2016 23:33:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2016 23:33:10 +0000 (UTC) To: 24563@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 29 01:33:06 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpOLP-0002OK-O2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Sep 2016 01:32:55 +0200 Original-Received: from localhost ([::1]:33782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpOLO-0001F6-5W for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Sep 2016 19:32:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpOKe-0000BP-Cz for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 19:32:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpOKa-0006XY-8n for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 19:32:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpOKX-0006Ws-Uq for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 19:32:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bpOKX-00060L-QR for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 19:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Ruffwind Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Sep 2016 23:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24563 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147510547223014 (code B ref -1); Wed, 28 Sep 2016 23:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Sep 2016 23:31:12 +0000 Original-Received: from localhost ([127.0.0.1]:38317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpOJk-0005z7-BR for submit@debbugs.gnu.org; Wed, 28 Sep 2016 19:31:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpJdW-00048Q-JM for submit@debbugs.gnu.org; Wed, 28 Sep 2016 14:31:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpJdO-0001KR-CJ for submit@debbugs.gnu.org; Wed, 28 Sep 2016 14:31:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpJdM-0001Jr-3g for submit@debbugs.gnu.org; Wed, 28 Sep 2016 14:31:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpJdF-0001x1-01 for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 14:31:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpJdB-0001Gp-IY for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 14:31:00 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpJd9-0001Cz-7w for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2016 14:30:57 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 29BBC20702 for ; Wed, 28 Sep 2016 14:30:45 -0400 (EDT) Original-Received: from web4 ([10.202.2.214]) by compute2.internal (MEProxy); Wed, 28 Sep 2016 14:30:45 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=rufflewind.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=53g E2Hpvp8n9bXPO/uSqYo9jyCg=; b=RdZJwM7Wt5v9/KDr2IrUTyuwIVVkKzkWFSK Xdfh2vBa0kbYPu/4QzKawhPXTymNgeilE14v/8TycV3c45FemsgB9DieVqvwERce NxSUQw22PNDPuedqry/So0OtmzC3dVOKhV8qckCTMCBkrHKwrietXQKkIcoQ40hZ yoPsYBII= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=53gE2Hpvp8n9bXPO/uSqYo9jyCg=; b=tFRiO D0onbrmKYsRKtQSgcvTtb0yVDSX8DD0T4ytZzFb15O3bE2W8qGV+U0Eoz9NZc32B EeczlGF+EWLLMC3aCbhWBX2FmlffIauJPy9ZogMbQ0mLJem0/oBv/TFz+aaDzR5Y pip+ntDVpEm3PnG5i+/VJQ1nXr4imlI3XsLWVU= Original-Received: by mailuser.nyi.internal (Postfix, from userid 99) id EAF72CC2EC; Wed, 28 Sep 2016 14:30:44 -0400 (EDT) X-Sasl-Enc: E/g8rgtinLnNkEecPiSuv7uCvBOpN/EaY3jOiS+j7Bqv 1475087444 X-Mailer: MessagingEngine.com Webmail Interface - ajax-3ce3fca2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 28 Sep 2016 19:31:10 -0400 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:123748 Archived-At: Emacs 25.1 seems to have changed the behavior of doing kill-region (C-w) while dragging a selection in GUI mode. Here are the steps to reproduce: 1. Run Emacs in GUI mode via: emacs -Q 2. Type: M-x set-variable mark-even-if-inactive nil 3. Open a file containing some text. 4. Make a selection using the mouse, but do NOT release the mouse button. 5. Type: C-w. In Emacs 24.5, this would initially do nothing, but pressing C-w a second time will kill the selected region correctly. In Emacs 25.1, this fails with "The mark is not active now" and deselects the region. Had I turned mark-even-if-inactive back on, it would cause the previously selected region to be killed instead, which can lead to lots of accidental killing. Naturally, one wouldn't do this on purpose: one should release the drag before doing C-w, but it's very easy to accidentally overlap the two operations when done in haste. --- In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-09-18 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-edit wid-edit cus-start cus-load thingatpt help-fns help-mode easymenu cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)