From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Hyatt Newsgroups: gmane.emacs.bugs Subject: bug#4117: 23.1; isearch + isearch-allow-scroll loses shift Date: Sat, 09 Jul 2016 08:38:49 -0400 Message-ID: References: <3550cc63-9365-4d30-b494-e1809e25704c@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468068029 14657 80.91.229.3 (9 Jul 2016 12:40:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2016 12:40:29 +0000 (UTC) Cc: Alan Mackenzie , 4117@debbugs.gnu.org To: Eli Barzilay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 09 14:40: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 1bLrYO-00037U-S8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 14:40:17 +0200 Original-Received: from localhost ([::1]:50714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLrYK-0007mE-L6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 08:40:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLrYE-0007k6-M7 for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 08:40:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLrYA-0002mM-Fz for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 08:40:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLrYA-0002m2-CY for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 08:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bLrYA-0008WA-02 for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 08:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Hyatt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jul 2016 12:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4117 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 4117-submit@debbugs.gnu.org id=B4117.146806794232669 (code B ref 4117); Sat, 09 Jul 2016 12:40:01 +0000 Original-Received: (at 4117) by debbugs.gnu.org; 9 Jul 2016 12:39:02 +0000 Original-Received: from localhost ([127.0.0.1]:43315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLrXC-0008Ur-50 for submit@debbugs.gnu.org; Sat, 09 Jul 2016 08:39:02 -0400 Original-Received: from mail-qt0-f174.google.com ([209.85.216.174]:34860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLrX8-0008UL-Qw for 4117@debbugs.gnu.org; Sat, 09 Jul 2016 08:39:01 -0400 Original-Received: by mail-qt0-f174.google.com with SMTP id f89so33717978qtd.2 for <4117@debbugs.gnu.org>; Sat, 09 Jul 2016 05:38:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UNeFzRy/8tizHoig6gkxfzqni2+yXTr5lIRu3WzfQiU=; b=FBpMMKDsjDAQpUS7J+xcmttXM0KwJdQ0QSNPfQbkA8F/DjJslmUd8ZSiLvaqv/K9Kq yE9UZ5OJw8sU/pA54Eosdj16zF9vnPzw8rRt1OFrP/7j5P1NwFyc9zCS+k1mG4svhwe1 TrwXY0rR9jcTioPv97lIQVRrXamMw5V2v8XVksFk56kru39XLdsBpHV3Fimi+argobY4 Li7PesCNpcZ9lgdWUfHDHZJuM5HNlnOZnvjhRQV5KqbQ6yVeUdCZIGyEUv3VeoI58/8s wBpMmUbYVJr1ktdGSImy/MES/G+0Ko5WERiC/du3+P8WVVQzmr01/1hVvvlKoziyzmZq 1R7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UNeFzRy/8tizHoig6gkxfzqni2+yXTr5lIRu3WzfQiU=; b=Em/S/yL5NeX1NStIh8j2PcQ5A8gFTBEDWx4ybLk9vWIpWo9ZM2jVLcKrhIYkIy1m0p iIbjeFie6dGhkCR+Bn5wa6XIjjCA6Ccl9ml1bpmhJ2XTugAzrWJA94P0GImmiVfj3nna velfROzMiOxc5sroYE/Oq2p/gcNNQAZ31YqnNQdqqjoc7ol1elMIU6IknA942D/MFHpc MpY3atwSqEkCs0LGe/pWSLjYKTi9lzwgX1Djl9HqonkmX6pD2tUGwwfRYVIR1tEytVIt zyeJJ0dBg9P00TS4PZSR6ixvRAOeowYBIrrsmolQYCSX0bbzOo+1/2672DIEiWiVWcAB JIaA== X-Gm-Message-State: ALyK8tLf9TwJsiGP/I91wQ0XQVDtiOYj1gitfGw1wiuD0FFKZyHas3zPOa9NYsOB7C2+Yg== X-Received: by 10.200.46.54 with SMTP id r51mr15939476qta.42.1468067933315; Sat, 09 Jul 2016 05:38:53 -0700 (PDT) Original-Received: from Andrews-MacBook-Pro.local.ahyatt-laptop (cpe-74-73-128-199.nyc.res.rr.com. [74.73.128.199]) by smtp.gmail.com with ESMTPSA id c15sm1087048qkg.46.2016.07.09.05.38.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Jul 2016 05:38:50 -0700 (PDT) In-Reply-To: (Eli Barzilay's message of "Thu, 7 Jul 2016 13:23:25 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) 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:120679 Archived-At: Eli Barzilay writes: > On Thu, Jun 23, 2016 at 2:15 PM, Andrew Hyatt wrote: >> On Thu, Jun 23, 2016 at 12:18 AM Eli Barzilay wrote: >>> >>> On Wed, Jun 22, 2016 at 11:23 PM, Andrew Hyatt wrote: >>> > >>> > OK, if that's the case, then it seems to me that this bug report is >>> > either unreproducible, or (if I understand the report correctly) not a >>> > bug in the first place. >>> >>> Um, I reported it for 23.1, seven years ago. Back this it definitely >>> *was* a bug (read the emails: we discussed a hack I had around it, and >>> other ways to solve it). Your conclusion that it's "not a bug a bug in >>> the first place" is therefore very strange. >> >> >> Perhaps I've misunderstood your original bug report or reply. To be >> as clear as possible, here's what I think is true, so tell me what >> part I'm misunderstanding: >> >> The original bug report was that if you do an isearch, then C-S-right, >> the word that was selected as part of isearch is no longer selected, >> and the selection starts out to the right of the word. So, if you >> searched for "foo" and the buffer text was "foo bar", and isearch is >> selecting "foo", then C-S-right will leave you with only "bar" >> selected, instead of "foo bar" selected. > > No: what you're describing was the behavior I *expected*. The bug was > that the key that was used to exit isearch -- C-S-right in my reported > case -- would "lose" the shift bit, making it be treated as just > C-right, and leaving the buffer with the cursor after the "foo bar" and > with no selection. If you look at the past emails for this bug, you'll > see that the reason for that was discussed, including a solution that > was most likely implemented. > > >> This is something I can reproduce right now on Emacs 25. > > ... And the result of the above is that it is indeed working as you > describe on v25 which means that it was probably fine for a while now > but the bug was just not closed. > > >> You said you could no longer reproduce this, and that your expectation >> is that "C-s-right would terminate isearch and select the next word". >> I understood this to mean that C-s-right would, in our example, only >> select "bar", and that's the expected behavior. Is it? > > To summarize it: all is fine and this bug should be closed -- I just > objected to your reasoning that it was "not a bug in the first place". > It *was* a bug, and it got resolved -- a long time ago. Got it, thanks for the explanation. I'll make sure this is closed.