[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] scratch/follow e8937de: Replace GROUP argument in six

From: Juri Linkov
Subject: Re: [Emacs-diffs] scratch/follow e8937de: Replace GROUP argument in six window primitives by new functions.
Date: Fri, 18 Dec 2015 01:52:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu)

> I think it would have to be `recenter-window-group', but is
> `recenter-group' really that ambiguous?  People have no problem with
> `recenter', which, if anything, is even more ambiguous.

I don't know why `recenter' is not `recenter-window'
like other existing functions e.g. `reposition-window'.
Maybe for historical reasons.  But `recenter-group'
will add more ambiguity: recenter what? what group?

> So, I think it would be possible to move some of the code from follow.el
> to window.el, but the interface between them would necessarily be
> thicker than just `follow-all-followers'.  It would have to include the
> "cache-invalid" flag (probably encapsulated in a function call), and the
> `follow-redisplay' function.  I'm not convinced that there would be any
> great gain in abstraction.

This abstraction is not needed as long as window groups are used
only in one package follow.el.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]