GNU bug report logs - #30630
24.5; Emacsclient, Tramp and quote character in file name

Previous Next

Package: emacs;

Reported by: Sascha Ziemann <ceving <at> gmail.com>

Date: Tue, 27 Feb 2018 16:23:01 UTC

Severity: normal

Found in version 24.5

Fixed in version 25.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30630 in the body.
You can then email your comments to 30630 AT debbugs.gnu.org in the normal way.

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#30630; Package emacs. (Tue, 27 Feb 2018 16:23:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sascha Ziemann <ceving <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 27 Feb 2018 16:23:02 GMT) Full text and rfc822 format available.

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

From: Sascha Ziemann <ceving <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; Emacsclient, Tramp and quote character in file name
Date: Tue, 27 Feb 2018 10:26:35 +0100
The following command

    echo quote > /tmp/\"
    emacsclient /sudo::/tmp/\"

produces the following error message:

    *ERROR*: Args out of range: [], 1



In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-09-12 on hullmann, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11902000
System Description:    Debian GNU/Linux 9.3 (stretch)

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --without-gnutls --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --without-gnutls --with-x=yes --with-x-toolkit=gtk3
 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs24-24.5+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall -fno-PIE' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-z,relro -no-pie''

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

Major mode: Shell-script

Minor modes in effect:
  shell-dirtrack-mode: t
  sh-electric-here-document-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
(New file)

Tramp: Checking `vc-registered' for /sudo:root <at> debian:/tmp/\"...done
(New file)
When done with a buffer, type C-x #
exchange-point-and-mark: No mark set in this buffer
kill-region: The mark is not set now, so there is no region
Quit [2 times]
Making completion list...
call-interactively: End of buffer [3 times]

Load-path shadows:
/usr/share/emacs/24.5/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils apropos pp tramp-cache
tramp-sh tramp tramp-compat auth-source eieio byte-opt bytecomp
byte-compile cl-extra cconv eieio-core gnus-util mm-util mail-prsvr
password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color
ring format-spec advice conf-mode server help-mode help-fns cus-edit
easymenu cus-start cus-load wid-edit cl-loaddefs cl-lib sh-script smie
executable time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 137363 26075)
 (symbols 48 22826 0)
 (miscs 40 151 525)
 (strings 32 28912 10117)
 (string-bytes 1 792526)
 (vectors 16 23344)
 (vector-slots 8 1344970 100897)
 (floats 8 714 790)
 (intervals 56 1044 772)
 (buffers 960 24))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30630; Package emacs. (Tue, 27 Feb 2018 18:14:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Sascha Ziemann <ceving <at> gmail.com>
Cc: 30630 <at> debbugs.gnu.org
Subject: Re: bug#30630: 24.5;
 Emacsclient, Tramp and quote character in file name
Date: Tue, 27 Feb 2018 13:13:23 -0500
Sascha Ziemann wrote:

> In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
>  of 2017-09-12 on hullmann, modified by Debian

> System Description:    Debian GNU/Linux 9.3 (stretch)

Please try with Emacs 25 (apt-get install emacs25),
where this seems to work for me.





Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Wed, 28 Feb 2018 12:26:01 GMT) Full text and rfc822 format available.

Notification sent to Sascha Ziemann <ceving <at> gmail.com>:
bug acknowledged by developer. (Wed, 28 Feb 2018 12:26:02 GMT) Full text and rfc822 format available.

Message #13 received at 30630-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Sascha Ziemann <ceving <at> gmail.com>, 30630-done <at> debbugs.gnu.org
Subject: Re: bug#30630: 24.5;
 Emacsclient, Tramp and quote character in file name
Date: Wed, 28 Feb 2018 13:24:59 +0100
Glenn Morris <rgm <at> gnu.org> writes:

Hi,

> Sascha Ziemann wrote:
>
>> In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
>>  of 2017-09-12 on hullmann, modified by Debian
>
>> System Description:    Debian GNU/Linux 9.3 (stretch)
>
> Please try with Emacs 25 (apt-get install emacs25),
> where this seems to work for me.

Indeed. I could reproduce the problem with Emacs 24; Emacs 25 does not
show this problem.

Closing the bug.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30630; Package emacs. (Wed, 28 Feb 2018 17:58:01 GMT) Full text and rfc822 format available.

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

From: Sascha Ziemann <ceving <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>, 30630 <at> debbugs.gnu.org
Subject: Re: bug#30630: 24.5;
 Emacsclient, Tramp and quote character in file name
Date: Wed, 28 Feb 2018 09:18:26 +0100
2018-02-27 19:13 GMT+01:00 Glenn Morris <rgm <at> gnu.org>:
> Sascha Ziemann wrote:
>
>> In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
>>  of 2017-09-12 on hullmann, modified by Debian
>
>> System Description:    Debian GNU/Linux 9.3 (stretch)
>
> Please try with Emacs 25 (apt-get install emacs25),
> where this seems to work for me.
>

Indeed. Thanks! Sorry.




bug Marked as fixed in versions 25.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 28 Feb 2018 17:58:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30630; Package emacs. (Wed, 28 Feb 2018 19:18:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Sascha Ziemann <ceving <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, 30630 <at> debbugs.gnu.org
Subject: Re: bug#30630: 24.5;
 Emacsclient, Tramp and quote character in file name
Date: Wed, 28 Feb 2018 20:17:03 +0100
Sascha Ziemann <ceving <at> gmail.com> writes:

Hi Sascha,

>> Please try with Emacs 25 (apt-get install emacs25),
>> where this seems to work for me.
>>
>
> Indeed. Thanks! Sorry.

No need to sorry. Your example has shown another, unrelated bug, which I
have fixed in the master branch. Thanks for this!

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 Mar 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 126 days ago.

Previous Next


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