unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Chong Yidong <cyd@stupidchicken.com>
Subject: bug#4308: marked as done (23.1.50; patch: fix `eshell-history-file-name')
Date: Sun, 13 Sep 2009 02:25:04 +0000	[thread overview]
Message-ID: <handler.4308.D4308.12528081865294.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: m0ws4iihqd.fsf@cam.ac.uk

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

Your message dated Sat, 12 Sep 2009 22:17:51 -0400
with message-id <87pr9vbnao.fsf@cyd.mit.edu>
and subject line Re: bug#4308: 23.1.50; patch: fix `eshell-history-file-name'
has caused the Emacs bug report #4308,
regarding 23.1.50; patch: fix `eshell-history-file-name'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4308: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4308
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3032 bytes --]

From: Leo <sdl.web@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.1.50; patch: fix `eshell-history-file-name'
Date: Tue, 01 Sep 2009 20:32:10 +0100
Message-ID: <m0ws4iihqd.fsf@cam.ac.uk>

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

The attached small patch makes eshell-history-file-name more robust. For
example, I accidentally set eshell-directory-name to ~/.emacs.d/shell
without a trailing / and the history was written to
~/.emacs.d/shellhistory.


diff -u -L a/em-hist.el.gz -L b/em-hist.el.gz
--- a/em-hist.el.gz
+++ b/em-hist.el.gz
@@ -86,7 +86,7 @@
   :group 'eshell-hist)
 
 (defcustom eshell-history-file-name
-  (concat eshell-directory-name "history")
+  (expand-file-name "history" eshell-directory-name)
   "*If non-nil, name of the file to read/write input history.
 See also `eshell-read-history' and `eshell-write-history'.
 If it is nil, Eshell will use the value of HISTFILE."

Diff finished.  Tue Sep  1 20:27:29 2009


Leo


[-- Attachment #3: Type: message/rfc822, Size: 1387 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Leo <sdl.web@gmail.com>
Cc: 4308-done@emacsbugs.donarmstrong.com
Subject: Re: bug#4308: 23.1.50; patch: fix `eshell-history-file-name'
Date: Sat, 12 Sep 2009 22:17:51 -0400
Message-ID: <87pr9vbnao.fsf@cyd.mit.edu>

> > The attached small patch makes eshell-history-file-name more
> > robust. For
> > example, I accidentally set eshell-directory-name to ~/.emacs.d/shell
> > without a trailing / and the history was written to
> > ~/.emacs.d/shellhistory.

> Please also fix the following places:

All fixed, thanks.

      parent reply	other threads:[~2009-09-13  2:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87pr9vbnao.fsf@cyd.mit.edu>
2009-09-01 19:32 ` bug#4308: 23.1.50; patch: fix `eshell-history-file-name' Leo
2009-09-01 19:49   ` Leo
2009-09-13  2:25   ` Emacs bug Tracking System [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.4308.D4308.12528081865294.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).