From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Utcke Newsgroups: gmane.emacs.help Subject: Re: Emacs Environment Variables Date: 03 Dec 2007 11:17:19 +0100 Organization: Deutsches Elektronen-Synchrotron (DESY) Message-ID: References: <7e3068b0-defa-4b37-9092-182b521f5f50@e23g2000prf.googlegroups.com> <3568102A-B060-4D1F-B7B5-7944386B07A9@Web.DE> <20071124124821.GA5409@ono.com> <87ir3qzw3m.fsf@lion.rapttech.com.au> <85fxyutxj3.fsf@lola.goethe.zz> <85k5o6sa3i.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1196678551 1752 80.91.229.12 (3 Dec 2007 10:42:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 10:42:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 03 11:42:40 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iz8l0-0001ya-2N for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Dec 2007 11:42:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iz8kj-0006Vn-Pu for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Dec 2007 05:42:17 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-ham1.dfn.de!claire.desy.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: hasgksssven.desy.de User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:154359 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:49788 Archived-At: bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > Sven Utcke writes: > > > bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > > > >> history-search-backward > > > > Thanks. How do I get this bound to a key? > > # M-p > "\ep": history-search-backward > > in a readline config file*, or This didn't work with my bash at home, but does work with the one at work. > bind '"\ep": history-search-backward' > > in a bash config file. This works in both bash. Thank you VERY MUCH! It doesn't actually mean that I will abandon tcsh as my interactive shell, but will mean that in those cases where I find myself in a bash life will be a lot less miserable (not so much because ESC-p is a must, but because it is hardcoded into my fingers and causes grief everytime I press it. I actually tried this before, but got the syntax wrong, using "M-p" instead of "\ep" --- which, presumably, makes this post on topic again :-) THANKS Sven -- ___ _ _____ ___ Dr.-Ing. Sven Utcke ___ ___ _____ __ / __| |/ / __| __| phone: +49 40 8998-5317 | \| __/ __\ \ / / | (_ | ' <\__ \__ \ fax : +49 40 8994-5317 (NEW) | |) | _|\__ \\ V / \___|_|\_\___|___/ http://www.desy.de/~utcke (to come)|___/|___|___/ |_|