From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Framework extending window functions for Follow Mode (etc.). Date: Thu, 5 Nov 2015 20:00:18 +0000 Message-ID: <20151105200018.GC2887@acm.fritz.box> References: <20151105192905.GA7986@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1446753527 23444 80.91.229.3 (5 Nov 2015 19:58:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2015 19:58:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 05 20:58:39 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 1ZuQg9-00068z-HV for ged-emacs-devel@m.gmane.org; Thu, 05 Nov 2015 20:58:37 +0100 Original-Received: from localhost ([::1]:35049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuQg8-000716-QK for ged-emacs-devel@m.gmane.org; Thu, 05 Nov 2015 14:58:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuQg5-00070w-3k for emacs-devel@gnu.org; Thu, 05 Nov 2015 14:58:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuQfz-0003rJ-8I for emacs-devel@gnu.org; Thu, 05 Nov 2015 14:58:33 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:59886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuQfy-0003rA-Uj for emacs-devel@gnu.org; Thu, 05 Nov 2015 14:58:27 -0500 Original-Received: (qmail 58479 invoked by uid 3782); 5 Nov 2015 19:58:25 -0000 Original-Received: from acm.muc.de (p5B1477AD.dip0.t-ipconnect.de [91.20.119.173]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 05 Nov 2015 20:58:25 +0100 Original-Received: (qmail 8409 invoked by uid 1000); 5 Nov 2015 20:00:18 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.3 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:193331 Archived-At: Hello, John. On Thu, Nov 05, 2015 at 02:36:40PM -0500, John Wiegley wrote: > >>>>> Alan Mackenzie writes: > > Each of these functions will get an associated variable, e.g. > > "window-start-function". The function will call the value of that > > variable instead of doing its normal actions, when GROUP is non-nil. > > Typically, the `window-start-function' will recursively call > > window-start (on some window) to perform its operation. > This is unrelated to the material content of your patch, but I'd call this > window-start-group-function, since it's not really the "function that goes to > window start", but the "function that goes to window start when groups are to > be considered". Thanks, that's an excellent idea. It's so easy to miss things like that when embroiled in something tedious. > John -- Alan Mackenzie (Nuremberg, Germany).