From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: bash builtin expansion in shell.el Date: Sat, 13 Jun 2009 22:15:59 +0200 Message-ID: References: <87ws7guf4s.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244924207 22502 80.91.229.12 (13 Jun 2009 20:16:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2009 20:16:47 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: jidanni@jidanni.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 13 22:16:43 2009 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 1MFZeb-00063b-KO for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 22:16:41 +0200 Original-Received: from localhost ([127.0.0.1]:53645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFZeb-000805-1s for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 16:16:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFZeA-0007wF-Ve for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 16:16:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFZe6-0007uH-3l for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 16:16:14 -0400 Original-Received: from [199.232.76.173] (port=54482 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFZe5-0007uB-Pe for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 16:16:09 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:41431) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFZe5-0004Sv-GP for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 16:16:09 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 2BA67103456B2; Sat, 13 Jun 2009 22:16:07 +0200 (CEST) Original-Received: from [91.35.255.195] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (WEB.DE 4.110 #277) id 1MFZe2-0005OB-00; Sat, 13 Jun 2009 22:16:07 +0200 In-Reply-To: <87ws7guf4s.fsf@jidanni.org> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+ybD2BAFjRvayEDYpvnVEktntjCihHZel5McQV s2p8nKWgaVnmuyot53YGY/MKhNvg3GZU9dGJHoMrizN5iRCFPK LnmuocCJmsAUdOIHTj3A== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:65266 Archived-At: Am 13.06.2009 um 21:07 schrieb jidanni@jidanni.org: > So how can I get > bash$ hist > to become > bash$ history ? Either type "history" and then RET, or create aliases and make them =20 known to the *shell* buffer in the file ~/.emacs_bash. You can also =20 read in the documentation how to delegate the command expansion to =20 bash =96 in your example GNU Emacs' shell-mode tries to fulfil this. I am a tcsh user. I have no quarrels with tcsh, shell-mode gives me =20 enough. Would you like to learn shell-mode, too? I mean, if you want =20 to use bash instead of GNU Emacs, why don't you use a more simple =20 mode, or no mode at all? -- Greetings Pete 0 %-/\_// (*)(*)