From unknown Sat Aug 09 09:34:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Reply-To: Leo , 2623@debbugs.gnu.org Resent-From: Leo Original-Sender: "Leo, Shidai Liu" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 10 Mar 2009 10:35:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2623 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12366808926665 (code B ref -1); Tue, 10 Mar 2009 10:35:06 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Mar 2009 10:28:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GAPPY_SUBJECT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2AAS8mF006659 for ; Tue, 10 Mar 2009 03:28:10 -0700 Received: from mx10.gnu.org ([199.232.76.166]:49211) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LgzBw-0003AQ-70 for emacs-pretest-bug@gnu.org; Tue, 10 Mar 2009 06:28:08 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LgzBu-0002EM-VT for emacs-pretest-bug@gnu.org; Tue, 10 Mar 2009 06:28:07 -0400 Received: from ppsw-1.csi.cam.ac.uk ([131.111.8.131]:33046) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgzBu-0002CD-DQ for emacs-pretest-bug@gnu.org; Tue, 10 Mar 2009 06:28:06 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:42439) by ppsw-1.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.151]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES256-SHA:256) id 1LgzBQ-00012i-3U (Exim 4.70) for emacs-pretest-bug@gnu.org (return-path ); Tue, 10 Mar 2009 10:27:36 +0000 From: Leo To: emacs-pretest-bug@gnu.org Date: Tue, 10 Mar 2009 10:27:35 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In a file under version control, type 'C-x C-q' and then a message will be shown in the echo area: File is under version-control; use C-x v v to check in/out This message is misleading if not wrong as most of the version control tools do not use read-only to indicate their status. Tested in GNU Emacs 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 From unknown Sat Aug 09 09:34:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Reply-To: Stefan Monnier , 2623@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 11 Mar 2009 00:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2623 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123673179330554 (code B ref -1); Wed, 11 Mar 2009 00:45:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 11 Mar 2009 00:36:33 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.5 required=4.0 tests=GAPPY_SUBJECT,HAS_BUG_NUMBER, XIRONPORT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2B0aTRM030545 for ; Tue, 10 Mar 2009 17:36:31 -0700 Received: from mx10.gnu.org ([199.232.76.166]:32986) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LhCQu-0003Cv-ET for emacs-pretest-bug@gnu.org; Tue, 10 Mar 2009 20:36:28 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LhCQt-0000SW-29 for emacs-pretest-bug@gnu.org; Tue, 10 Mar 2009 20:36:27 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:40542) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhCQs-0000SO-QN for emacs-pretest-bug@gnu.org; Tue, 10 Mar 2009 20:36:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At8KAMektklFxL+1/2dsb2JhbACBTivQQIQNBoQl X-IronPort-AV: E=Sophos;i="4.38,338,1233550800"; d="scan'208";a="35013184" Received: from 69-196-191-181.dsl.teksavvy.com (HELO ceviche.home) ([69.196.191.181]) by ironport2-out.teksavvy.com with ESMTP; 10 Mar 2009 20:36:24 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 1B25EB4268; Tue, 10 Mar 2009 12:08:56 -0400 (EDT) From: Stefan Monnier To: Leo Cc: 2623@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-ID: References: Date: Tue, 10 Mar 2009 12:08:56 -0400 In-Reply-To: (Leo's message of "Tue, 10 Mar 2009 10:27:35 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. > File is under version-control; use C-x v v to check in/out > This message is misleading if not wrong as most of the version control > tools do not use read-only to indicate their status. Check in/out used to be bound to C-x C-q (because back then, most of the version control tools did use read-only to indicate their status), so the above message is there to remind people who have C-x C-q hardcoded in their fingers that maybe they really meant to type C-x v v. BTW, why did you type C-x C-q? Is the file read-only? Stefan From unknown Sat Aug 09 09:34:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Reply-To: Leo , 2623@debbugs.gnu.org Resent-From: Leo Original-Sender: news Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 11 Mar 2009 12:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2623 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123677313611343 (code B ref -1); Wed, 11 Mar 2009 12:15:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 11 Mar 2009 12:05:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=GAPPY_SUBJECT,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n2BC5UFg011337 for ; Wed, 11 Mar 2009 05:05:33 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhNBi-0005Fn-0e for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 08:05:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhNBf-0005Cc-NX for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 08:05:29 -0400 Received: from [199.232.76.173] (port=54242 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhNBf-0005C7-7H for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 08:05:27 -0400 Received: from main.gmane.org ([80.91.229.2]:38084 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhNBe-0003xV-7o for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 08:05:26 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LhNBZ-0005sv-2E for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 12:05:21 +0000 Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Mar 2009 12:05:21 +0000 Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Mar 2009 12:05:21 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Date: Wed, 11 Mar 2009 12:04:59 +0000 Organization: University of Cambridge Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:P4n4Dw0pMJmTLWGmPd1hC08MKUo= Sender: news Cc: emacs-pretest-bug@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) On 2009-03-10 16:08 +0000, Stefan Monnier wrote: >> File is under version-control; use C-x v v to check in/out >> This message is misleading if not wrong as most of the version control >> tools do not use read-only to indicate their status. > > Check in/out used to be bound to C-x C-q (because back then, most of the > version control tools did use read-only to indicate their status), so > the above message is there to remind people who have C-x C-q hardcoded > in their fingers that maybe they really meant to type C-x v v. Should this be changed in 21st? > BTW, why did you type C-x C-q? Is the file read-only? > > > Stefan Sometimes I turn the file into read-only before showing to other people in case they accidentally type something into it. -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. www.git-scm.com git - the one true version control system From unknown Sat Aug 09 09:34:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Reply-To: Stefan Monnier , 2623@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 11 Mar 2009 15:05:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2623 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123678334321454 (code B ref -1); Wed, 11 Mar 2009 15:05:06 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 11 Mar 2009 14:55:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.5 required=4.0 tests=GAPPY_SUBJECT,HAS_BUG_NUMBER, XIRONPORT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n2BEtbk1021443 for ; Wed, 11 Mar 2009 07:55:38 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhPqK-0005zV-Gp for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 10:55:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhPqJ-0005z1-96 for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 10:55:35 -0400 Received: from [199.232.76.173] (port=57894 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhPqJ-0005yy-3b for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 10:55:35 -0400 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:36548 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhPqH-0006Z8-Gl; Wed, 11 Mar 2009 10:55:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AukJAFdut0lFxL+1/2dsb2JhbACBTivPVIQNBoQx X-IronPort-AV: E=Sophos;i="4.38,343,1233550800"; d="scan'208";a="35038213" Received: from 69-196-191-181.dsl.teksavvy.com (HELO pastel.home) ([69.196.191.181]) by ironport2-out.teksavvy.com with ESMTP; 11 Mar 2009 10:55:25 -0400 Received: by pastel.home (Postfix, from userid 20848) id 385C28258; Wed, 11 Mar 2009 10:55:25 -0400 (EDT) From: Stefan Monnier To: Leo Cc: 2623@debbugs.gnu.org, bug-gnu-emacs@gnu.org, emacs-pretest-bug@gnu.org Message-ID: References: Date: Wed, 11 Mar 2009 10:55:25 -0400 In-Reply-To: (Leo's message of "Wed, 11 Mar 2009 12:04:59 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. >>> File is under version-control; use C-x v v to check in/out >>> This message is misleading if not wrong as most of the version control >>> tools do not use read-only to indicate their status. >> Check in/out used to be bound to C-x C-q (because back then, most of the >> version control tools did use read-only to indicate their status), so >> the above message is there to remind people who have C-x C-q hardcoded >> in their fingers that maybe they really meant to type C-x v v. > Should this be changed in 21st? I do not understand what "21st" is referring to. >> 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). Stefan From unknown Sat Aug 09 09:34:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Reply-To: Leo , 2623@debbugs.gnu.org Resent-From: Leo Original-Sender: news Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 11 Mar 2009 16:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2623 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12367876607301 (code B ref -1); Wed, 11 Mar 2009 16:15:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 11 Mar 2009 16:07:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=GAPPY_SUBJECT,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n2BG6eoB007291 for ; Wed, 11 Mar 2009 09:06:44 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhQx5-0007t6-8X for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 12:06:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhQx1-0007ra-9q for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 12:06:38 -0400 Received: from [199.232.76.173] (port=49227 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhQx0-0007rP-Vk for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 12:06:35 -0400 Received: from main.gmane.org ([80.91.229.2]:58665 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhQwz-0002bQ-Hr for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 12:06:34 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LhQwr-0007jK-Kn for bug-gnu-emacs@gnu.org; Wed, 11 Mar 2009 16:06:25 +0000 Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Mar 2009 16:06:25 +0000 Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Mar 2009 16:06:25 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Date: Wed, 11 Mar 2009 16:06:10 +0000 Organization: University of Cambridge Lines: 43 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:73fANu/0RKqJT6kVvGAkaLH9Qvo= Sender: news Cc: emacs-pretest-bug@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) On 2009-03-11 14:55 +0000, Stefan Monnier wrote: >>>> File is under version-control; use C-x v v to check in/out >>>> This message is misleading if not wrong as most of the version control >>>> tools do not use read-only to indicate their status. >>> Check in/out used to be bound to C-x C-q (because back then, most of the >>> version control tools did use read-only to indicate their status), so >>> the above message is there to remind people who have C-x C-q hardcoded >>> in their fingers that maybe they really meant to type C-x v v. >> Should this be changed in 21st? > > I do not understand what "21st" is referring to. I mean '21st century'. >>> 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 not make sense when pressing C-x C-q. It might make sense when opening a read-only file that is also under version control. But even this point is mostly irrelevant since 75% of the vc-handled-backends, which hopefully represent 99.9% users, need not such message. I just recalled when I was beginning with vc. I did once foolishly follow that message and wasted myself a few unhappy hours fixing the consequences. Just some thoughts. > Stefan -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. www.git-scm.com git - the one true version control system From unknown Sat Aug 09 09:34:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Reply-To: Stefan Monnier , 2623@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 12 Mar 2009 00:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2623 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12368183578241 (code B ref -1); Thu, 12 Mar 2009 00:45:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Mar 2009 00:39:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.5 required=4.0 tests=GAPPY_SUBJECT,HAS_BUG_NUMBER, XIRONPORT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2C0dDkf008233 for ; Wed, 11 Mar 2009 17:39:15 -0700 Received: from mail.gnu.org ([199.232.76.166]:45572 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LhYx7-0007Cm-0S for emacs-pretest-bug@gnu.org; Wed, 11 Mar 2009 20:39:13 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LhYx5-0001I8-Ut for emacs-pretest-bug@gnu.org; Wed, 11 Mar 2009 20:39:12 -0400 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" 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 Received: by pastel.home (Postfix, from userid 20848) id 5C997825B; Wed, 11 Mar 2009 20:39:10 -0400 (EDT) From: Stefan Monnier To: Leo Cc: 2623@debbugs.gnu.org, bug-gnu-emacs@gnu.org, emacs-pretest-bug@gnu.org Message-ID: References: Date: Wed, 11 Mar 2009 20:39:10 -0400 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) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. >>>> 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 From unknown Sat Aug 09 09:34:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Reply-To: Leo , 2623@debbugs.gnu.org Resent-From: Leo Original-Sender: news Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 12 Mar 2009 18:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2623 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123688132420088 (code B ref -1); Thu, 12 Mar 2009 18:15:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Mar 2009 18:08:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.9 required=4.0 tests=FOURLA,GAPPY_SUBJECT, HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n2CI8f1P020082 for ; Thu, 12 Mar 2009 11:08:42 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhpKi-0003lj-TH for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 14:08:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhpKi-0003l2-Fg for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 14:08:40 -0400 Received: from [199.232.76.173] (port=49708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhpKi-0003ks-0m for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 14:08:40 -0400 Received: from main.gmane.org ([80.91.229.2]:33309 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhpKh-0007An-GB for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 14:08:39 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LhpKe-000431-OX for bug-gnu-emacs@gnu.org; Thu, 12 Mar 2009 18:08:37 +0000 Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Mar 2009 18:08:36 +0000 Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Mar 2009 18:08:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Date: Thu, 12 Mar 2009 18:08:22 +0000 Organization: University of Cambridge Lines: 52 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:HNX946rKJwpZlq3beC9YRHGL80E= Sender: news Cc: emacs-pretest-bug@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) On 2009-03-12 00:39 +0000, Stefan Monnier wrote: >>>>> 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. The message is wrong when the underlying vc backend does not use such a backward mechanism. However, toggle-read-only unconditionally show this message. This situation can be improved by a one line change: --- /tmp/emacs/share/emacs/23.0.60/lisp/files.el.gz +++ /tmp/buffer-content-32645B0g @@ -4429,7 +4429,7 @@ (view-mode-enter)) (t (setq buffer-read-only (not buffer-read-only)) (force-mode-line-update))) - (if (vc-backend buffer-file-name) + (if (memq (vc-backend buffer-file-name) '(RCS SCCS)) (message "%s" (substitute-command-keys (concat "File is under version-control; " "use \\[vc-next-action] to check in/out")))))) Diff finished. Thu Mar 12 17:56:16 2009 I have no idea whether SCCS uses read-only mechanism tho. But it is better to delete this 'message' from toggle-read-only. It looks out of place and it is not even documented in the doc string. I am curious how would C-x C-q have anything to do with vc. Even when using RCS backend, it never is part of the work flow. > Stefan -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. www.git-scm.com git - the one true version control system From rgm@gnu.org Fri Mar 13 10:25:18 2009 Received: (at control) by emacsbugs.donarmstrong.com; 13 Mar 2009 17:25:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2DHPFGq002673 for ; Fri, 13 Mar 2009 10:25:16 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LiB8E-0007WV-Ry; Fri, 13 Mar 2009 13:25:14 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18874.38650.797222.437733@fencepost.gnu.org> Date: Fri, 13 Mar 2009 13:25:14 -0400 From: Glenn Morris To: control Subject: control message severity 2623 minor tags 2600 moreinfo reassign 2655 spam reassign 2658 emacs,ns severity 2659 minor reassign 2660 spam From unknown Sat Aug 09 09:34:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2011 13:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2623 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Leo Cc: 2623@debbugs.gnu.org Received: via spool by 2623-submit@debbugs.gnu.org id=B2623.131039269828672 (code B ref 2623); Mon, 11 Jul 2011 13:59:03 +0000 Received: (at 2623) by debbugs.gnu.org; 11 Jul 2011 13:58:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgH06-0007SP-4y for submit@debbugs.gnu.org; Mon, 11 Jul 2011 09:58:18 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgH04-0007Rv-W9 for 2623@debbugs.gnu.org; Mon, 11 Jul 2011 09:58:17 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QgGzn-00011G-P8; Mon, 11 Jul 2011 15:57:59 +0200 From: Lars Magne Ingebrigtsen In-Reply-To: (Leo's message of "Thu, 12 Mar 2009 18:08:22 +0000") Date: Mon, 11 Jul 2011 15:57:44 +0200 Message-ID: References: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Wire's _Red Barked Tree_: "Moreover" X-Hashcash: 1:23:110711:sdl.web@gmail.com::wGQY0OPftZw1M68Z:000000000000000000000000000000000000000000000nEJ X-Hashcash: 1:23:110711:2623@debbugs.gnu.org::Lyv2+NeV+N/3qqz6:00000000000000000000000000000000000000001ukB9 MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QgGzn-00011G-P8 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1310997479.89518@/4ZA/dP05ItL/rJW24itiA X-Spam-Status: No X-Spam-Score: -2.2 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.2 (--) Leo writes: > This situation can be improved by a one line change: > > --- /tmp/emacs/share/emacs/23.0.60/lisp/files.el.gz > +++ /tmp/buffer-content-32645B0g > @@ -4429,7 +4429,7 @@ > (view-mode-enter)) > (t (setq buffer-read-only (not buffer-read-only)) > (force-mode-line-update))) > - (if (vc-backend buffer-file-name) > + (if (memq (vc-backend buffer-file-name) '(RCS SCCS)) I think this change makes lots of sense, so I've installed it in Emacs 24. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 11 09:58:03 2011 Received: (at control) by debbugs.gnu.org; 11 Jul 2011 13:58:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgGzq-0007RQ-QG for submit@debbugs.gnu.org; Mon, 11 Jul 2011 09:58:03 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgGzp-0007Qv-Cx for control@debbugs.gnu.org; Mon, 11 Jul 2011 09:58:01 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QgGze-00010N-JG for control@debbugs.gnu.org; Mon, 11 Jul 2011 15:57:50 +0200 Date: Mon, 11 Jul 2011 15:57:49 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #2623 X-MailScanner-ID: 1QgGze-00010N-JG X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1310997470.74172@gDqzLYjtQqhbYZntlqb7ww X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tags 2623 fixed close 2623 24.1 From unknown Sat Aug 09 09:34:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2011 14:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2623 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Magne Ingebrigtsen Cc: 2623@debbugs.gnu.org, Leo Received: via spool by 2623-submit@debbugs.gnu.org id=B2623.13103948239304 (code B ref 2623); Mon, 11 Jul 2011 14:34:01 +0000 Received: (at 2623) by debbugs.gnu.org; 11 Jul 2011 14:33:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgHYM-0002Q1-OK for submit@debbugs.gnu.org; Mon, 11 Jul 2011 10:33:42 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgHYK-0002Pq-W2 for 2623@debbugs.gnu.org; Mon, 11 Jul 2011 10:33:41 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QgHYF-0000dS-KI; Mon, 11 Jul 2011 10:33:35 -0400 From: Dan Nicolaescu References: Date: Mon, 11 Jul 2011 10:33:35 -0400 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 11 Jul 2011 15:57:44 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.0 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Lars Magne Ingebrigtsen writes: > Leo writes: > >> This situation can be improved by a one line change: >> >> --- /tmp/emacs/share/emacs/23.0.60/lisp/files.el.gz >> +++ /tmp/buffer-content-32645B0g >> @@ -4429,7 +4429,7 @@ >> (view-mode-enter)) >> (t (setq buffer-read-only (not buffer-read-only)) >> (force-mode-line-update))) >> - (if (vc-backend buffer-file-name) >> + (if (memq (vc-backend buffer-file-name) '(RCS SCCS)) > > I think this change makes lots of sense, so I've installed it in Emacs > 24. It might be a good idea to used a named variable there instead of '(RCS SCCS) so that other VC backends could add to it. From unknown Sat Aug 09 09:34:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2011 14:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2623 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Dan Nicolaescu Cc: 2623@debbugs.gnu.org, Leo Received: via spool by 2623-submit@debbugs.gnu.org id=B2623.131039523410160 (code B ref 2623); Mon, 11 Jul 2011 14:41:01 +0000 Received: (at 2623) by debbugs.gnu.org; 11 Jul 2011 14:40:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgHez-0002dm-QE for submit@debbugs.gnu.org; Mon, 11 Jul 2011 10:40:34 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgHew-0002dT-LN for 2623@debbugs.gnu.org; Mon, 11 Jul 2011 10:40:30 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QgHel-0002Dz-5E; Mon, 11 Jul 2011 16:40:19 +0200 From: Lars Magne Ingebrigtsen In-Reply-To: (Dan Nicolaescu's message of "Mon, 11 Jul 2011 10:33:35 -0400") Date: Mon, 11 Jul 2011 16:40:15 +0200 Message-ID: References: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWDgKoeBRVeTHEUAAdF LEetstsaAQ8mCx5za5QzFyxxQF34AAACYklEQVQ4jV2SQYvbMBCFh4WAr2qLQ25F5OAei4uhVyNI ffPF0KsJKPSoxeygmzEt6Jqtwejf9o2ULJsONkTz5c2M3piM+UxExbGl4X30tBzbYaCjMfMD+Ik/ 6z/DkzGmot0DKGYa+t8AP/4DFGhYTAb9IyiCRgvTzvSgkHwCaELDbrgV7KlIIMa4AiB293HDXGit AWI774RA1QuY3wEckYImaSncwGvIZ9GFgqgXYIQscyZFkEf3yOsu16I+15jDApcEnLwAzFUkEAoN 0B6h2HjjtsKIUgpuLISbCWBm31Ya/VOjJQgwAjbm1xCWEMKc+4vCSCmAKizVAgbHs8KYrlPMk0Za H6sgcQdOQKv1otNsi76BzSlM1Wq0N5ht0XfFpqAwaxUg0WgloDNm1QB75lV65AjURQieAIAmLU0k Kk2xi2uMGfCq34JWyUen1EGQSc5p2ERRwHRVOTzsaTVwl8D2fFV7l6qZNn0ZHUsPBKOaTZIVt2zN CUCW5zzaWyvIJwkDRPjnIzsBIybwct8E4Ku8boRijzZ+lSPF7TqJ6ORLW6bJeE0KZjttG7uN1Y1g /VgP8YsdsT546FL6A8cUxOUZ9l1l56nQs2RhEzlrvbqqCRtRIvkUM6GybCZ72X/ZSrmHd/KBrZ2J 9PH8NSr2J6eEAKxJ4ulv/U0Md+WLgIPnSTzyTJf6MI5wd7QjyC/e7zmZQXWN1odrqezF2kta1x3k +5aNqmur7IjhJQDsCFftubF13dh34DtOqizPzTkD9QbqEXd7OTc1xDYvBUtAqZQ417cfCbHbZ9Dk /EFqpWqO/wHX6VyCh4BTIQAAAABJRU5ErkJggg== X-Now-Playing: John Tilbury & Sebastian Lexer's _Lost Daylight_: "Terry Jennings: Winter Trees 1965" X-Hashcash: 1:23:110711:2623@debbugs.gnu.org::9gRXjvcMxPxs9gvl:000000000000000000000000000000000000000000uAF X-Hashcash: 1:23:110711:sdl.web@gmail.com::pmC8ElvMLqbKLQVc:000000000000000000000000000000000000000000007wzr X-Hashcash: 1:23:110711:dann@gnu.org::aJvn0BnyJRAkKoOa:00000mdxW MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QgHel-0002Dz-5E X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311000019.69097@uxnfXvlut0oEhfiB1iD1/A X-Spam-Status: No X-Spam-Score: -2.2 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.2 (--) Dan Nicolaescu writes: > It might be a good idea to used a named variable there instead of '(RCS SCCS) > so that other VC backends could add to it. I think that RCS and SCCS were the only ones where `C-x C-q' were used to check out/check in (sort of) stuff you were working on. None of the more modern Unixey VCs had the "check out" concept, as far as I know. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From unknown Sat Aug 09 09:34:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2011 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2623 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Magne Ingebrigtsen Cc: 2623@debbugs.gnu.org, Leo Received: via spool by 2623-submit@debbugs.gnu.org id=B2623.1310399640939 (code B ref 2623); Mon, 11 Jul 2011 15:54:01 +0000 Received: (at 2623) by debbugs.gnu.org; 11 Jul 2011 15:54:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgIo3-0000F6-Vy for submit@debbugs.gnu.org; Mon, 11 Jul 2011 11:54:00 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgIo1-0000Eu-Tc for 2623@debbugs.gnu.org; Mon, 11 Jul 2011 11:53:58 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QgInw-0005eK-M8; Mon, 11 Jul 2011 11:53:52 -0400 From: Dan Nicolaescu References: Date: Mon, 11 Jul 2011 11:53:52 -0400 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 11 Jul 2011 16:40:15 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.0 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Lars Magne Ingebrigtsen writes: > Dan Nicolaescu writes: > >> It might be a good idea to used a named variable there instead of '(RCS SCCS) >> so that other VC backends could add to it. > > I think that RCS and SCCS were the only ones where `C-x C-q' were used > to check out/check in (sort of) stuff you were working on. None of the > more modern Unixey VCs had the "check out" concept, as far as I know. There are others, not included in Emacs though. Maybe `vc-checkout-model' can be used as a test here too...