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: Michael Albinus <michael.albinus <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#20446: closed (tramp ate my bash history)
Date: Sun, 31 May 2015 20:33:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 31 May 2015 22:32:01 +0200
with message-id <87wpzo1oam.fsf <at> gmx.de>
and subject line Re: bug#20446: tramp ate my bash history
has caused the debbugs.gnu.org bug report #20446,
regarding tramp ate my bash history
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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. :)


[Message part 3 (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.


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

Previous Next


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