* 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
@ 2009-07-16 20:42 ` Maurizio Vitale
2009-07-17 6:35 ` bug#3869: marked as done (23.1.50; vc-rcs toggles read-only-mode even when a file is checked out by the same user who has the lock) Emacs bug Tracking System
0 siblings, 1 reply; 2+ messages in thread
From: Maurizio Vitale @ 2009-07-16 20:42 UTC (permalink / raw
To: emacs-pretest-bug
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 <backspace> <backspace> <backspace> <backspace>
<backspace> 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 <backspace> 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 . <return> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> C-h
a b u g <return> <escape> C-v <escape> C-v <escape>
C-v C-x o <escape> < 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
<help-echo> <help-echo> l e <tab> b u t SPC i t SPC
d e o <backspace> <backspace> o e s n ' t SPC h e l
p SPC i f SPC i t SPC <help-echo> 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 . <return> <escape> x r e p o r <tab>
b <tab> <return>
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: #<buffer *Apropos*> [7 times]
Mark set
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#3869: marked as done (23.1.50; vc-rcs toggles read-only-mode even when a file is checked out by the same user who has the lock)
2009-07-16 20:42 ` 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 Maurizio Vitale
@ 2009-07-17 6:35 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-07-17 6:35 UTC (permalink / raw
To: Dan Nicolaescu
[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]
Your message dated Thu, 16 Jul 2009 23:26:29 -0700 (PDT)
with message-id <200907170626.n6H6QTWq002732@godzilla.ics.uci.edu>
and subject line 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
has caused the Emacs bug report #3869,
regarding 23.1.50; vc-rcs toggles read-only-mode even when a file is checked out by the same user who has the lock
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)
--
3869: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3869
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 6884 bytes --]
From: Maurizio Vitale <maurizio.vitale@polymath-solutions.com>
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
Date: Thu, 16 Jul 2009 16:42:04 -0400
Message-ID: <87skgwuzqb.fsf@polymath-solutions.com>
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 <backspace> <backspace> <backspace> <backspace>
<backspace> 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 <backspace> 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 . <return> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> C-h
a b u g <return> <escape> C-v <escape> C-v <escape>
C-v C-x o <escape> < 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
<help-echo> <help-echo> l e <tab> b u t SPC i t SPC
d e o <backspace> <backspace> o e s n ' t SPC h e l
p SPC i f SPC i t SPC <help-echo> 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 . <return> <escape> x r e p o r <tab>
b <tab> <return>
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: #<buffer *Apropos*> [7 times]
Mark set
--
[-- Attachment #3: Type: message/rfc822, Size: 2538 bytes --]
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Maurizio Vitale <maurizio.vitale@polymath-solutions.com>
Cc: 3869-done@emacsbugs.donarmstrong.com
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
Date: Thu, 16 Jul 2009 23:26:29 -0700 (PDT)
Message-ID: <200907170626.n6H6QTWq002732@godzilla.ics.uci.edu>
Maurizio Vitale <maurizio.vitale@polymath-solutions.com> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-17 6:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200907170626.n6H6QTWq002732@godzilla.ics.uci.edu>
2009-07-16 20:42 ` 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 Maurizio Vitale
2009-07-17 6:35 ` bug#3869: marked as done (23.1.50; vc-rcs toggles read-only-mode even when a file is checked out by the same user who has the lock) Emacs bug Tracking System
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.