From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roland Winkler Newsgroups: gmane.emacs.devel Subject: Re: displaying 8bit characters octal sequences Date: Mon, 11 Oct 2004 19:58:03 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <16746.51627.50070.868521@tfkp07.physik.uni-erlangen.de> References: <16745.47326.410973.405187@tfkp07.physik.uni-erlangen.de> <16745.49453.600094.942187@tfkp07.physik.uni-erlangen.de> <16746.39051.648788.798698@tfkp07.physik.uni-erlangen.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1097517617 29843 80.91.229.6 (11 Oct 2004 18:00:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2004 18:00:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 11 20:00:08 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CH4Ss-0005uO-00 for ; Mon, 11 Oct 2004 20:00:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CH4Zp-00049M-K5 for ged-emacs-devel@m.gmane.org; Mon, 11 Oct 2004 14:07:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CH4YE-00032P-4x for emacs-devel@gnu.org; Mon, 11 Oct 2004 14:05:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CH4YB-00030l-Lj for emacs-devel@gnu.org; Mon, 11 Oct 2004 14:05:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CH4Y9-0002zi-Pr for emacs-devel@gnu.org; Mon, 11 Oct 2004 14:05:33 -0400 Original-Received: from [131.188.3.181] (helo=max71.rrze.uni-erlangen.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CH4R9-0004Tz-S9 for emacs-devel@gnu.org; Mon, 11 Oct 2004 13:58:20 -0400 Original-Received: from localhost ([131.188.3.181] [131.188.3.181]) by max71.rrze.uni-erlangen.de with ESMTP; Mon, 11 Oct 2004 19:58:13 +0200 Original-Received: from max71.rrze.uni-erlangen.de ([131.188.3.181]) by localhost (max71 [131.188.2.91]) (amavisd-new, port 10025) with ESMTP id 21135-01-10449; Mon, 11 Oct 2004 19:58:13 +0200 (MEST) Original-Received: from tfkp07.physik.uni-erlangen.de (tfkp07.physik.uni-erlangen.de [131.188.164.207]) by max71.rrze.uni-erlangen.de with ESMTP; Mon, 11 Oct 2004 19:58:12 +0200 Original-To: Stefan In-Reply-To: X-Mailer: VM 7.17 under Emacs 21.3.50.7 X-Virus-Scanned: by amavisd-new-20030616 (RRZE) on max71.rrze.uni-erlangen.de 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28248 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28248 On Mon Oct 11 2004 Stefan wrote: > > Stefan, thanks a lot, though I am still not sure I understand > > correctly what you say. If I understand you right >=20 > > (standard-display-default 128 255) >=20 > > should work if I am not in unibyte mode.=20 >=20 > Yes, but it only applies to chars in the 128-255 range (in the > domain of the chars internal to Emacs, not in latin-1, or koi-8, > or whathaveyou). Thanks, I believe I understand what you mean. > When not in multibyte mode, most likely your umlaute are correctly > recognized as latin-1 and represented as latin-1 chars internally > (with codepoints around 2200 or 2300 IIRC). Try C-u C-x =3D on one > of those chars. The codepoint in my particular example is 228: character: =E4 (0344, 228, 0xe4) charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF)) code point: 228 syntax: w which means: word buffer code: 0xE4 file code: 0xE4 (encoded by coding system raw-text-unix) display: by display table entry [?] (see below) The display table entry is displayed by these fonts (glyph codes): =E4: -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1 (0xE4) > To see the octal sequence try: open the file in unibyte mode, then ty= pe > M-x toggle-enable-multibyte-characters RET. When I load the file in an emacs --unibyte, then I type M-x toggle-enable-multibyte-characters RET nothing happens. Roland