unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: How to follow the end of *Messages* buffer in Emacs?
Date: Sun, 11 Nov 2012 12:25:34 -0500	[thread overview]
Message-ID: <jwvzk2o6ojd.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.12702.1352573476.855.help-gnu-emacs@gnu.org

> 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


  parent reply	other threads:[~2012-11-11 17:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.12681.1352548591.855.help-gnu-emacs@gnu.org>
2012-11-10 15:55 ` How to follow the end of *Messages* buffer in Emacs? Yves Baumes
     [not found] ` <m2bof5l4lx.fsf@gmail.com>
2012-11-10 18:51   ` martin rudalics
     [not found]   ` <mailman.12702.1352573476.855.help-gnu-emacs@gnu.org>
2012-11-10 19:56     ` Yves Baumes
2012-11-10 21:02       ` martin rudalics
     [not found]       ` <mailman.12713.1352581388.855.help-gnu-emacs@gnu.org>
2012-11-10 22:00         ` Yves Baumes
2012-11-12  9:56           ` martin rudalics
2012-11-10 22:24         ` Yves Baumes
2012-11-11 17:25     ` Stefan Monnier [this message]
2012-11-12  9:57 martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2012-11-10 11:56 martin rudalics
2012-11-09 22:52 Yves Baumes
2012-11-10  6:39 ` B. T. Raven
2012-11-10 10:07 ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvzk2o6ojd.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).