help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to follow the end of *Messages* buffer in Emacs?


From: Stefan Monnier
Subject: Re: How to follow the end of *Messages* buffer in Emacs?
Date: Sun, 11 Nov 2012 12:25:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> This would be tedious.  We have to fix this in the window code.  More
> precisely, we need a buffer local variable which when set and
> `window-point' equals `point-max' for that buffer at the time of saving
> the buffer's window's `window-point' (in your case that would be the
> time when the help buffer is displayed) we would store nil in the
> corresponding slot.  When restoring the buffer in the window (via
> `quit-window' in your case) and we find that that slot contains nil,
> we'd use the buffer's `point' as new position of `window-point'.

IIUC we already have that buffer-local variable (it's called
window-point-insertion-type).


        Stefan


reply via email to

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