From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#17148: 23.1; Revert Buffer Date: Wed, 02 Apr 2014 02:45:38 -0400 Message-ID: References: <201403311333.s2VDXNuJ029811@tbfmdev1.ctasdev.tc.faa.gov> <87ppl1v893.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1396524324 32236 80.91.229.3 (3 Apr 2014 11:25:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 11:25:24 +0000 (UTC) Cc: Michael Albinus , 17148@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 13:25:16 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WVeLf-0002ag-Ct for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 11:54:15 +0200 Original-Received: from localhost ([::1]:36493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVEw4-0007YY-4f for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Apr 2014 02:46:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVEw0-0007Th-Bj for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 02:46:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVEvz-0002Fy-Ih for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 02:46:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVEvz-0002Fu-EE for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 02:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WVEvz-00038g-0W for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 02:46:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Apr 2014 06:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17148 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 17148-submit@debbugs.gnu.org id=B17148.139642114412032 (code B ref 17148); Wed, 02 Apr 2014 06:46:02 +0000 Original-Received: (at 17148) by debbugs.gnu.org; 2 Apr 2014 06:45:44 +0000 Original-Received: from localhost ([127.0.0.1]:60179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVEvf-00037z-0B for submit@debbugs.gnu.org; Wed, 02 Apr 2014 02:45:43 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:46879) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVEvb-00037o-Lt for 17148@debbugs.gnu.org; Wed, 02 Apr 2014 02:45:40 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WVEva-0006MO-NE; Wed, 02 Apr 2014 02:45:38 -0400 X-Spook: brigand SAFE $400 million in gold bullion encryption X-Ran: Fd&"Z~0l4I}gt[C&wuUy843R?@!vaS5nC-])"==Ziy$_Fikh?){qM2|GgR4PE5sAs1Zn2s X-Hue: black X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Tue, 01 Apr 2014 16:14:04 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:87670 Archived-At: 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.