emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

For compare-windows ö is not ö (or ß is n ot ß, or ü is not ü, ...)


From: Peter Dyballa
Subject: For compare-windows ö is not ö (or ß is n ot ß, or ü is not ü, ...)
Date: Fri, 27 Oct 2006 18:59:04 +0200

Hello!

I have two files, saved *Messages* buffer. When I open them each mode- line starts with ``-u:´´. When I compare them, compare-windows reports ö in buffer a is not ö in buffer b, ß in buffer a is not ß in buffer, ü in buffer a is not ü in buffer b.

Because "live" *Messages* do not contain these characters when I launch GNU Emacs with -Q, I copy part of *Messages* from another running GNU Emacs into *scratch* buffer, which also has a mode-line starting with ``-u:´´. Again ö, ß, and ü are not found to be equal. C- u C-x = on the ö characters reveals for *scratch* buffer:

  character: ö (3958, #o7566, #xf76, U+00F6)
    charset: latin-iso8859-15
(Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15): ISO- IR-203.)
code point: #x76
     syntax: w  which means: word
   category: l:Latin
buffer code: #x8E #xF6
  file code: #xC3 #xB6 (encoded by coding system mule-utf-8)
    display: by this font (glyph code)
-B&H-LucidaTypewriter-Medium-R-Normal-Sans-10-100-75-75-M-60- ISO8859-15 (#xF6)

and for the opened file, i.e. the saved *Messages*:

  character: ö (2294, #o4366, #x8f6, U+00F6)
charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100.)
code point: #x76
     syntax: w  which means: word
   category: l:Latin
buffer code: #x81 #xF6
  file code: #xC3 #xB6 (encoded by coding system mule-utf-8-unix)
    display: by this font (glyph code)
-B&H-LucidaTypewriter-Medium-R-Normal-Sans-10-100-75-75-M-60- ISO10646-1 (#xF6)

I cannot see any sense in treating UTF-8 characters so differently in an UTF-8 based environment.


In GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.8.0, X toolkit, Xaw3d scroll bars)
of 2006-10-27 on Latsche
X server distributor `The XFree86 Project, Inc', version 11.0.40400000
configured using `configure '--without-sound' '--without-pop' '--with- xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--enable- locallisppath=/Library/Application Support/Emacs/calendar22:/Library/ Application Support/Emacs/preview:/Library/Application Support/Emacs/ auctex/images:/Library/Application Support/Emacs/auctex:/Library/ Application Support/Emacs' 'CFLAGS=-pipe -fPIC -fast -mcpu=7450 - mtune=7450 -mpim-altivec -ftree-vectorize -foptimize-register-move - freorder-blocks -freorder-blocks-and-partition -fthread-jumps - fpeephole -fno-crossjumping' 'CPPFLAGS=-I/usr/local/include -I/sw/ include/libpng12 -I/sw/include' 'LDFLAGS=-dead_strip -L/usr/X11R6/lib -L/usr/local/lib -L/sw/lib/ncurses -L/sw/lib' 'CC=gcc' 'CPP=gcc -E - no-cpp-precomp -I/usr/local/include -I/sw/include/libpng12 -I/sw/ include -L/usr/X11R6/lib -L/usr/local/lib -L/sw/lib/ncurses -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
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-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
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

--
Mit friedvollen Grüßen

  Pete

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]