From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuan Luo Newsgroups: gmane.emacs.help Subject: Re: customizing dircolors doesn't take effect in emacs shell Date: Sun, 8 Jan 2012 20:05:51 -0500 Message-ID: References: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0ce0ce48f2ef6a04b60dffab X-Trace: dough.gmane.org 1326071164 25021 80.91.229.12 (9 Jan 2012 01:06:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2012 01:06:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 09 02:06:00 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rk3gV-00021t-P8 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jan 2012 02:05:59 +0100 Original-Received: from localhost ([::1]:53144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk3gV-0002mI-7F for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jan 2012 20:05:59 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:57475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk3gQ-0002mD-OR for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 20:05:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk3gP-0003sE-HZ for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 20:05:54 -0500 Original-Received: from mail-bk0-f41.google.com ([209.85.214.41]:48397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk3gP-0003rw-97 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 20:05:53 -0500 Original-Received: by bkaq10 with SMTP id q10so1508746bka.0 for ; Sun, 08 Jan 2012 17:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JiMMQkZKm0f5Qk+CSRfWoLiIzUM1aBUnJywU3JUmDXE=; b=OeOAjTK8ygjPH9R5qsEG1uX695TDLB8KdurJRuwuBGWa0LXXJ/xJEB5Coom9I6ntP9 VtMs1kWDHD+/DXnCCBB8a/Fk9xce9VsXkvSDzJDEAhEISVd0tRU/VqwYMWugF3j9ZO7W PpUhmZajwYKfULTD6b7tfLhAL0BHo9BlGD/4U= Original-Received: by 10.205.127.2 with SMTP id gy2mr6275303bkc.87.1326071151783; Sun, 08 Jan 2012 17:05:51 -0800 (PST) Original-Received: by 10.205.83.135 with HTTP; Sun, 8 Jan 2012 17:05:51 -0800 (PST) In-Reply-To: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83421 Archived-At: --000e0ce0ce48f2ef6a04b60dffab Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Below is the output from 'alias' in an emacs shell alias alert=3D'notify-send --urgency=3Dlow -i "$([ $? =3D 0 ] && echo termi= nal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' alias egrep=3D'egrep --color=3Dauto' alias fgrep=3D'fgrep --color=3Dauto' alias grep=3D'grep --color=3Dauto' alias l=3D'ls -CF' alias la=3D'ls -A' alias ll=3D'ls -alF' alias ls=3D'ls --color=3Dauto' Anything noticeable? Best, Yuan On Sun, Jan 8, 2012 at 5:50 AM, Peter Dyballa wrote: > > Am 8.1.2012 um 01:36 schrieb Yuan Luo: > > > What could be the problem here? > > Are in GNU Emacs' *shell* buffer any shell aliases defined? Is > particularly your ls alias set? Which "ls" is found first for execution: > your recursive alias definition (alias ls=3D'ls --color=3Dauto' =96 which= "ls" is > which?) or the ls programme? > > -- > Greetings > > Pete > > Bake pizza not war! > > --000e0ce0ce48f2ef6a04b60dffab Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Below is the output from 'alias' in an emacs shell

alias ale= rt=3D'notify-send --urgency=3Dlow -i "$([ $? =3D 0 ] && ec= ho terminal || echo error)" "$(history|tail -n1|sed -e '\'= ;'s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'=
alias egrep=3D'egrep --color=3Dauto'
alias fgrep=3D'fgrep --= color=3Dauto'
alias grep=3D'grep --color=3Dauto'
alias l= =3D'ls -CF'
alias la=3D'ls -A'
alias ll=3D'ls -al= F'
alias ls=3D'ls --color=3Dauto'

Anything noticeable?

Best,
Yuan

On Sun, Jan 8, 2012 at 5:50 AM, Peter Dyballa <Peter_Dyballa@web.de> w= rote:

Am 8.1.2012 um 01:36 schrieb Yuan Luo:

> What could be the problem here?

Are in GNU Emacs' *shell* buffer any shell aliases defined? Is pa= rticularly your ls alias set? Which "ls" is found first for execu= tion: your recursive alias definition (alias ls=3D'ls --color=3Dauto= 9; =96 which "ls" is which?) or the ls programme?

--
Greetings

=A0Pete

Bake pizza not war!


--000e0ce0ce48f2ef6a04b60dffab--