Package: emacs;
Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Date: Tue, 30 Dec 2008 11:00:03 UTC
Severity: normal
Done: Dan Nicolaescu <dann <at> ics.uci.edu>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com> To: emacs-pretest-bug <at> gnu.org Subject: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Date: Tue, 30 Dec 2008 11:48:34 +0100
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 <at> gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Hi,
i can't register a file with vc/rcs when i am logged as root throught
tramp.
1) C-x v i
2) Create RCS dir (y/n) ==> The dir is created.
3) But now ==> _Here the debug output_:
,----
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
| file-exists-p(nil)
| vc-insert-file(nil "^[0-9]")
| vc-rcs-fetch-master-state("/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| vc-rcs-working-revision("/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| apply(vc-rcs-working-revision "/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| vc-call-backend(RCS working-revision "/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| vc-working-revision("/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| vc-default-mode-line-string(RCS "/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| apply(vc-default-mode-line-string RCS "/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| vc-call-backend(RCS mode-line-string "/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| vc-mode-line("/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| run-hook-with-args(vc-mode-line "/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh")
| vc-resynch-window("/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh" t t)
| vc-resynch-buffer("/su:root <at> tux.homenetwork:/usr/local/bin/editeur.sh" t t)
|
| [...]
|
| [G70600 G70601 rev comment file --cl-dolist-temp--
| message "Registering %s... " mapc vc-file-clearprops vc-call-backend
| register nil vc-file-setprop
| vc-backend "Registering %s... done"] 6] (quote --files--) (quote --backend--) --cl-rest--)))
| vc-register(nil)
| call-interactively(vc-register nil nil)
`----
_And if i want to delete RCS directory from dired_:
,----
| (file-error Couldn't delete /su:root <at> tux.homenetwork:/usr/local/bin/RCS)
`----
However if i open an emacs root session i can register my file as
normal.
(It's a long time i have this problem and always forget to send bug -
since emacs 22 i think)
Thank you.
Thierry.
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/share/emacs/23.0.60/etc/DEBUG for instructions.
In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.14.5)
of 2008-12-27 on tux
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-march=i686 -pipe -O2' 'LDFLAGS=-Wl,-O1''
Important settings:
value of $LC_ALL: fr_FR.UTF-8
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: fr_FR.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Dired by name
Minor modes in effect:
icomplete-mode: t
icicle-mode: t
delete-selection-mode: t
minibuffer-depth-indicate-mode: t
auto-image-file-mode: t
partial-completion-mode: t
display-wireless-mode: t
display-battery-mode: t
display-time-mode: t
diff-auto-refine-mode: t
shell-dirtrack-mode: t
recentf-mode: t
savehist-mode: t
desktop-save-mode: t
tooltip-mode: t
mouse-wheel-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
line-number-mode: t
transient-mark-mode: t
Recent input:
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <return> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> $ @ C-x C-s <f11> a
<down> <return> C-x b <return> C-x v i <down> <up>
C-x k <return> C-x k <return> <down> <down> <up> <up>
C-x # C-x # <down> <down> <down> <down> f i n i s h
C-x C-s C-x # <f7> m <return> <return> q q y <f11>
a <down> <down> <down> <down> <down> <return> <return>
C-x v i y <up> C-SPC C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-x r s a C-g <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> q
C-x C-f <return> g <up> <up> <up> <up> <up> <up> D
y C-h e <up> <up> C-SPC C-e C-x r s z C-g <f11> a <return>
M-! r m SPC - r f SPC R C S <return> g <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> M + w <return> g <f11> a <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <return> M-x r e p o r t - e m a <tab> <down>
<return>
Recent messages:
(file-error Couldn't delete /su:root <at> tux.homenetwork:/usr/local/bin/RCS)
Mark set
Quit
Loading /home/thierry/.emacs.d/emms/emms-globals-tags.el (source)...done
Loading /home/thierry/.emacs.d/emms/emms-favourites-artists.el (source)...done
Redisplaying...done
Loading /home/thierry/.emacs.d/emms/emms-globals-tags.el (source)...done
Loading /home/thierry/.emacs.d/emms/emms-favourites-artists.el (source)...done
Computing completion candidates...
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.