From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: bug#17453: Isearch doesn't work properly with Follow Mode. Date: Mon, 2 Nov 2015 12:14:12 +0000 Message-ID: References: <20140509224458.GA4205@acm.acm> <20151029232302.GB3812@acm.fritz.box> <87h9l6627a.fsf@mail.linkov.net> <20151031235651.GE1853@acm.fritz.box> <87bnbddzpk.fsf@mail.linkov.net> <20151102092853.GA11804@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 X-Trace: ger.gmane.org 1446466478 27386 80.91.229.3 (2 Nov 2015 12:14:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Nov 2015 12:14:38 +0000 (UTC) Cc: 17453@debbugs.gnu.org, emacs-devel , Stefan Monnier , Juri Linkov To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 02 13:14:37 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZtE0P-0005eJ-Te for ged-emacs-devel@m.gmane.org; Mon, 02 Nov 2015 13:14:34 +0100 Original-Received: from localhost ([::1]:41582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtE0K-0000RQ-5i for ged-emacs-devel@m.gmane.org; Mon, 02 Nov 2015 07:14:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtE06-0000Qu-3V for emacs-devel@gnu.org; Mon, 02 Nov 2015 07:14:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtE05-0003dM-Bm for emacs-devel@gnu.org; Mon, 02 Nov 2015 07:14:13 -0500 Original-Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:33081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtE05-0003dI-4P for emacs-devel@gnu.org; Mon, 02 Nov 2015 07:14:13 -0500 Original-Received: by lfbf136 with SMTP id f136so46602001lfb.0 for ; Mon, 02 Nov 2015 04:14:12 -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; bh=igI1WpOBbAW4fV3eE5R97OrLOWwZrn+wiwVos9eT/RY=; b=cv7cK4l5bjRA5zuEVsH2WPI9H1i+9UcIWIa6tL8ApkjYUfXczQH41fXA2LXT9CeZaU fNKVqsGD1YPrj5PIvEIYUCEUqJa9EpUht5FI5RFcm0cnVrefr6zPzwofl1NwrVXiqy7q TuONpltlPOLwb+vsSd1G6QPh5RaPmMH+8+9p1qCzmV9hrnfC4mBGAPWAOG8eT08EkBF9 qcnZiuqUpEDt18O3p5kuMgAhRp7TjNjUHOWTKkPK+8l7hxdfrcEBxlHJL/hcaUH4s9sv HKr5j2qbZYjEIzW5WEXbibqpby51uef1WsbmTxj0WBsK6Yrzk1u2dhgx7ZjAoQCHjhKp ty0A== X-Received: by 10.25.85.193 with SMTP id j184mr6305211lfb.2.1446466452200; Mon, 02 Nov 2015 04:14:12 -0800 (PST) Original-Received: by 10.112.63.71 with HTTP; Mon, 2 Nov 2015 04:14:12 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: VOcFk2oYpKgM1Dsa8DNFN5oWjzQ X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:193105 Archived-At: >> One way or another, isearch MUST work with the >> window boundaries of the entire Follow Mode group. > > Maybe I missed part of the issue. I thought you wanted Isearch to > switch to another window if that window contains the next match > (instead of scrolling the current window). For that, you only need > pos-visible-in-window-p, you don't need to mess with boundaries. I think I see what I'm missing. Lazy-highlighting stops at the end of the window, so the matches on the second window won't be highlighted until we switch to it, right?