From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17453: Isearch doesn't work properly with Follow Mode. Date: Mon, 02 Nov 2015 19:49:43 +0200 Message-ID: <83wpu0watk.fsf@gnu.org> 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> <20151102123512.GB11804@acm.fritz.box> <831tc8xv39.fsf@gnu.org> <20151102160917.GE11804@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1446486628 18194 80.91.229.3 (2 Nov 2015 17:50:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Nov 2015 17:50:28 +0000 (UTC) Cc: 17453@debbugs.gnu.org, monnier@iro.umontreal.ca, bruce.connor.am@gmail.com, juri@linkov.net To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 02 18:50:12 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 1ZtJFD-00038I-Ju for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Nov 2015 18:50:11 +0100 Original-Received: from localhost ([::1]:43594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtJFD-0006pB-4u for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Nov 2015 12:50:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtJF8-0006oq-UM for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2015 12:50:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtJF5-0004ZW-MF for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2015 12:50:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtJF5-0004ZL-Il for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2015 12:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZtJF4-0003B3-Uv for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2015 12:50:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Nov 2015 17:50: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.144648657612173 (code B ref 17453); Mon, 02 Nov 2015 17:50:02 +0000 Original-Received: (at 17453) by debbugs.gnu.org; 2 Nov 2015 17:49:36 +0000 Original-Received: from localhost ([127.0.0.1]:49931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtJEd-0003AH-Ra for submit@debbugs.gnu.org; Mon, 02 Nov 2015 12:49:36 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:52190) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtJEb-0003A7-CZ for 17453@debbugs.gnu.org; Mon, 02 Nov 2015 12:49:34 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NX700B007XD9200@mtaout27.012.net.il> for 17453@debbugs.gnu.org; Mon, 02 Nov 2015 19:44:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NX7008G37YUOI20@mtaout27.012.net.il>; Mon, 02 Nov 2015 19:44:54 +0200 (IST) In-reply-to: <20151102160917.GE11804@acm.fritz.box> X-012-Sender: halo1@inter.net.il 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:108310 Archived-At: > 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. > 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?