From unknown Sat Jun 21 05:00:17 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#3869 <3869@debbugs.gnu.org> To: bug#3869 <3869@debbugs.gnu.org> Subject: Status: 23.1.50; vc-rcs toggles read-only-mode even when a file is checked out by the same user who has the lock Reply-To: bug#3869 <3869@debbugs.gnu.org> Date: Sat, 21 Jun 2025 12:00:17 +0000 retitle 3869 23.1.50; vc-rcs toggles read-only-mode even when a file is che= cked out by the same user who has the lock reassign 3869 emacs submitter 3869 Maurizio Vitale severity 3869 normal thanks From maurizio.vitale@polymath-solutions.com Thu Jul 16 13:41:46 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 16 Jul 2009 20:41:47 +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.1 required=4.0 tests=FOURLA 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.14.3/8.14.3/Debian-5) with ESMTP id n6GKfdPc020758 for ; Thu, 16 Jul 2009 13:41:41 -0700 Received: from mx10.gnu.org ([199.232.76.166]:53476) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MRXlr-000151-1O for emacs-pretest-bug@gnu.org; Thu, 16 Jul 2009 16:41:39 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MRXlo-00072l-Hh for emacs-pretest-bug@gnu.org; Thu, 16 Jul 2009 16:41:38 -0400 Received: from host.dbahosting.com ([209.59.183.4]:39272) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRXlo-000722-4U for emacs-pretest-bug@gnu.org; Thu, 16 Jul 2009 16:41:36 -0400 Received: from [127.0.0.1] (helo=cuma) by host.dbahosting.com with esmtpa (Exim 4.69) (envelope-from ) id 1MRXlu-0002Jf-4P for emacs-pretest-bug@gnu.org; Thu, 16 Jul 2009 14:41:42 -0600 Received: from cuma ([96.236.252.60] helo=cuma) with SMTP25 by host.dbahosting.com; 16 Jul 2009 14:41:41 -0600 From: Maurizio Vitale To: emacs-pretest-bug@gnu.org Subject: 23.1.50; vc-rcs toggles read-only-mode even when a file is checked out by the same user who has the lock Organization: Polymath Solutions, Inc. Date: Thu, 16 Jul 2009 16:42:04 -0400 Message-ID: <87skgwuzqb.fsf@polymath-solutions.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Assp-Whitelisted: Yes X-Assp-Envelope-From: maurizio.vitale@polymath-solutions.com X-Assp-Intended-For: emacs-pretest-bug@gnu.org X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.dbahosting.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - polymath-solutions.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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: If you open a file under RCS that has been saved but not checked back in the file is open read-only. It seems like this is due to (defun vc-rcs-find-file-hook () ;; If the file is locked by some other user, make ;; the buffer read-only. Like this, even root ;; cannot modify a file that someone else has locked. (stringp (vc-state buffer-file-name 'RCS)) (setq buffer-read-only t)) that should be something like: (defun vc-rcs-find-file-hook () ;; If the file is locked by some other user, make ;; the buffer read-only. Like this, even root ;; cannot modify a file that someone else has locked. (and (stringp (vc-state buffer-file-name 'RCS)) (setq buffer-read-only t))) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/emacs-07112009/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) of 2009-07-11 on cuma Windowing system distributor `The X.Org Foundation', version 11.0.10600000 configured using `configure '--prefix=/usr/local/emacs-07112009/'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: ERC Minor modes in effect: diff-auto-refine-mode: t erc-list-mode: t erc-menu-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-button-mode: t erc-netsplit-mode: t iswitchb-mode: t recentf-mode: t display-time-mode: t show-paren-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-services-mode: t erc-networks-mode: t erc-fill-mode: t erc-stamp-mode: t erc-spelling-mode: t flyspell-mode: t erc-autojoin-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: u r n s SPC a SPC s t r i n g SPC i f f SPC t h e SPC s u i l e f i l e SPC i s SPC l o c k e d SPC b y SPC s o m e SPC o t h e r SPC u s e e r SPC a n d SPC t h e SPC i n f o r m a t i o n SPC s h o u l d SPC b e SPC u s e d SPC t o SPC d e c i d e SPC w h e t h e r SPC t o SPC t o g g l e SPC t h e SPC r e a d - o n l y SPC m o d e . C-h a b u g C-v C-v C-v C-x o < s r e p o r t C-SPC C-s r e p o r t C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-x o l e b u t SPC i t SPC d e o o e s n ' t SPC h e l p SPC i f SPC i t SPC d o e s n ' t SPC g e t SPC i n t o SPC t h e SPC r e l e a s e d SPC v e r s i o n . x r e p o r b Recent messages: Mark activated Mark set [2 times] Contacting host: pastebin.com:80 Mark set [2 times] Contacting host: pastebin.com:80 Mark set Type C-x 1 to remove help window. Mark set Buffer is read-only: # [7 times] Mark set -- From dann@godzilla.ics.uci.edu Thu Jul 16 23:26:49 2009 Received: (at 3869-done) by emacsbugs.donarmstrong.com; 17 Jul 2009 06:26:49 +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=-7.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6H6QjsZ018841 for <3869-done@emacsbugs.donarmstrong.com>; Thu, 16 Jul 2009 23:26:46 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n6H6QU11026004; Thu, 16 Jul 2009 23:26:30 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n6H6QTWq002732; Thu, 16 Jul 2009 23:26:29 -0700 (PDT) Date: Thu, 16 Jul 2009 23:26:29 -0700 (PDT) Message-Id: <200907170626.n6H6QTWq002732@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Maurizio Vitale Cc: 3869-done@debbugs.gnu.org Subject: Re: bug#3869: 23.1.50; vc-rcs toggles read-only-mode even when a file is checked out by the same user who has the lock References: <87skgwuzqb.fsf@polymath-solutions.com> X-Debbugs-No-Ack: yes In-Reply-To: <87skgwuzqb.fsf@polymath-solutions.com> (Maurizio Vitale's message of "Thu, 16 Jul 2009 16:42:04 -0400") Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n6H6QU11026004 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Maurizio Vitale writes: > 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: > > If you open a file under RCS that has been saved but not checked back in > the file is open read-only. It seems like this is due to This was fixed earlier today. From unknown Sat Jun 21 05:00:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Fri, 14 Aug 2009 14:24:11 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 26 18:30:47 2010 Received: (at control) by debbugs.gnu.org; 26 Jan 2010 23:30:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZuru-0007T2-KW for submit@debbugs.gnu.org; Tue, 26 Jan 2010 18:30:46 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZurr-0007Sx-Nw for control@debbugs.gnu.org; Tue, 26 Jan 2010 18:30:45 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZurn-0006t9-V7; Tue, 26 Jan 2010 18:30:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19295.31519.904844.407688@fencepost.gnu.org> Date: Tue, 26 Jan 2010 18:30:39 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: >}`-'Fh^dkSE/I)@v{MEc.12\Y~;a\F2 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: -5.0 (-----) unarchive 3867 unarchive 3869 unarchive 3916 merge 3867 3869 3916 severity 3944 important unmerge 3951 tags 3991 patch From unknown Sat Jun 21 05:00:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Feb 2010 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator