From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: "more", "ls -l", and column 80 in shell Date: Mon, 26 Jun 2006 09:37:12 +0900 Message-ID: <878xnkbvlz.fsf@catnip.gol.com> References: <1150411474.595005.130180@p79g2000cwp.googlegroups.com> <1150468947.138065.135840@f6g2000cwb.googlegroups.com> <8764ip4lm7.fsf@tiger.rapttech.com.au> <871wtcdi5o.fsf@catnip.gol.com> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1151282259 24145 80.91.229.2 (26 Jun 2006 00:37:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Jun 2006 00:37:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 26 02:37:38 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 1Fuf6e-0001SI-Qz for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jun 2006 02:37:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fuf6e-0001ws-83 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jun 2006 20:37:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fuf6P-0001v7-FD for help-gnu-emacs@gnu.org; Sun, 25 Jun 2006 20:37:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fuf6N-0001uJ-Dj for help-gnu-emacs@gnu.org; Sun, 25 Jun 2006 20:37:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fuf6N-0001uD-60 for help-gnu-emacs@gnu.org; Sun, 25 Jun 2006 20:37:19 -0400 Original-Received: from [203.216.5.72] (helo=smtp02.dentaku.gol.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FufI7-0007yc-9X; Sun, 25 Jun 2006 20:49:27 -0400 Original-Received: from 203-216-98-193.dsl.gol.ne.jp ([203.216.98.193] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1Fuf6J-0000AW-9l; Mon, 26 Jun 2006 09:37:15 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 25D102F66; Mon, 26 Jun 2006 09:37:12 +0900 (JST) Original-To: help-gnu-emacs@gnu.org System-Type: i686-pc-linux-gnu In-Reply-To: (Peter Dyballa's message of "Mon, 26 Jun 2006 00:58:10 +0200") Original-Lines: 29 X-Abuse-Complaints: abuse@gol.com 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:35659 Archived-At: Peter Dyballa writes: >>> I had to prevent the colourising feature, now I actually have to >>> turn it on actively! GNU's ls is not that careful -- and it cannot >>> display UTF-8 characters! >> >> Huh? Neither of these things seem to be true.... > > It is true for a *shell* buffer in GNU Emacs 22.0.50: I see ``a box>=C2=B4=C2=B4 instead of ``=C3=A4=C2=B4=C2=B4, as in dired. In GNU Ema= cs 23.0.0 it all looks > right. Sounds like your environment is messed up. What do you have LANG set to? Emacs will use LANG to try and set the correct decoding for process output (look at the mode-line of the *shell* buffer: there should be a "u:" at the beginning if your system is using utf-8). Also I think (but only based on observation) that ls will only output raw characters if they are valid in the locale named by LANG, and AFAIK, "valid" means listed in "/etc/locale.gen". [ I have: LANG=3D"ja_JP.UTF-8" ] I'm using Emacs 22.0.50 (of a week or so ago) too. -Miles --=20 A zen-buddhist walked into a pizza shop and said, "Make me one with everything."