From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: decode-coding-string gone awry? Date: Mon, 14 Feb 2005 16:29:44 -0500 Message-ID: References: <874qgf1dkv.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1108417252 31558 80.91.229.2 (14 Feb 2005 21:40:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2005 21:40:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 14 22:40:51 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0nxP-0004H3-SI for ged-emacs-devel@m.gmane.org; Mon, 14 Feb 2005 22:40:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0oCK-0004Hp-8R for ged-emacs-devel@m.gmane.org; Mon, 14 Feb 2005 16:56:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0oBz-0004Cs-F0 for emacs-devel@gnu.org; Mon, 14 Feb 2005 16:55:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0oBo-000491-Rv for emacs-devel@gnu.org; Mon, 14 Feb 2005 16:55:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0oBn-00045V-Gj for emacs-devel@gnu.org; Mon, 14 Feb 2005 16:55:31 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D0nmu-0005QO-Hf; Mon, 14 Feb 2005 16:29:48 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id AB79D8282A8; Mon, 14 Feb 2005 16:29:47 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 6C22F4AC213; Mon, 14 Feb 2005 16:29:44 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 51AF94BCF2; Mon, 14 Feb 2005 16:29:44 -0500 (EST) Original-To: David Kastrup In-Reply-To: (David Kastrup's message of "Mon, 14 Feb 2005 22:07:58 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.797, requis 5, autolearn=not spam, AWL 0.10, BAYES_00 -4.90) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33429 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33429 > Now I am venturing into the realm of pure luxury: is there a way to > have the eight-bit-* chars display as octal escapes always even when > real latin1 characters (inserted by a process with process-coding > latin1) get displayed transparently? I seem to remember that in those > "crazy" utf-8 buffers I had, those that were created by decoding > raw-text, there appeared latin-1 characters like the infamous =C3 > character. But maybe I am mistaken about that. I'll just experiment > with the stuff a bit and probably use C-x =3D a lot. The eight-bit-* chars are different characters than the latin1 ones, so they can indeed be displayed differently. The eight-bit-* chars have internal codes 128-255, so you can use slots 128-255 of char tables to control how they're displayed. If the display-table says "nil" for one of them it'll be displayed as \NNN. IIRC in many normal startup situations, those slots are set so as to display latin-1 chars. Stefan