GNU bug report logs - #41008
26.1; tramp/dired confirmation trapped

Previous Next

Package: emacs;

Reported by: pillule <pillule <at> riseup.net>

Date: Fri, 1 May 2020 19:38:01 UTC

Severity: normal

Tags: moreinfo

Found in version 26.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 41008 in the body.
You can then email your comments to 41008 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#41008; Package emacs. (Fri, 01 May 2020 19:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to pillule <pillule <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 01 May 2020 19:38:02 GMT) Full text and rfc822 format available.

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

From: pillule <pillule <at> riseup.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; tramp/dired confirmation trapped
Date: Fri, 01 May 2020 19:26:21 +0000
Hello,

When I use tramp and dired to a remote machine, and for some reason,
dired must ask for a confirmation (overwrite, large file etc…), I
never see the demand and have no possibility to answer it.
The only trace of this is in the *message* buffer.

So, the task did not finish. An emacs buffer wait indefinitly an
answer. And nothing than the lack of result indicate to the user that
it is not working.




In GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
 of 2019-09-23, modified by Debian built on x86-grnet-01
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description:	Debian GNU/Linux 10 (buster)

Recent messages:
(New file)
Mark set
[mu4e] ...
[mu4e] Switched context to pillulr
[mu4e] org-mu4e-compose-org-mode enabled; press M-m before issuing message-mode commands
Starting new Ispell process aspell with en_GB dictionary...
Mark set [3 times]
Type M-x mail-send to send bug report.
[mu4e] Started mu4e with 4786 messages in store
[mu4e] Contacts received: 10957

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 --enable-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils --build
 x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd
 --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils --with-x=yes
 --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs-StqULU/emacs-26.1+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8

Major mode: Emacs-Lisp

Minor modes in effect:
  goto-address-prog-mode: t
  ivy-posframe-mode: t
  desktop-save-mode: t
  rainbow-delimiters-mode: t
  global-auto-revert-mode: t
  subword-mode: t
  company-prescient-mode: t
  company-mode: t
  electric-pair-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  save-place-mode: t
  savehist-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  dired-async-mode: t
  ivy-rich-mode: t
  ivy-prescient-mode: t
  ivy-mode: t
  delete-selection-mode: t
  projectile-mode: t
  prescient-persist-mode: t
  override-global-mode: t
  show-paren-mode: t
  linum-relative-mode: t
  linum-mode: t
  global-hl-line-mode: t
  display-time-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  global-prettify-symbols-mode: t
  prettify-symbols-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/user/.emacs.d/elpa/nadvice-0.3/nadvice hides /usr/share/emacs/26.1/lisp/emacs-lisp/nadvice
/home/user/.emacs.d/elpa/map-2.1/map hides /usr/share/emacs/26.1/lisp/emacs-lisp/map
/home/user/.emacs.d/elpa/let-alist-1.0.6/let-alist hides /usr/share/emacs/26.1/lisp/emacs-lisp/let-alist

Features:
(shadow org-rmail org-mhe org-irc org-info org-gnus nnir gnus-sum
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls
gnutls utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win
org-docview org-bibtex bibtex org-bbdb org-w3m flyspell ispell
face-remap emacsbug pulse goto-addr whitespace elfeed-goodies-logging
elfeed-goodies-new-entry-hooks mm-url gnus nnheader
elfeed-goodies-split-pane popwin elfeed-goodies-show-mode ace-jump-mode
noflet cl-indent elfeed-goodies-search-mode elfeed-goodies elfeed-org
elfeed-show elfeed-search bookmark shr svg dom elfeed-csv elfeed
elfeed-curl url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-domsuf elfeed-log elfeed-db elfeed-lib url-util url-queue
xml-query xml epa-file org-mu4e mu4e mu4e-speedbar speedbar sb-image
ezimage dframe mu4e-main mu4e-view mu4e-headers mu4e-compose
mu4e-context mu4e-draft mu4e-actions org-capture ido rfc2368 mu4e-mark
mu4e-message flow-fill html2text mu4e-proc mu4e-utils doc-view jka-compr
image-mode mu4e-lists mu4e-vars 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 mu4e-meta smtpmail
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
org-mime ox-org ox-md ox-latex ox-html table ox-ascii ox-publish ox
org-sidebar org-ql-view transient ov org-super-agenda ht crm org-ql peg
ts org-habit org-agenda dash-functional ivy-posframe posframe mailcap
move-text hydra lv disp-table dashboard dashboard-widgets
page-break-lines desktop frameset rainbow-delimiters autorevert
filenotify mark-multiple smart-hungry-delete company-shell slime-company
slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu
slime-references slime-compiler-notes-tree slime-scratch
slime-presentations bridge slime-macrostep macrostep slime-mdot-fu
slime-enclosing-context slime-fuzzy slime-fancy-trace
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
slime-repl elp slime-parse slime derived company-dabbrev-code
company-dabbrev cap-words superword subword gud apropos etags arc-mode
archive-mode pp hyperspec browse-url company-irony company-template
irony-completion irony-snippet irony irony-iotask company-c-headers
flycheck-clang-analyzer flycheck-package flycheck json company-prescient
company skeleton package-lint rx let-alist imenu finder lisp-mnt
yasnippet-snippets yasnippet elec-pair saveplace savehist tramp-cache
tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell
parse-time recentf tree-widget dired-async dired-aux async find-dired
wgrep counsel xdg xref project dired dired-loaddefs swiper ivy-rich
ivy-prescient map ivy delsel colir ivy-overlay projectile grep compile
ibuf-ext ibuffer ibuffer-loaddefs thingatpt prescient org-bullets
org-element avl-tree generator org org-macro org-footnote org-pcomplete
pcomplete org-list org-faces org-entities noutline outline org-version
ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp
ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs
org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs
htmlize cl use-package-bind-key bind-key easy-mmode paren beacon
use-package-delight linum-relative linum display-line-numbers hl-line
time minimal-theme edmacro kmacro cus-edit cus-start cus-load wid-edit
pcase spaceline-config spaceline-segments s spaceline subr-x powerline
powerline-separators color powerline-themes dash delight advice cl-extra
help-mode use-package-ensure use-package-core finder-inf slime-autoloads
info 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 dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 861620 54281)
 (symbols 48 77855 50)
 (miscs 40 558 520)
 (strings 32 224018 10404)
 (string-bytes 1 7088159)
 (vectors 16 89819)
 (vector-slots 8 1597425 19722)
 (floats 8 702 653)
 (intervals 56 2269 238)
 (buffers 992 17))

-- 






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41008; Package emacs. (Mon, 04 May 2020 11:47:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: pillule <pillule <at> riseup.net>
Cc: 41008 <at> debbugs.gnu.org
Subject: Re: bug#41008: 26.1; tramp/dired confirmation trapped
Date: Mon, 04 May 2020 13:46:13 +0200
pillule <pillule <at> riseup.net> writes:

> Hello,

Hi,

> When I use tramp and dired to a remote machine, and for some reason,
> dired must ask for a confirmation (overwrite, large file etc…), I
> never see the demand and have no possibility to answer it.
> The only trace of this is in the *message* buffer.
>
> So, the task did not finish. An emacs buffer wait indefinitly an
> answer. And nothing than the lack of result indicate to the user that
> it is not working.

I've tried to reproduce it with Emacs 26.3. I started in a shell with

# touch /tmp/x /tmp/y

Afterwards, I called "emacs -Q /ssh::/tmp". Moved the cursor in dired to
file x, pressed key "C", confirmed file "/ssh:hostname:/tmp/y" to be
overwritten. The echo area shows

Overwrite ‘/ssh:hostname:/tmp/y’? [Type yn!q or C-h] 

as expected. Could you pls try the same scenario? Important is to start
"emacs -Q".

Best regards, Michael.




Added tag(s) moreinfo. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Mon, 04 May 2020 11:47:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41008; Package emacs. (Sun, 10 May 2020 02:42:02 GMT) Full text and rfc822 format available.

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

From: pillule <pillule <at> riseup.net>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 41008 <at> debbugs.gnu.org
Subject: Re: bug#41008: 26.1; tramp/dired confirmation trapped
Date: Sun, 10 May 2020 01:29:04 +0000
[Message part 1 (text/plain, inline)]
On Mon, May 04 2020, Michael Albinus wrote:

>> Hello,
>
> Hi,
>
>> When I use tramp and dired to a remote machine, and for some reason,
>> dired must ask for a confirmation (overwrite, large file etc…), I
>> never see the demand and have no possibility to answer it.
>> The only trace of this is in the *message* buffer.
>>
>> So, the task did not finish. An emacs buffer wait indefinitly an
>> answer. And nothing than the lack of result indicate to the user that
>> it is not working.
>
> I've tried to reproduce it with Emacs 26.3. I started in a shell with
>
> # touch /tmp/x /tmp/y
>
> Afterwards, I called "emacs -Q /ssh::/tmp". Moved the cursor in dired to
> file x, pressed key "C", confirmed file "/ssh:hostname:/tmp/y" to be
> overwritten. The echo area shows
>
> Overwrite ‘/ssh:hostname:/tmp/y’? [Type yn!q or C-h]
>
> as expected. Could you pls try the same scenario? Important is to start
> "emacs -Q".

Yes. It result with an error message :
"ssh : cannot connect to host hostname port 22 : connexion refused"
This is a normal behavior since I have installed a ssh server only on
my remote machine and not my local one.


I am sorry to say that my report seems not enought to help my
self to remember exactly and reproduce the situation again.

I hope you forgive me about that and promise to be more rigorous an
hypothetic next time.

Have a nice day.

--
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41008; Package emacs. (Sun, 10 May 2020 08:46:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: pillule <pillule <at> riseup.net>
Cc: 41008 <at> debbugs.gnu.org
Subject: Re: bug#41008: 26.1; tramp/dired confirmation trapped
Date: Sun, 10 May 2020 10:45:12 +0200
pillule <pillule <at> riseup.net> writes:

Hi,

> Yes. It result with an error message :
> “ssh : cannot connect to host hostname port 22 : connexion refused”
> This is a normal behavior since I have installed a ssh server only on
> my remote machine and not my local one.

You should use "/ssh:USER <at> HOSTNAME:", with USER and HOSTNAME being your
remote user and host.

> Have a nice day.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41008; Package emacs. (Thu, 13 Aug 2020 01:34:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: pillule <pillule <at> riseup.net>, 41008 <at> debbugs.gnu.org
Subject: Re: bug#41008: 26.1; tramp/dired confirmation trapped
Date: Wed, 12 Aug 2020 18:33:48 -0700
Michael Albinus <michael.albinus <at> gmx.de> writes:

>> “ssh : cannot connect to host hostname port 22 : connexion refused”
>> This is a normal behavior since I have installed a ssh server only on
>> my remote machine and not my local one.
>
> You should use "/ssh:USER <at> HOSTNAME:", with USER and HOSTNAME being your
> remote user and host.

That was in May, and I see no updates since.  From reading the thread,
it seems like this was a configuration error or otherwise an error in
how Tramp was used?

Should this therefore be closed?

Best regards,
Stefan Kangas




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Thu, 13 Aug 2020 14:39:01 GMT) Full text and rfc822 format available.

Notification sent to pillule <pillule <at> riseup.net>:
bug acknowledged by developer. (Thu, 13 Aug 2020 14:39:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: pillule <pillule <at> riseup.net>, 41008-done <at> debbugs.gnu.org
Subject: Re: bug#41008: 26.1; tramp/dired confirmation trapped
Date: Thu, 13 Aug 2020 16:38:19 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

>>> “ssh : cannot connect to host hostname port 22 : connexion refused”
>>> This is a normal behavior since I have installed a ssh server only on
>>> my remote machine and not my local one.
>>
>> You should use "/ssh:USER <at> HOSTNAME:", with USER and HOSTNAME being your
>> remote user and host.
>
> That was in May, and I see no updates since.  From reading the thread,
> it seems like this was a configuration error or otherwise an error in
> how Tramp was used?
>
> Should this therefore be closed?

Yes. I do it herewith. In case there are further problems, a reply to
this message would be sufficient.

> Best regards,
> Stefan Kangas

Best regards, Michael.




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

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

Previous Next


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