From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Date: Wed, 11 Mar 2009 20:39:10 -0400 Message-ID: References: Reply-To: Stefan Monnier , 2623@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236819898 6843 80.91.229.12 (12 Mar 2009 01:04:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 01:04:58 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, bug-gnu-emacs@gnu.org, 2623@emacsbugs.donarmstrong.com To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 12 02:06:14 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LhZMS-000182-P0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Mar 2009 02:05:51 +0100 Original-Received: from localhost ([127.0.0.1]:39037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhZL6-0002Xr-Uy for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Mar 2009 21:04:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhZKs-0002TK-1z for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 21:03:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhZKq-0002Sh-LB for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 21:03:45 -0400 Original-Received: from [199.232.76.173] (port=44807 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhZKq-0002SN-Dm for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 21:03:44 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60214) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhZKp-00033o-LB for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 21:03:43 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2C13fp4014434; Wed, 11 Mar 2009 18:03:41 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2C0j5o2009788; Wed, 11 Mar 2009 17:45:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 12 Mar 2009 00:45:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2623 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12368183598248 (code B ref -1); Thu, 12 Mar 2009 00:45:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 12 Mar 2009 00:39:19 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2C0dGoZ008236 for ; Wed, 11 Mar 2009 17:39:17 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhYx9-0001HM-Sn for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 20:39:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhYx7-0001HA-IB for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 20:39:14 -0400 Original-Received: from [199.232.76.173] (port=39230 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhYx7-0001H7-BI for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 20:39:13 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:47941 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhYx5-0001I4-NJ; Wed, 11 Mar 2009 20:39:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjQKAEf2t0lFxJo1/2dsb2JhbACBTiuJNcZghA0G X-IronPort-AV: E=Sophos;i="4.38,346,1233550800"; d="scan'208";a="35068784" Original-Received: from 69.196.153.53-wifi-optionsdsl.ca (HELO pastel.home) ([69.196.154.53]) by ironport2-out.teksavvy.com with ESMTP; 11 Mar 2009 20:39:10 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5C997825B; Wed, 11 Mar 2009 20:39:10 -0400 (EDT) In-Reply-To: (Leo's message of "Wed, 11 Mar 2009 16:06:10 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-CrossAssassin-Score: 3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 11 Mar 2009 21:03:45 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26253 gmane.emacs.pretest.bugs:24108 >>>> BTW, why did you type C-x C-q? Is the file read-only? >>> Sometimes I turn the file into read-only before showing to other people >>> in case they accidentally type something into it. >> I see, so in this case we could probably avoid the message by being >> a bit more clever (e.g. don't show the message if it's not the first >> time C-x C-q is used in this buffer). > There is difference between turning the buffer into read-only and the > file on disk being read-only. VC backends depend on the latter for their > status based on my experience with RCS. So showing such a message does No, actually VC did make buffers read-only based on the backend's status rather than just based on the file's own read-onlyness. And C-x C-q was used by many people as the main way to interact with VC (both to check out and to check back in). I know it all sounds really odd seen from today's point of view, but it still made sense in Emacs-21, which isn't that old. Stefan