[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: recenter-top-bottom
From: |
Drew Adams |
Subject: |
RE: recenter-top-bottom |
Date: |
Sun, 11 Nov 2007 14:38:56 -0800 |
> I like the new definition of `recenter-top-bottom'. But there is one
> problem: it doesn't work when point is close to the end of the buffer.
>
> It doesn't put point to the upper half of the window but this
> is possible with other commands (because the end of the buffer
> is not attached to the end of the window in Emacs).
Or at or near the beginning of the buffer. Depending on what you mean by
"work".
I think it DTRT in these cases, but you're welcome to tweak it.
> Also I suggest replacing `(recenter)' with `(recenter '(4))' to not redraw
> the frame when moving point to the center, to not make it different from
> moving point to other parts of the window that doesn't redraw the frame.
Yes. Go for it.
- Re: recenter-top-bottom, (continued)
- Re: recenter-top-bottom, Richard Stallman, 2007/11/07
- Re: recenter-top-bottom, Juri Linkov, 2007/11/07
- Re: recenter-top-bottom, Alan Mackenzie, 2007/11/11
- Re: recenter-top-bottom, Alan Mackenzie_JWA, 2007/11/07
- Re: recenter-top-bottom, Lennart Borgman (gmail), 2007/11/07
- Re: recenter-top-bottom, Richard Stallman, 2007/11/07
- RE: recenter-top-bottom, Drew Adams, 2007/11/11
- Re: recenter-top-bottom, Juri Linkov, 2007/11/11
- RE: recenter-top-bottom,
Drew Adams <=
- Re: recenter-top-bottom, Juri Linkov, 2007/11/11
- RE: recenter-top-bottom, Drew Adams, 2007/11/11
- Re: recenter-top-bottom, Bastien, 2007/11/11
- RE: recenter-top-bottom, Drew Adams, 2007/11/11
- Re: recenter-top-bottom, Bastien, 2007/11/11
- RE: recenter-top-bottom, Drew Adams, 2007/11/12
- Re: recenter-top-bottom, Bastien, 2007/11/12
- Re: recenter-top-bottom, Bastien, 2007/11/12
- Re: recenter-top-bottom, Robert J. Chassell, 2007/11/12
- Re: recenter-top-bottom, Lennart Borgman (gmail), 2007/11/12