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: Fri, 21 Apr 2006 17:43:09 +0200 Message-ID: <20060421154309.GK5280@radix50.net> References: <20060421124308.GJ5280@radix50.net> <2EBD798D-C1CB-4B55-B34A-C9703E17FE5C@Web.DE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145634234 10065 80.91.229.2 (21 Apr 2006 15:43:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Apr 2006 15:43:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 21 17:43:52 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 1FWxnE-0001Jn-VD for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Apr 2006 17:43:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWxnE-0007rm-1T for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Apr 2006 11:43:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWxn2-0007pe-3p for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 11:43:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWxn0-0007pQ-LA for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 11:43:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWxn0-0007pN-Ei for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 11:43:22 -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 1FWxoa-0001Af-Fy for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 11:45:00 -0400 Original-Received: from mail-in-06-z2.arcor-online.net (mail-in-06-z2.arcor-online.net [151.189.8.18]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 2263C14D0D5 for ; Fri, 21 Apr 2006 17:43:20 +0200 (CEST) Original-Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mail-in-06-z2.arcor-online.net (Postfix) with ESMTP id 11A9A19CD2F for ; Fri, 21 Apr 2006 17:43:20 +0200 (CEST) Original-Received: from alatau.radix50.net (dslb-088-064-000-191.pools.arcor-ip.net [88.64.0.191]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id C8E7B1689DD for ; Fri, 21 Apr 2006 17:43:19 +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 k3LFhAgF014920 for ; Fri, 21 Apr 2006 17:43:10 +0200 Original-Received: (from ibr@localhost) by alatau.radix50.net (8.13.6/8.13.6/Submit) id k3LFh9BL014919 for help-gnu-emacs@gnu.org; Fri, 21 Apr 2006 17:43:09 +0200 Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <2EBD798D-C1CB-4B55-B34A-C9703E17FE5C@Web.DE> 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:34549 Archived-At: Hello Peter, On Fri, Apr 21, 2006 at 05:13:55PM +0200, Peter Dyballa wrote: > >I'm using bash inside emacs and want to use the reverse-search-history > >of bash, bound to C-r. Unfortunately, C-r is interpreted by emacs and > >doesn't apparently reach bash. How can I use this function of bash > >from > >within emacs? > > I don't know. By escaping? What is so bad about Emacs' own shell > history? Do you mean M-r? Two reasons: 1. It's not as convenient for me as the bash's one shows what it found as I type, and with emacs' one I have to modify regexp on the next run. 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". With kind regards, Baurzhan.