GNU bug report logs - #20446
tramp ate my bash history

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 28 Apr 2015 00:22:02 UTC

Severity: important

Found in version 25.0.50

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 20446 in the body.
You can then email your comments to 20446 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#20446; Package emacs. (Tue, 28 Apr 2015 00:22:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: tramp ate my bash history
Date: Mon, 27 Apr 2015 20:21:49 -0400
Package: emacs
Version: 25.0.50
Severity: important

Current master on RHEL 7.1.

ls -l ~/.bash_history
-rw-------. 1 gm gm 724950 Apr 27 17:10 /home/gm/.bash_history

make -C test/automated tramp-tests
   ...
   "Ran 41 tests, 41 results as expected..."

ls -l ~/.bash_history
-rw-------. 1 gm gm 29 Apr 27 17:11 /home/gm/.bash_history


!

This is repeatable.

"I told you this would happen..."
http://debbugs.gnu.org/19731#56

(Haven't checked if that is actually the cause.)
Does not happen with emacs-24.

Yes, I have backups. :)




Added indication that bug 20446 blocks19759 Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 28 Apr 2015 00:24:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20446; Package emacs. (Sun, 31 May 2015 11:12:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20446 <at> debbugs.gnu.org
Subject: Re: bug#20446: tramp ate my bash history
Date: Sun, 31 May 2015 13:11:35 +0200
Glenn Morris <rgm <at> gnu.org> writes:

Hi Glenn,

> This is repeatable.
>
> "I told you this would happen..."
> http://debbugs.gnu.org/19731#56
>
> (Haven't checked if that is actually the cause.)
> Does not happen with emacs-24.

I have changed again the default value. Tested with remote bash, ksh and
zsh; seems to cause no harm. Could you please recheck?

Thanks, and best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20446; Package emacs. (Sun, 31 May 2015 18:12:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20446 <at> debbugs.gnu.org
Subject: Re: bug#20446: tramp ate my bash history
Date: Sun, 31 May 2015 14:11:35 -0400
Michael Albinus wrote:

> I have changed again the default value. Tested with remote bash, ksh and
> zsh; seems to cause no harm. Could you please recheck?

Thanks, make check no longer clobbers my .bash_history.

(Minor point - would this file be better as .emacs.d/tramp_history?
Or maybe it's a pain to check that .emacs.d exists?)




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Sun, 31 May 2015 20:33:02 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Sun, 31 May 2015 20:33:03 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20446-done <at> debbugs.gnu.org
Subject: Re: bug#20446: tramp ate my bash history
Date: Sun, 31 May 2015 22:32:01 +0200
Version: 25.1

Glenn Morris <rgm <at> gnu.org> writes:

>> I have changed again the default value. Tested with remote bash, ksh and
>> zsh; seems to cause no harm. Could you please recheck?
>
> Thanks, make check no longer clobbers my .bash_history.

Thanks, for checking, I'm closing the bug.

> (Minor point - would this file be better as .emacs.d/tramp_history?
> Or maybe it's a pain to check that .emacs.d exists?)

It's about the remote host. Honestly, my router in the basement doesn't
know Emacs. And there's no .emacs.d/ directory.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20446; Package emacs. (Mon, 01 Jun 2015 14:05:03 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 20446 <at> debbugs.gnu.org
Cc: rgm <at> gnu.org, michael.albinus <at> gmx.de
Subject: Re: bug#20446: tramp ate my bash history
Date: Mon, 01 Jun 2015 10:04:04 -0400
> It's about the remote host. Honestly, my router in the basement doesn't

Poor router, alone in the dark,


        Stefan




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

This bug report was last modified 10 years and 53 days ago.

Previous Next


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