Subject: bug#3427: 23.0.94; bugs with non-7-bit buffer names

From: Peter Dyballa <[email-masked]>
Date: Sun, 31 May 2009 11:05:47 +0200

Hello!

In *Buffer List* one file name is written completely in my default font:

     Lüfter                  36  Fundamental	  ~/Lüfter
     Übersicht              959  Fundamental	  ~/Documents/Musik/ 
Nachtmix/Übersicht

         character: Ü (220, #o334, #xdc)
preferred charset: iso-8859-1 (Latin-1 (ISO/IEC 8859-1))
        code point: 0xDC
            syntax: w 	which means: word
          category: .:Base, j:Japanese, l:Latin
       buffer code: #xC3 #x9C
         file code: #xC3 #x9C (encoded by coding system utf-8-unix)
           display: by this font (glyph code)
     x:-b&h-lucidatypewriter-bold-r-normal-sans-10-100-75-75-m-60- 
iso8859-15 (#xDC)

Character code properties: customize what to show
   name: LATIN CAPITAL LETTER U WITH DIAERESIS
   general-category: Lu (Letter, Uppercase)
   canonical-combining-class: 0 (Spacing, split, enclosing,  
reordrant, and Tibetan subjoined)
   decomposition: (85 776) ('U' '̈')

There are text properties here:
   buffer               #<buffer Übersicht>
   buffer-name          "Übersicht"
   font-lock-face       buffer-menu-buffer
   help-echo            "mouse-2: select this buffer"
   mouse-face           highlight

         character: Ü (220, #o334, #xdc)
preferred charset: iso-8859-1 (Latin-1 (ISO/IEC 8859-1))
        code point: 0xDC
            syntax: w 	which means: word
          category: .:Base, j:Japanese, l:Latin
       buffer code: #xC3 #x9C
         file code: #xC3 #x9C (encoded by coding system utf-8-unix)
           display: by this font (glyph code)
     x:-b&h-lucidatypewriter-medium-r-normal-sans-10-100-75-75-m-60- 
iso8859-15 (#xDC)

Character code properties: customize what to show
   name: LATIN CAPITAL LETTER U WITH DIAERESIS
   general-category: Lu (Letter, Uppercase)
   canonical-combining-class: 0 (Spacing, split, enclosing,  
reordrant, and Tibetan subjoined)
   decomposition: (85 776) ('U' '̈')

while in another files' or buffers' names the lower case ä or  
capital Ü are taken from a different font although they also exist in  
the default font:

     Kanäle                6905  Fundamental	  ~/Kanäle
     Jabberwock.java       1059  Java/l		  ~/Im Übrigen/ 
Jabberwock.java
  %  Im Übrigen             995  Dired by name	  ~/Im Übrigen/

         character: a (97, #o141, #x61)
preferred charset: ascii (ASCII (ISO646 IRV))
        code point: 0x61
            syntax: w 	which means: word
          category: .:Base, a:ASCII, l:Latin, r:Roman
       buffer code: #x61
         file code: #x61 (encoded by coding system utf-8-unix)
           display: composed to form "ä" (see below)

Composed with the following character(s) "̈" using this font:
   x:-mutt-clearlyu-medium-r-normal--17-120-100-100-p-123-iso10646-1
by these glyphs:
   [0 1 97 97 7 1 7 7 0 nil]
   [0 1 776 776 0 0 5 14 -12 [-5 3 0]]

Character code properties: customize what to show
   name: LATIN SMALL LETTER A
   general-category: Ll (Letter, Lowercase)
   canonical-combining-class: 0 (Spacing, split, enclosing,  
reordrant, and Tibetan subjoined)

There are text properties here:
   buffer               #<buffer Kanäle>
   buffer-name          "Kanäle"
   font-lock-face       buffer-menu-buffer
   help-echo            "mouse-2: select this buffer"
   mouse-face           highlight

         character: U (85, #o125, #x55)
preferred charset: ascii (ASCII (ISO646 IRV))
        code point: 0x55
            syntax: w 	which means: word
          category: .:Base, a:ASCII, l:Latin, r:Roman
       buffer code: #x55
         file code: #x55 (encoded by coding system utf-8-unix)
           display: composed to form "Ü" (see below)

Composed with the following character(s) "̈" using this font:
   x:-mutt-clearlyu-medium-r-normal--17-120-100-100-p-123-iso10646-1
by these glyphs:
   [0 1 85 85 11 1 12 11 0 nil]
   [0 1 776 776 0 0 5 14 -12 [-7 -1 0]]

Character code properties: customize what to show
   name: LATIN CAPITAL LETTER U
   general-category: Lu (Letter, Uppercase)
   canonical-combining-class: 0 (Spacing, split, enclosing,  
reordrant, and Tibetan subjoined)

There are text properties here:
   buffer               #<buffer Im Übrigen>
   buffer-name          "Im Übrigen"
   font-lock-face       buffer-menu-buffer
   help-echo            "mouse-2: select this buffer"
   mouse-face           highlight

The attached screen-shot also shows that in pop-up menu some  
characters are displayed as decomposed UTF-8 characters (the ä in  
Kanäle becomes a¨) while others are converted to their byte  
sequences (ü in Lüfter and Sprüche is converted to C3 BC which are  
displayed as Ã¼).

In GNU Emacs 23.0.94.2 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
  of 2009-05-30 on Latsche.local
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--with-x-toolkit=athena' '--x-includes=/ 
usr/X11R6/include' '--x-libraries=/usr/X11R6/lib' '--enable- 
locallisppath=/Library/Application Support/Emacs/calendar23:/Library/ 
Application Support/Emacs' 'CPPFLAGS=-I/sw/include -idirafter -I/usr/ 
X11R6/include' 'CFLAGS=-Wno-pointer-sign -H -pipe -fPIC -mcpu=7450 - 
mtune=7450 -fast -mpim-altivec -ftree-vectorize -foptimize-register- 
move -freorder-blocks -freorder-blocks-and-partition -fthread-jumps - 
fpeephole -fno-crossjumping' 'LDFLAGS=-dead_strip -multiply_defined  
suppress -L/sw/lib''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Buffer Menu

Minor modes in effect:
   TeX-PDF-mode: t
   shell-dirtrack-mode: t
   diff-auto-refine-mode: t
   show-paren-mode: t
   display-time-mode: t
   desktop-save-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

--
Greetings

   Pete

’Twas a woman who drove me to drink, and I never had the courtesy to  
thank her for it.
				— W.C. Fields