From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#17453: Isearch doesn't work properly with Follow Mode. Date: Tue, 3 Nov 2015 08:35:02 +0000 Message-ID: <20151103083502.GA2258@acm.fritz.box> References: <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> <20151102123512.GB11804@acm.fritz.box> <831tc8xv39.fsf@gnu.org> <20151102160917.GE11804@acm.fritz.box> <83wpu0watk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1446539667 30941 80.91.229.3 (3 Nov 2015 08:34:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2015 08:34:27 +0000 (UTC) Cc: 17453@debbugs.gnu.org, bruce.connor.am@gmail.com, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 03 09:34:16 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 1ZtX2j-0007zB-0q for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 09:34:13 +0100 Original-Received: from localhost ([::1]:46373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtX2i-00015j-6K for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 03:34:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtX2d-000137-Bp for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 03:34:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtX2Z-0001DD-Ac for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 03:34:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtX2Z-0001D6-6l for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 03:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZtX2Y-0004kX-S1 for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 03:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Nov 2015 08:34: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.144653960118179 (code B ref 17453); Tue, 03 Nov 2015 08:34:02 +0000 Original-Received: (at 17453) by debbugs.gnu.org; 3 Nov 2015 08:33:21 +0000 Original-Received: from localhost ([127.0.0.1]:50399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtX1s-0004j3-A8 for submit@debbugs.gnu.org; Tue, 03 Nov 2015 03:33:20 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:44028) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtX1o-0004iq-DY for 17453@debbugs.gnu.org; Tue, 03 Nov 2015 03:33:17 -0500 Original-Received: (qmail 65412 invoked by uid 3782); 3 Nov 2015 08:33:14 -0000 Original-Received: from acm.muc.de (p5B14700A.dip0.t-ipconnect.de [91.20.112.10]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 03 Nov 2015 09:33:13 +0100 Original-Received: (qmail 2282 invoked by uid 1000); 3 Nov 2015 08:35:02 -0000 Content-Disposition: inline In-Reply-To: <83wpu0watk.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:108340 Archived-At: On Mon, Nov 02, 2015 at 07:49:43PM +0200, Eli Zaretskii wrote: > > Date: Mon, 2 Nov 2015 16:09:17 +0000 > > Cc: bruce.connor.am@gmail.com, juri@linkov.net, 17453@debbugs.gnu.org, > > monnier@iro.umontreal.ca > > From: Alan Mackenzie > > > If this means that sit*-for does something other than redisplay and > > > wait, like switch to another window, I'd really suggest to rethink > > > that. It is entirely counter-intuitive to have a sit-for family of > > > functions do anything other than some kind of redisplay and some kind > > > of waiting. > > sit*-for's synchronising windows, switching to the appropriate window, > > etc., is conceptually an extension of redisplay's scrolling to get point > > on screen. > No, redisplay doesn't necessarily scroll. It does so only if needed. > So sit-for should not be thought as a way to scroll the window, even > if sometimes it does. Redisplay scrolls sometimes, and it moves point sometimes. But it does those things only when needed for the actual display. Similarly the sit*-for, invoking display would do other things strictly necessary for successful redisplay. That sometimes would include resynchronising the windows, for example. > > But I think sit*-for could well be not needed here, anyway. > That's okay, but my point is: please do not add to established > functions code that does on behalf of Follow mode something that > conceptually doesn't belong to those functions. OK? Fine! -- Alan Mackenzie (Nuremberg, Germany).