From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#4117: 23.1; isearch + isearch-allow-scroll loses shift Date: Wed, 12 Aug 2009 23:54:56 +0300 Organization: JURTA Message-ID: <87bpmkhcdb.fsf@mail.jurta.org> References: <19073.19554.183166.905858@winooski.ccs.neu.edu> Reply-To: Juri Linkov , 4117@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250119686 19881 80.91.229.12 (12 Aug 2009 23:28:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 23:28:06 +0000 (UTC) Cc: 4117@emacsbugs.donarmstrong.com To: Eli Barzilay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 13 01:27:58 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MbNEa-0007ab-Bt for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Aug 2009 01:27:56 +0200 Original-Received: from localhost ([127.0.0.1]:33478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbNEX-0003d9-Qf for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 19:27:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbNDd-00034x-4m for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 19:26:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbNDY-0002zq-RT for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 19:26:56 -0400 Original-Received: from [199.232.76.173] (port=50558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbNDY-0002zQ-8P for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 19:26:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34401) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MbNDX-0005tb-Ix for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 19:26:51 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7CNQnIG010449; Wed, 12 Aug 2009 16:26:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7CNF6iV008717; Wed, 12 Aug 2009 16:15:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 12 Aug 2009 23:15:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4117 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4117-submit@emacsbugs.donarmstrong.com id=B4117.12501185437836 (code B ref 4117); Wed, 12 Aug 2009 23:15:05 +0000 Original-Received: (at 4117) by emacsbugs.donarmstrong.com; 12 Aug 2009 23:09:03 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out1.starman.ee [85.253.0.3]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7CN915E007822 for <4117@emacsbugs.donarmstrong.com>; Wed, 12 Aug 2009 16:09:02 -0700 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.68.109.cable.starman.ee [82.131.68.109]) by mx1.starman.ee (Postfix) with ESMTP id A13203F41AA; Thu, 13 Aug 2009 02:08:55 +0300 (EEST) In-Reply-To: <19073.19554.183166.905858@winooski.ccs.neu.edu> (Eli Barzilay's message of "Tue, 11 Aug 2009 06:48:02 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 12 Aug 2009 19:26:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30136 Archived-At: > When `isearch-allow-scroll' is turned on, then exiting isearch with > a movement command loses its "shift" status. To see this, use > isearch and look for some string, then hit C-S-right a few times and > you will see that the first one does not starts a selection. When `isearch-allow-scroll' is non-nil, then `isearch-other-meta-char' calls `isearch-reread-key-sequence-naturally', but `read-key-sequence' in the latter function removes the shift modifier and sets `this-command-keys-shift-translated' to t. This is just an analysis. I currently don't know what is the right way to fix this. Maybe simply add the shift modifier back to the key when `this-command-keys-shift-translated' to t after `read-key-sequence'. -- Juri Linkov http://www.jurta.org/emacs/