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: Mon, 09 Nov 2015 09:25:52 +0100 Message-ID: <56405890.2060202@gmx.at> References: <20151105192905.GA7986@acm.fritz.box> <563DFBF8.9030903@gmx.at> <20151107135726.GC1770@acm.fritz.box> <563E163A.6000403@gmx.at> <20151107161201.GD1770@acm.fritz.box> <563E2FD7.5030903@gmx.at> <20151107185551.GB1774@acm.fritz.box> <563F1464.4050000@gmx.at> <20151108121332.GB1962@acm.fritz.box> <563F902B.80102@gmx.at> <20151108195749.GC1962@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1447057580 2899 80.91.229.3 (9 Nov 2015 08:26:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2015 08:26:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 09 09:26:14 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 1ZvhmG-00034g-Dv for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2015 09:26:12 +0100 Original-Received: from localhost ([::1]:50920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvhmF-0004dE-RS for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2015 03:26:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvhm2-0004cz-Ov for emacs-devel@gnu.org; Mon, 09 Nov 2015 03:25:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zvhlz-0007N9-EW for emacs-devel@gnu.org; Mon, 09 Nov 2015 03:25:58 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:52254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zvhlz-0007My-41 for emacs-devel@gnu.org; Mon, 09 Nov 2015 03:25:55 -0500 Original-Received: from [192.168.1.100] ([213.162.68.97]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Ljqgb-1aXVV20KXx-00bp8a; Mon, 09 Nov 2015 09:25:53 +0100 In-Reply-To: <20151108195749.GC1962@acm.fritz.box> X-Provags-ID: V03:K0:hyJRILcts0MI7OvO2ctDioqtF5OFnQFd1kcYI0g1L730R5QbUUC gRdEHxd+b0xvafUJ8T7V2IooMIJM2V2awwuy7+TXKtlPiigjeWJhqSfg6dKnsWXXtRYBAH/ x8NQTzU+0PaWxV5evrNpXWPgx0uq0dfEYQ5Iujf2/mUjhkL47ULvlBK5nGUyAENwpsWM6TZ MgikqWy6rYRiAt+WYsHxA== X-UI-Out-Filterresults: notjunk:1;V01:K0:2QLRv/gCWSY=:xVXwcIjYN4CycbV75Wmb8q sgh9tABMZZ4YvKXWiLnSF/ekJxVTZX9K0AW46xFsJO4iAzyMgNDyv/eFe+SM+B3pyii1JGXMQ 0afPXPAUVSEyTePju4GIs7WM5cy1/gV8VkDsQTsMyX3W4xcILhKfXNGGwHCwelNWslKULOZK+ Oz2QXl6aP4NKX0ZTlyl4XDSjqYcxojfuJHb7ckxXkNjQj+ZocX1wpBpDXiWbin9g0wQlYiz1t dqOLdu9/Be9PxY9jILa6+PEa/ey4bMckq0afnB9KkQdSEluVE+rGBQvw9xDLAEAcSkQLNy7kg +z+ljz9pmLW1HOBZcPppMzQoh/TUso6279mIc18NW+inIdEHZvu1pMDtnkqAk237+zQTrbYwy Tp72XYdlY1lJ0cJMhaVul2m0mfxaUHIuWp3HWQKn9UHocHQJT2czdBM8HWjDoYjTZv7woqEna kE7DCPT9FNBXvWh29X6EPM05CWOl03patTVAbIZCNp0YGje2NyyMRH7nlT+he1eesrkHga+C5 ADpE2rCZrLCzUl9dybaJA5fqALUyHtHUHKQAw+OXSp/HqJJswc6qYJf+W0jsEfP1W5Xd6KXLz U5ER6gLAfMBJ3TsQbz6VVh3xdSI3sCLCeAUBCh4sf3C+Rg4T5Edh/2yob48vrDHgennV/9Rsn DbMbrxLI6QnVqQtBmEg5kp84O7OFjd5JTvsTF9IwpCXGZeUWYYIDjOcA7tU3wh90LJ8khSIAi i3h1Zzew1vQ4mGUrxYOcocFnDdqjZEo08nol6g8jhL0hK0QmTJ+qmbbsakZnkpfeDGaPVUfY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 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:193690 Archived-At: > I see a further problem with the window parameters approach. When a > different buffer becomes displayed in such a window, the parameter wou= ld > stay set. There is a fundamental mismatch here: Follow Modishness is > associated with a buffer (not a set of windows); window parameters are= > fundamentally attached to windows. This clash is bound to cause > awkwardnesses. One of the worst things I've ever seen in the windows code was the mixing in of buffer-local variables, the most notorious representative of them being =E2=80=98window-size-fixed=E2=80=99. I meanwhile found a w= orkaround so it shouldn't be needed any more. Still that variable is a pain. > So, to cope with temporary buffer changes, one would have > to build whole complexes of mechanisms to temporarily delete the windo= w > parameters, and so on. All this would be restricted to Follow Mode without affecting anyone else. >> If you really care about this have =E2=80=98follow-mode-set-window-st= art=E2=80=99 check >> a variable like =E2=80=98isearch-mode=E2=80=99 to make sure that it a= ffects isearch >> calls only. > > I take it that's a bit of sarcasm? Sorry. It wasn't meant that way. I think I have bothered you long enough with my objections. I consider it most unfortunate that your previous solutions were not accepted. I could have easily lived with all of them. But I neither use isearch nor follow mode so I'm probably not in a good position to judge. The current solution introduces a new approach which IMHO doesn't fit with the rest of the windows code but let's live with it. So thanks for putting so much care into your responses and good luck (no sarcasm) with the current scheme. martin