unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Saving/Recalling Shell Commands History?
Date: Mon, 21 Aug 2006 14:30:33 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICOEFHDIAA.drew.adams@oracle.com> (raw)
In-Reply-To: <A56A24D6-70C0-4FD6-BECF-2C1727F915B4@web.DE>

    Now, edited to fit into a system of a handful Emacsen, it is set as:

    	'(comint-input-ring-file-name (concat desktop-dirname "/history"))

    Desktop-dirname is defined in .emacs. In recent GNU Emacs 23 the
    variable's value is described as:

    	comint-input-ring-file-name is a variable defined in `comint.el'.
    	Its value is "~/.history"
    	Local in buffer *shell*; global value is
    	"~/.emacs.d/PDesktop-23/history"

    When I comment the comint-input-ring-file-name setting line, its
    value is simply "~/.history."

And that doesn't work?

Sorry, I'm no expert on this; perhaps someone else has a suggestion. I
didn't do anything to set that variable, and it works out of the box (on
Windows). FWIW, I have these values for it:

 comint-input-ring-file-name is a variable defined in `comint.el'.
 Its value is "~/.bash_history"
 Local in buffer *shell*; global value is nil

  reply	other threads:[~2006-08-21 21:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-21 15:07 Saving/Recalling Shell Commands History? gamename
2006-08-21 16:35 ` Drew Adams
2006-08-21 20:09 ` Peter Dyballa
2006-08-21 20:17   ` Drew Adams
2006-08-21 21:08     ` Peter Dyballa
2006-08-21 21:30       ` Drew Adams [this message]
2006-08-21 21:32       ` Kevin Rodgers
2006-08-21 22:14         ` Peter Dyballa
2006-08-22 23:13         ` Peter Dyballa
2006-08-23 14:20           ` Kevin Rodgers
2006-08-23 15:20             ` Peter Dyballa
2006-08-21 20:19 ` Jesse Alama
2006-08-21 21:11   ` Peter Dyballa

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=DNEMKBNJBGPAOPIJOOICOEFHDIAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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.
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).