GNU bug report logs - #41656
Error with RCS Version Control in TRAMP.

Previous Next

Package: emacs;

Reported by: Bruno Vasconcelos <bruno.bvaraujo <at> gmail.com>

Date: Tue, 2 Jun 2020 01:06:03 UTC

Severity: normal

To reply to this bug, email your comments to 41656 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#41656; Package emacs. (Tue, 02 Jun 2020 01:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Vasconcelos <bruno.bvaraujo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 02 Jun 2020 01:06:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Vasconcelos <bruno.bvaraujo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Error with RCS Version Control in TRAMP.
Date: Mon, 1 Jun 2020 21:58:08 -0300
[Message part 1 (text/plain, inline)]
Use of C-v-v key stroke for vc-next-action in a already registered file
with RCS Version Control during a TRAMP session, which returnes error
message that file was already registered, while it should excel a
vc-rcs-checkin maybe.


In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
 of 2020-05-29 built on maybus
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)

Configured using:
 'configure --with-mailutils'

Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Debugger

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  display-time-mode: t
  savehist-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa
epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-print debug
vc-filewise vc-mtn vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn
vc-cvs vc-rcs vc vc-dispatcher dired-aux files-x noutline outline
image-file tramp-cache tramp-sh tramp tramp-compat tramp-loaddefs
trampver ucs-normalize shell pcomplete parse-time format-spec elec-pair
bookmark+ bookmark+-key easy-mmode advice derived dired-x dired
dired-loaddefs bookmark+-1 bookmark+-bmu help-mode bookmark+-lit
bookmark pp compile comint ansi-color ring url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap wheatgrass-theme paren time cus-edit cus-start cus-load wid-edit
windmove savehist edmacro kmacro finder-inf info tex-site package
easymenu epg-config url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt
gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 507066 25241)
 (symbols 48 34200 1)
 (miscs 40 151 339)
 (strings 32 121010 3114)
 (string-bytes 1 3082945)
 (vectors 16 55099)
 (vector-slots 8 993621 34030)
 (floats 8 95 224)
 (intervals 56 5259 0)
 (buffers 992 23))











*Debug message:Debugger entered--Lisp error: (error "This file is already
registered")  signal(error ("This file is already registered"))
error("This file is already registered")  vc-register((RCS
("/scp:user <at> 192.168.1.3#2222:/home/user/Teste/Teste01.txt
<http://scp:user <at> 192.168.1.3#2222:/home/user/Teste/Teste01.txt>")
("/scp:user <at> 192.168.1.3#2222:/home/user/Teste/Teste01.txt
<http://scp:user <at> 192.168.1.3#2222:/home/user/Teste/Teste01.txt>")
unregistered locking))  vc-next-action(nil)
funcall-interactively(vc-next-action nil)
call-interactively(vc-next-action nil nil)  command-execute(vc-next-action)*
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41656; Package emacs. (Tue, 02 Jun 2020 08:09:02 GMT) Full text and rfc822 format available.

Message #8 received at 41656 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Bruno Vasconcelos <bruno.bvaraujo <at> gmail.com>
Cc: 41656 <at> debbugs.gnu.org
Subject: Re: bug#41656: Error with RCS Version Control in TRAMP.
Date: Tue, 02 Jun 2020 10:08:01 +0200
Bruno Vasconcelos <bruno.bvaraujo <at> gmail.com> writes:

Hi,

> Use of C-v-v key stroke for vc-next-action in a already registered
> file with RCS Version Control during a TRAMP session, which returnes
> error message that file was already registered, while it should excel
> a vc-rcs-checkin maybe.

vc-rcs.el seems to be ignorant to remote files. In my backtrace, I have seen

--8<---------------cut here---------------start------------->8---
  vc-do-command("*vc*" 0 "ci" "/ssh:gandalf:/tmp/aaa/aaa" nil "-u" "-t-")
--8<---------------cut here---------------end--------------->8---

It should use the local part of the file name only. Furthermore, there
is a call to `call-process' in vc-rcs.el. And likely, more places to adapt.

Best regards, Michael.




This bug report was last modified 3 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.