From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.bugs Subject: bug#4117: 23.1; isearch + isearch-allow-scroll loses shift Date: Thu, 7 Jul 2016 13:23:25 -0400 Message-ID: References: <3550cc63-9365-4d30-b494-e1809e25704c@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1467912325 2388 80.91.229.3 (7 Jul 2016 17:25:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2016 17:25:25 +0000 (UTC) Cc: Alan Mackenzie , 4117@debbugs.gnu.org To: Andrew Hyatt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 07 19:25:16 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 1bLD35-0006rg-Gw for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jul 2016 19:25:15 +0200 Original-Received: from localhost ([::1]:41450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLD34-0003k0-Rh for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jul 2016 13:25:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLD1y-00035Z-DS for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2016 13:24:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLD1u-0004MF-3B for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2016 13:24:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLD1t-0004MB-Ty for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2016 13:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bLD1t-0003n8-Nh for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2016 13:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Barzilay Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jul 2016 17:24: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.146791221314536 (code B ref 4117); Thu, 07 Jul 2016 17:24:01 +0000 Original-Received: (at 4117) by debbugs.gnu.org; 7 Jul 2016 17:23:33 +0000 Original-Received: from localhost ([127.0.0.1]:41485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLD1R-0003mO-34 for submit@debbugs.gnu.org; Thu, 07 Jul 2016 13:23:33 -0400 Original-Received: from mail-io0-f180.google.com ([209.85.223.180]:35489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLD1P-0003mC-If for 4117@debbugs.gnu.org; Thu, 07 Jul 2016 13:23:32 -0400 Original-Received: by mail-io0-f180.google.com with SMTP id f30so27906009ioj.2 for <4117@debbugs.gnu.org>; Thu, 07 Jul 2016 10:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barzilay-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UOyWyNvxED1QB41nQrhF5NfFXai4u9YbGpkOnd+HJHc=; b=YzmB2/aBmRDS9I6eY9tP692PVzDJpB6Nsj7yqznE7qfSDwAru62T5BSMwhk+iYz7uO F/1wjBg0kSKiCQbvxlG4xtDXpTaKwAdf2baZ2OriSE0Zxk1ezbKpxmYBfxNGJa9Kj/1w ApJumrpEn/q6jXx4nGmiEp9Gf8CcEvMqM/KgKzwyh3SSn/ViJyN0HCQUE6cW/+KC4yhB A2FXwMhFArfqT6nJY9AXWk3BSFdJ8qP0syZlud+EClimvcJpzhC5493DdHpuE6GyZ+c9 XoPeSsO8BUpoEfeHX4aa0DDGb04fSkyfwnz6N/spaJbg0+S8nc8YZOFXzNy1DbnWuZTz R+wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UOyWyNvxED1QB41nQrhF5NfFXai4u9YbGpkOnd+HJHc=; b=imoSVx/PPef6z1OOhaRrwSni094KPVNLClThqVA8mqjEYtn9pmelXUVzLa3btw2clU mnieUlC20TFVO39cgf36sTuWFxJkdiG7SvI0jj9cjsBQSZW3meYgx/huzniAK882o50i ZNfliBPnaCimOj1l6+ENBLx5w4xLQleEO6mMSFOeqcadB2Rzu2QYDkSdcrBR8opfeEr3 rlk4z8CI2lwykYlm6i/DTSCLCOwjXXkrX3FzKm5NqekL3iJwvzG0wnwJtH3B+wUU4cON SpFcFRkmmCKykn2Uv4OeryiPh0Wei8bJgXamnKCQ/fOAMaMsooRAf4u6CvjqpaJVp1XJ hkaw== X-Gm-Message-State: ALyK8tJ1ifgDa8kHjHDXIyrnaFPCMXNc9nmv7+cKrCCVCYrkh2A6gYazaLZ9bZR5AKyZnbX1GZrYYcPM6Naglg== X-Received: by 10.107.156.211 with SMTP id f202mr3999304ioe.112.1467912205908; Thu, 07 Jul 2016 10:23:25 -0700 (PDT) Original-Received: by 10.79.32.81 with HTTP; Thu, 7 Jul 2016 10:23:25 -0700 (PDT) In-Reply-To: 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:120590 Archived-At: 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. -- ((x=>x(x))(x=>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life!