From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.bugs Subject: bug#15513: 24.2; isearch should clear selection in transient-mark-mode Date: Wed, 2 Oct 2013 10:00:22 +0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1380832085 20361 80.91.229.3 (3 Oct 2013 20:28:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2013 20:28:05 +0000 (UTC) To: 15513@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 03 22:28:09 2013 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 1VRpVI-0001p1-OK for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 22:28:08 +0200 Original-Received: from localhost ([::1]:45059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRpVI-0003x5-95 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 16:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRpVE-0003wv-2i for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 16:28:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRpVC-0005Lz-Qw for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 16:28:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRpVC-0005Lv-MY for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 16:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VRpVC-0006WP-6n for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 16:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuri Khan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2013 20:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15513 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.138083205625012 (code B ref -1); Thu, 03 Oct 2013 20:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Oct 2013 20:27:36 +0000 Original-Received: from localhost ([127.0.0.1]:52350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRpUk-0006VJ-Hw for submit@debbugs.gnu.org; Thu, 03 Oct 2013 16:27:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39551) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRCfu-00059T-1o for submit@debbugs.gnu.org; Tue, 01 Oct 2013 23:00:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRCfs-00011j-E1 for submit@debbugs.gnu.org; Tue, 01 Oct 2013 23:00:29 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRCfs-00011e-9i for submit@debbugs.gnu.org; Tue, 01 Oct 2013 23:00:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRCfq-000422-A5 for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 23:00:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRCfo-00011D-PJ for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 23:00:26 -0400 Original-Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:49749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRCfo-000115-8g for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2013 23:00:24 -0400 Original-Received: by mail-la0-f42.google.com with SMTP id ep20so141076lab.29 for ; Tue, 01 Oct 2013 20:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=ROGVx+ztKAGHS9499aF6ezOTt48ElZ1Dt6ZmESxyYKk=; b=WSTXkdzEP3hUChdlwqp0UoVr4c44P8Fd7waaG/swPGaT2531lUEzC4UDqgVbZLmsPc kw0SDRiZXn+DmkcUQ7uw41RmdrjzsbaoTPEAW2Ex+l9k6fqt76Vx8SZ9IKUq7sOud7zf 6oEKKY+KcmlO9yhDhYATCHD2FJeGhFNQA2qaWn/W+L+rI6OqYC0nyY4evlIGM93lLsH7 iPQsP2iwK1v5hMOciNof2YEYCBqc0OHiAndQHgpF+iUbpcom6vsd/10B99FdZmYrBEG9 OWhiStWrJJzYZLr1T1MgCw/1nruJdhf87PHidjcQkpEnxsaDMJQnHMy6pbS5EA1G7eqi OD/Q== X-Received: by 10.152.21.34 with SMTP id s2mr52911lae.55.1380682823028; Tue, 01 Oct 2013 20:00:23 -0700 (PDT) Original-Received: by 10.114.185.101 with HTTP; Tue, 1 Oct 2013 20:00:22 -0700 (PDT) X-Google-Sender-Auth: sKeGfW6cxECMJQjt9moCgFSLa50 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Thu, 03 Oct 2013 16:27:32 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78899 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 1. Start `emacs -Q'. It opens Emacs with the default text in *scratch* buffer: ;; This buffer is for notes you don't want[...] 1a. cua-mode is off, transient-mark-mode is on. 2. Move point before This. 3. Select the word This by pressing Ctrl+Shift+Right arrow. 4. Invoke isearch by pressing Ctrl+S. 5. Enter `notes' as the search string. Observed behavior: * Selection is extended to include the word that was found by isearch. Expected behavior: * Since isearch is a point movement command and such commands deactivate the selection in transient-mark-mode, I expect selection to be deactivated. * If I press Ctrl+Space before searching, this indicates an explicit request for persistent selection. In this case, the current behavior of isearch is correct. * Additionally, it might be nice if pressing Ctrl+Shift+S behaved similarly to Shift+arrow keys, unconditionally activating the selection and extending/shrinking it to include the match. In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.6.4) of 2013-04-09 on allspice, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11303000 Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.2/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: en_RU.UTF-8 value of $LC_NUMERIC: en_RU.UTF-8 value of $LC_TIME: en_RU.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 Recent input: M-x e m a r e p o s r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs/24.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/24.2/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.2/lisp/textmodes/flyspell /usr/share/emacs/24.2/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.2/lisp/textmodes/ispell Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)