From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: bash builtin expansion in shell.el Date: Mon, 15 Jun 2009 10:24:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: <98d0bd24-da69-4541-943f-0c5aad4c786f@i28g2000prd.googlegroups.com> References: <9c42f4ac-5c56-409e-91d3-99d5025bba74@w35g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245088996 18913 80.91.229.12 (15 Jun 2009 18:03:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Jun 2009 18:03:16 +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 Jun 15 20:03:14 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 1MGGWY-0006mg-Do for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jun 2009 20:03:14 +0200 Original-Received: from localhost ([127.0.0.1]:52176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGGWX-0007ui-SK for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jun 2009 14:03:13 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i28g2000prd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1245086684 8757 127.0.0.1 (15 Jun 2009 17:24:44 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 15 Jun 2009 17:24:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i28g2000prd.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.31 Safari/530.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:170076 X-Mailman-Approved-At: Mon, 15 Jun 2009 14:02:46 -0400 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:65304 Archived-At: On Jun 13, 1:57=A0pm, Xah Lee wrote: > On Jun 13, 12:07 pm, jida...@jidanni.org wrote: > > > There are plenty of > > bash$ help|wc > > =A0 =A0 =A046 =A0 =A0 449 =A0 =A03701 > > builtin bash commands that the *shell* buffer is unaware of, as it only > > knows about $PATH. > > > So how can I get > > bash$ hist > > to become > > bash$ history ? > > i don't think the example you have is traditional unix. Perhaps you > forgot the dollar sign? Also, in my env, there's no =93history=94 as env > var by default (never heard of that), but there's =93$HIST=94. > > env var expansion works in emacs's shell command in both OS X and > Windows Vista. However, when you run shell in emacs, not necessarly > all your env var in terminal are inherited. The situation is a bit > complex depending on what OS you running. Oops i glossed over your previous message. Just for posterity, never mind my previous reply. :) Xah