GNU bug report logs - #19731
24.4; /dev/null is deleted by tramp-sh.el

Previous Next

Package: emacs;

Reported by: crocket <crockabiscuit <at> gmail.com>

Date: Fri, 30 Jan 2015 05:20:02 UTC

Severity: normal

Merged with 21697, 23041

Found in versions 24.4, 24.5

Fixed in version 25.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 19731 <at> debbugs.gnu.org, crocket <crockabiscuit <at> gmail.com>
Subject: bug#19731: 24.4; /dev/null is deleted by tramp-sh.el
Date: Mon, 02 Feb 2015 20:50:41 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> Well, I'm kind of conservative. Setting HISTFILE to /dev/null is the
>> default for years, and your report is the first one about this problem.
>
> It seems like a plain bug for bash to do what it does

Looks to me like this.

> (does it also
> turn a symlink into a plain file?  wouldn't that also be a bug?), but
> I wonder: what could Tramp do instead of setting HISTFILE to /dev/null?
> Could unsetting it result in the same behavior (i.e. not save Tramp's
> commands to any file)?

That's how I understood the doc. Hope somebody will test it.

>         Stefan

Best regards, Michael.

PS: I've changed the corresponding value of `tramp-histfile-override' to
t instead of `unset'. It looks more natural to Lisp.




This bug report was last modified 9 years and 69 days ago.

Previous Next


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