From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#17453: Framework extending window functions for Follow Mode (etc.). Date: Wed, 18 Nov 2015 02:38:49 +0200 Organization: LINKOV.NET Message-ID: <878u5w3zf2.fsf@mail.linkov.net> References: <20151108002955.GC1774@acm.fritz.box> <8737wgou4z.fsf@mail.linkov.net> <20151109154124.GC2284@acm.fritz.box> <87611a8x96.fsf@mail.linkov.net> <20151110110823.GB2626@acm.fritz.box> <876119s7fu.fsf@mail.linkov.net> <20151111161914.GB5669@acm.fritz.box> <87egfwca3b.fsf@mail.linkov.net> <56444C48.5000609@gmx.at> <8737wbx9ep.fsf@mail.linkov.net> <20151117225558.GC5054@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447809861 5209 80.91.229.3 (18 Nov 2015 01:24:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2015 01:24:21 +0000 (UTC) Cc: 17453@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 18 02:24:10 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 1ZyrTm-0005qu-93 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Nov 2015 02:24:10 +0100 Original-Received: from localhost ([::1]:33205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyrTl-0004bm-GS for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Nov 2015 20:24:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyrTh-0004bh-Vf for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2015 20:24:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyrTe-0006mD-S3 for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2015 20:24:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyrTe-0006m9-Og for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2015 20:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZyrTe-0007dZ-HE for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2015 20:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Nov 2015 01:24: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.144780978429270 (code B ref 17453); Wed, 18 Nov 2015 01:24:02 +0000 Original-Received: (at 17453) by debbugs.gnu.org; 18 Nov 2015 01:23:04 +0000 Original-Received: from localhost ([127.0.0.1]:42160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyrSh-0007c1-Nn for submit@debbugs.gnu.org; Tue, 17 Nov 2015 20:23:03 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:39930 helo=homiemail-a20.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyrSN-0007b9-Uh for 17453@debbugs.gnu.org; Tue, 17 Nov 2015 20:23:02 -0500 Original-Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id 9FA477EC072; Tue, 17 Nov 2015 17:22:42 -0800 (PST) Original-Received: from localhost.linkov.net (m91-131-172-22.cust.tele2.ee [91.131.172.22]) (Authenticated sender: jurta@jurta.org) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPA id 89AB37EC064; Tue, 17 Nov 2015 17:22:41 -0800 (PST) In-Reply-To: <20151117225558.GC5054@acm.fritz.box> (Alan Mackenzie's message of "Tue, 17 Nov 2015 22:55:58 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) 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:108848 Archived-At: > ...., I now think the best name would be the last of these three, > window-group-start. It is not too long, and the phrase "window_group" > fits in with all the primitives apart from `recenter'. So we'd need some > different naming ideas, perhaps "recenter-group" or "group-recenter". For consistency with other related names it could have the same prefix, e.g. "window-group-recenter". > By the way, have you had the chance to look at the changes I made to > isearch.el in the scratch/follow branch? One thing in the isearch-related part of your patch that I'm not excited about is the macro isearch-call-message. With Stefan's request there is no need in it since it becomes one-liner: (funcall isearch-message-function). Another thing that disturbs me is moving lazy-highlighting checks to a new function isearch-lazy-highlight-maybe-new-loop. What do you think about moving only window-checking into new function i.e. only checks for window-start/window-end/etc that need (sit-for 0) and leaving other checks in isearch-lazy-highlight-new-loop? Would this help to avoid new problems such as un-highlighting postponed until the timer fires?