From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Baurzhan Ismagulov Newsgroups: gmane.emacs.help Subject: Re: bash and reverse-search-history Date: Sat, 22 Apr 2006 14:24:59 +0200 Message-ID: <20060422122458.GB4759@radix50.net> References: <20060421124308.GJ5280@radix50.net> <2EBD798D-C1CB-4B55-B34A-C9703E17FE5C@Web.DE> <20060421154309.GK5280@radix50.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145708732 12449 80.91.229.2 (22 Apr 2006 12:25:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Apr 2006 12:25:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 22 14:25:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FXHB4-0001eA-5n for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Apr 2006 14:25:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXHB3-0004Qg-LI for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Apr 2006 08:25:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FXHAn-0004QB-TX for help-gnu-emacs@gnu.org; Sat, 22 Apr 2006 08:25:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FXHAl-0004Pk-6K for help-gnu-emacs@gnu.org; Sat, 22 Apr 2006 08:25:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXHAl-0004Ph-3R for help-gnu-emacs@gnu.org; Sat, 22 Apr 2006 08:25:11 -0400 Original-Received: from [151.189.21.47] (helo=mail-in-07.arcor-online.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FXHCX-0001i1-By for help-gnu-emacs@gnu.org; Sat, 22 Apr 2006 08:27:01 -0400 Original-Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 27AD114E0EE for ; Sat, 22 Apr 2006 14:25:09 +0200 (CEST) Original-Received: from mail-in-03.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 1A09B1714D3 for ; Sat, 22 Apr 2006 14:25:09 +0200 (CEST) Original-Received: from alatau.radix50.net (dslb-088-064-000-179.pools.arcor-ip.net [88.64.0.179]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id E33A91414B1 for ; Sat, 22 Apr 2006 14:25:08 +0200 (CEST) Original-Received: from alatau.radix50.net (localhost [127.0.0.1]) by alatau.radix50.net (8.13.6/8.13.6/Debian-1) with ESMTP id k3MCOx6Q005124 for ; Sat, 22 Apr 2006 14:24:59 +0200 Original-Received: (from ibr@localhost) by alatau.radix50.net (8.13.6/8.13.6/Submit) id k3MCOxqX005123 for help-gnu-emacs@gnu.org; Sat, 22 Apr 2006 14:24:59 +0200 Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34577 Archived-At: Hello Kevin, On Fri, Apr 21, 2006 at 04:02:08PM -0600, Kevin Rodgers wrote: > > 2. I couldn't find a way to search the whole bash history. When I type > > some expression that I know is in ~/.bash_history, emacs says "Not > > found". > > Does `C-h v comint-input-ring-file-name' in the *shell* buffer agree > with "~/.bash_history"? The command produces the following output: comint-input-ring-file-name's value is "~/.bash_history" Local in buffer *shell*; global value is nil Documentation: *If non-nil, name of the file to read/write input history. See also `comint-read-input-ring' and `comint-write-input-ring'. This variable is buffer-local, and is a good thing to set in mode hooks. You can customize this variable. Defined in `comint'. I'm not sure what you mean by "agree". I'm able to scroll through .bash_history via M-p, but M-r finds only expressions that I typed during the current session. With kind regards, Baurzhan.