From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [harder@ifa.au.dk: `set-locale-environment' bug] Date: 29 Oct 2003 08:39:53 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200310280714.QAA05836@etlken.m17n.org> <9791-Tue28Oct2003222608+0200-eliz@elta.co.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1067409708 11462 80.91.224.253 (29 Oct 2003 06:41:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2003 06:41:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 29 07:41:46 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEk1a-0001Rx-00 for ; Wed, 29 Oct 2003 07:41:46 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEk1a-0004ML-00 for ; Wed, 29 Oct 2003 07:41:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEk0J-0003Zn-N6 for emacs-devel@quimby.gnus.org; Wed, 29 Oct 2003 01:40:27 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AEjz3-0002uK-WF for emacs-devel@gnu.org; Wed, 29 Oct 2003 01:39:10 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AEjxs-0002HO-1Y for emacs-devel@gnu.org; Wed, 29 Oct 2003 01:38:27 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1AEjxr-0002FA-CG; Wed, 29 Oct 2003 01:37:55 -0500 Original-To: Jesper Harder In-reply-to: (message from Jesper Harder on Wed, 29 Oct 2003 00:52:36 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17536 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17536 > From: Jesper Harder > Date: Wed, 29 Oct 2003 00:52:36 +0100 > > (standard-display-8bit (if (eq window-system 'pc) 128 160) 255) > > This controls how eight-bit-control and eight-bit-graphics is > displayed, right? No. window-system's value is `pc' only for the MS-DOS port of Emacs. On other systems, this sets up the display of characters whose 8-bit codepoints are [160..255], i.e., the normal 8-bit region of Latin-1 characters. In other words, for a typical Unix or GNU system in the dk locale, this line instructs Emacs to send the 8-bit codes of Latin-1 characters directly to the terminal, which is what I think you'd want, since terminals in your locale generally support display of Latin-1 characters. > (aset standard-display-table 146 [39]) > > I think this is a bit evil. Lisp, TeX, C, etc. do not consider 146 > and 39 to be the same character. Making them indistinguishable makes > it hard to locate errors caused by the presence of \222 rather than ' > in source code. Then undo that line in your ~/.emacs. I think most users do want that, though; the code is based on user experience, IIRC. In particular, many mail messages sadly include that character, so displaying it as \222 would make problems elsewhere.