From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#17453: Isearch doesn't work properly with Follow Mode. Date: Sun, 1 Nov 2015 12:20:19 +0000 Message-ID: References: <20140509224458.GA4205@acm.acm> <20151029232302.GB3812@acm.fritz.box> <20151031233225.GD1853@acm.fritz.box> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1446380485 32103 80.91.229.3 (1 Nov 2015 12:21:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Nov 2015 12:21:25 +0000 (UTC) Cc: 17453@debbugs.gnu.org, Stefan Monnier , emacs-devel To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 01 13:21:14 2015 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 1ZsrdJ-00051l-2i for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Nov 2015 13:21:13 +0100 Original-Received: from localhost ([::1]:36607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsrdI-0007Zw-96 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Nov 2015 07:21:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsrdE-0007Zr-3D for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2015 07:21:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zsrd9-00006g-6M for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2015 07:21:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zsrd9-00006c-3I for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2015 07:21:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zsrd8-0004Ln-DL for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2015 07:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Nov 2015 12:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17453 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17453-submit@debbugs.gnu.org id=B17453.144638044116684 (code B ref 17453); Sun, 01 Nov 2015 12:21:02 +0000 Original-Received: (at 17453) by debbugs.gnu.org; 1 Nov 2015 12:20:41 +0000 Original-Received: from localhost ([127.0.0.1]:47543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zsrcm-0004L2-NR for submit@debbugs.gnu.org; Sun, 01 Nov 2015 07:20:40 -0500 Original-Received: from mail-lb0-f178.google.com ([209.85.217.178]:34182) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsrcS-0004KT-RO for 17453@debbugs.gnu.org; Sun, 01 Nov 2015 07:20:39 -0500 Original-Received: by lbbwb3 with SMTP id wb3so72360861lbb.1 for <17453@debbugs.gnu.org>; Sun, 01 Nov 2015 04:20:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=oqqDsOw06OF26PadytXOHq3Ey9yelWIirs7YiAkzHLE=; b=wwkjsnaXNauNVwLz0QXPMJNHVu9mpoleEr25rgIv3nHXPOpmUIAB8x1W3MAf4PfHJh BdspcvZxpxSqGV1cfd2C4h+O+GGdjRUSI1rQG5duPGYkPfeFuTToZmiCDo4FGESDBibr Gx++wkmygI8hwajieZgSkXNR4JQ/Oami0veQr1qSPZpmEd7dZM5sREOadxzdjbBVs4GY XXTzkW6sG7DSVnYPcGLBYnYPvmTHZV5dClptOrUM9XzPK8EyZ3wImVPXOBxQz8U5035D SBc5ab97XiH0qrIhA0F0m9YEsStRguK61gTqAzTWR2NQxMjke4KxAY3rh8fhtviCqA5o d7oQ== X-Received: by 10.112.135.233 with SMTP id pv9mr7928300lbb.42.1446380419986; Sun, 01 Nov 2015 04:20:19 -0800 (PST) Original-Received: by 10.112.63.71 with HTTP; Sun, 1 Nov 2015 04:20:19 -0800 (PST) In-Reply-To: <20151031233225.GD1853@acm.fritz.box> X-Google-Sender-Auth: 9stkvly6kqbCFWCvQSSMYE76v24 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: 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108260 Archived-At: Hi Alan, >> What if isearch just took into account all windows displaying >> current-buffer, instead of just the selected one? >> This wouldn=E2=80=99t involve anything specific to follow mode, and I be= lieve it >> would solve the issue, no? > > I don't think so, really. What exactly does "took into account" mean? > With Follow Mode active, on a forward search you explicitly want point to > move into the next window when the search target is visible there. When > FM is not active, you most definitely don't want this to happen. Well, one of the reasons I suggested it is because I think I actually would want that. But, of course, it would be conditioned on a variable (disabled by default), and follow-mode would simply have to enable it. > I have working code which make isearch and FM work together nicely. I > think it's a sufficiently "nice" implementation to commit. Sure. Don't take this as me trying to push you in a different direction. I brought it up because it sounded like it would be simpler. You have a better understanding of the issue and the code than I do, don't feel obliged to try my suggestion.