From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Framework extending window functions for Follow Mode (etc.). Date: Sat, 07 Nov 2015 14:26:16 +0100 Message-ID: <563DFBF8.9030903@gmx.at> References: <20151105192905.GA7986@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1446902814 13063 80.91.229.3 (7 Nov 2015 13:26:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Nov 2015 13:26:54 +0000 (UTC) To: Alan Mackenzie , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 07 14:26:45 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 1Zv3W0-0007ok-Oh for ged-emacs-devel@m.gmane.org; Sat, 07 Nov 2015 14:26:44 +0100 Original-Received: from localhost ([::1]:43826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv3Vz-0001NK-Ox for ged-emacs-devel@m.gmane.org; Sat, 07 Nov 2015 08:26:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv3Vm-0001NC-Ud for emacs-devel@gnu.org; Sat, 07 Nov 2015 08:26:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zv3Vj-00024d-Qd for emacs-devel@gnu.org; Sat, 07 Nov 2015 08:26:30 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:53002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zv3Vj-00024M-Gz for emacs-devel@gnu.org; Sat, 07 Nov 2015 08:26:27 -0500 Original-Received: from [192.168.1.101] ([213.162.68.75]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M7Yhz-1agP6k3GmF-00xKlK; Sat, 07 Nov 2015 14:26:25 +0100 In-Reply-To: <20151105192905.GA7986@acm.fritz.box> X-Provags-ID: V03:K0:4rm7zRqEj//0jedBaxmQFE6ehTONcTUB5+g4jEaRNNS+PaaV6wV D4ZTTuIm52ZcrI+0P+x5XI7hIzhSNpqJMJS66h1U4RHDDV1O8wSP4t5+G5Yc2vl7K25TtDd 5jnz9VBtdkzqxbgrdE4zSJYgPfmx6CtIQvl6BGpdyfwdG6VCfpxSAQWQeGMSSA0P7XOo2Al AbzF9Imb6/RRtEqxfQ9bA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZAy3Bi4vhSY=:pWAKUScDKv+JfYeVAnyeCS 951QShQUUJPoL6uDK8UTryWrcfUFJwP5shHPU2BVUy/TIx67qHrinx7hEGIwDCZi9HIBQQqZF QBR7ndAk+tLabaXot2RGVaNUWe7yowGiP39mMZ/+vKrxjGr5AQqIIB6SyPWSO0vtJe51mmygv jL5hP95Yi4cmfbki2e8PTrwuMlPgkCXWTUlgEIKETs36viqEkR5iQMzGWd/E/3dAqia3teItX oboxdvvpYs+L6Sd0ziB6ZSGfrJ8iuXLCI9mDHFsAQADKLslPvNVL0T0C1obTsaQi+LmPcTysV aye8mdr+ybN9i4bmTp3asMRv9VY/bejE+J9uBdidASEVNKc+UY2JKMHa+BSfBHqM/1Mms9k4B qng/mPx5bVCpqZ0JhD2/pLiXKZDXyarkDGtfI5DzQLU7LeKT0t63ZazdsYvqrBBlDXHNdHN5k rheSspQNe01ruUachrO8tGf8dF5mM6ZihPdPMoD+oy6hqvef7Ld1/dEJFpCJcjfU0TYEZoNsy FEv1cLArroTWTDKujtqBs+oXTQ3MAVWKNgiyNlAFaJoXR9Qz1flsJeuWhQt3oPo9r9R0a2D3R hNzv3Os0rD5veszXt614+jzJ34giZlDUv9AgLTECzxq+A9a3SV4w7Yw7nOuzP5bBCiai4R1ZO 4WgGZVyrZkx0d9oQ/gQWyBNh2n+xsNKUjPyK3o7bLhtBxHtZM4QujvjJagrzZ2FuirlDWBjD+ WTY7ss1fxPGYhfCnJ7qjhOfwMC/PqyB/MiczDauZXr27PLsp4I/gJ9T+XfCWGF0hBfHBa3/M X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.19 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:193522 Archived-At: > The six functions window-start, window-end, set-window-start, recenter= , > pos-visible-in-window-p, and move-to-window-line-function will acquire= > an extra optional parameter GROUP. The notion is that "this call is > interested in groups of windows, not just single ones". > > 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. Instead of an extra argument I would prefer to have these functions check for the presence of a =91window-start=92, =91window-end=92, ... win= dow parameter just like =91delete-window=92 or =91other-window=92 do. martin