all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: offby1@blarg.net, emacs-devel@gnu.org
Subject: Re: Suggestion for autorevert.el
Date: Thu, 01 Apr 2004 12:34:15 -0500	[thread overview]
Message-ID: <E1B9651-00049M-Cn@fencepost.gnu.org> (raw)
In-Reply-To: <200404010330.i313Ug621242@raven.dms.auburn.edu> (message from Luc Teirlinck on Wed, 31 Mar 2004 21:30:42 -0600 (CST))

    Did you mean that `revert-buffer' should be changed to keep point at
    the end if it was there or just auto-revert?

Just auto-revert, was what I had in mind.
I had not thought of doing this in revert-buffer,
but it is an interesting suggestion.

      That would leave the question of what to do
    with an empty buffer, where point is both at beginning and end.

For auto-revert, in the case where you want to read the new output in
the file, this case should be treated as "at the end".  However,
in ordinary revert-buffer, that would be undesirable.

So I think this should be done in auto-revert, NOT in revert-buffer.
And it should test simply (eobp).

  parent reply	other threads:[~2004-04-01 17:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-24 15:14 Suggestion for autorevert.el Eric Hanchrow
2004-03-25  4:06 ` Luc Teirlinck
2004-03-25  7:49 ` Richard Stallman
2004-04-01  3:30   ` Luc Teirlinck
2004-04-01  8:00     ` Juanma Barranquero
2004-04-01 17:34     ` Richard Stallman [this message]
2004-04-02  4:09       ` Luc Teirlinck
2004-04-02  4:28         ` Luc Teirlinck
2004-04-02  5:02         ` Stefan Monnier
2004-04-02 16:02           ` Luc Teirlinck
2004-04-02 23:46             ` Luc Teirlinck
     [not found]   ` <87vfktj86f.fsf@offby1.atm01.sea.blarg.net>
2004-04-02  0:11     ` Luc Teirlinck
2004-04-03  1:30       ` Richard Stallman

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

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

  git send-email \
    --in-reply-to=E1B9651-00049M-Cn@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=offby1@blarg.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.