GNU bug report logs - #37297
Tramp jumps to EOB on connection termination

Previous Next

Package: emacs;

Reported by: "Daniel Colascione" <dancol <at> dancol.org>

Date: Tue, 3 Sep 2019 19:44:02 UTC

Severity: normal

Fixed in version 27.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 37297 in the body.
You can then email your comments to 37297 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#37297; Package emacs. (Tue, 03 Sep 2019 19:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Daniel Colascione" <dancol <at> dancol.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 03 Sep 2019 19:44:02 GMT) Full text and rfc822 format available.

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

From: "Daniel Colascione" <dancol <at> dancol.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Tramp jumps to EOB on connection termination
Date: Tue, 3 Sep 2019 12:43:33 -0700
1) Use master
2) Use tramp sshx method to visit a file
3) killall ssh
4) See tramp move point in file's buffer to the end for some reason

Why should killing the underlying connection move point?





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37297; Package emacs. (Wed, 04 Sep 2019 07:45:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "Daniel Colascione" <dancol <at> dancol.org>
Cc: 37297 <at> debbugs.gnu.org
Subject: Re: bug#37297: Tramp jumps to EOB on connection termination
Date: Wed, 04 Sep 2019 09:43:47 +0200
"Daniel Colascione" <dancol <at> dancol.org> writes:

Hi Daniel,

> 1) Use master
> 2) Use tramp sshx method to visit a file
> 3) killall ssh
> 4) See tramp move point in file's buffer to the end for some reason
>
> Why should killing the underlying connection move point?

Thanks for reporting this, and also for your fix in master. I've changed
it slightly; `tramp-get-buffer' returns the main communication buffer
Tramp uses to send commands to the remote host. This is not the buffer
used for asynchronous processes. That's why I have replaced this call by
`process-buffer'.

Could you pls recheck that it still works for you?

Thanks, and best regards, Michael.




bug Marked as fixed in versions 27.1. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Wed, 04 Sep 2019 07:47:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37297; Package emacs. (Wed, 04 Sep 2019 17:55:02 GMT) Full text and rfc822 format available.

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

From: "Daniel Colascione" <dancol <at> dancol.org>
To: "Michael Albinus" <michael.albinus <at> gmx.de>
Cc: Daniel Colascione <dancol <at> dancol.org>, 37297 <at> debbugs.gnu.org
Subject: Re: bug#37297: Tramp jumps to EOB on connection termination
Date: Wed, 4 Sep 2019 10:54:08 -0700
> "Daniel Colascione" <dancol <at> dancol.org> writes:
>
> Hi Daniel,
>
>> 1) Use master
>> 2) Use tramp sshx method to visit a file
>> 3) killall ssh
>> 4) See tramp move point in file's buffer to the end for some reason
>>
>> Why should killing the underlying connection move point?
>
> Thanks for reporting this, and also for your fix in master. I've changed
> it slightly; `tramp-get-buffer' returns the main communication buffer
> Tramp uses to send commands to the remote host. This is not the buffer
> used for asynchronous processes. That's why I have replaced this call by
> `process-buffer'.
>
> Could you pls recheck that it still works for you?

It does. Thanks for fixing that.






Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Wed, 04 Sep 2019 19:06:02 GMT) Full text and rfc822 format available.

Notification sent to "Daniel Colascione" <dancol <at> dancol.org>:
bug acknowledged by developer. (Wed, 04 Sep 2019 19:06:04 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "Daniel Colascione" <dancol <at> dancol.org>
Cc: 37297-done <at> debbugs.gnu.org
Subject: Re: bug#37297: Tramp jumps to EOB on connection termination
Date: Wed, 04 Sep 2019 21:05:42 +0200
"Daniel Colascione" <dancol <at> dancol.org> writes:

>> Could you pls recheck that it still works for you?
>
> It does. Thanks for fixing that.

Thanks, I'm closing the bug.

Best regards, Michael.




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

This bug report was last modified 4 years and 200 days ago.

Previous Next


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