unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Michael Albinus <michael.albinus@gmx.de>, 17148@debbugs.gnu.org
Subject: bug#17148: 23.1; Revert Buffer
Date: Wed, 02 Apr 2014 02:45:38 -0400	[thread overview]
Message-ID: <p1k3b8b565.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwvd2h0u7wu.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Tue, 01 Apr 2014 16:14:04 -0400")

Stefan Monnier wrote:

> Because revert-buffer is meant to handle the file's content, not its
> read-only setting.

File permission bits can be viewed as just another form of content.

> E.g. maybe the buffer is read-only because the user hit C-x C-q.

Personally I would not mind seeing a non-greyed-out menu-item for Revert
Buffer in such a case. I have modified the buffer ('s meta-data)
compared to how it is on disk, so I might want to revert it.





  reply	other threads:[~2014-04-02  6:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31 13:33 bug#17148: 23.1; Revert Buffer Joe Camaioni
2014-04-01  7:06 ` Michael Albinus
2014-04-01 15:54   ` Glenn Morris
2014-04-01 18:04     ` Michael Albinus
2014-04-01 18:30       ` Glenn Morris
2014-04-01 18:40         ` Michael Albinus
2014-04-01 19:01           ` Glenn Morris
2014-04-02 13:03             ` Stefan Monnier
2014-04-01 20:14     ` Stefan Monnier
2014-04-02  6:45       ` Glenn Morris [this message]
2014-04-02 13:04         ` Stefan Monnier
2022-02-22 14:45 ` bug#17148: Revert buffer menu-item and file permission changes Lars Ingebrigtsen
2022-02-22 16:53   ` Eli Zaretskii
2022-02-22 17:56     ` Lars Ingebrigtsen

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=p1k3b8b565.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=17148@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

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).