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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#20446: closed (Re: bug#20446: tramp ate my bash history)
Date: Sun, 31 May 2015 20:33:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#20446: tramp ate my bash history

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 20446 <at> debbugs.gnu.org.

-- 
20446: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20446
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.

[Message part 3 (message/rfc822, inline)]
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. :)



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

Previous Next


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