[Top][All Lists]

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

Char 2208 mixed with char 32

From: Andreas Röhler
Subject: Char 2208 mixed with char 32
Date: Wed, 19 Dec 2007 21:27:35 +0100
User-agent: KMail/1.9.5

Hi all,

bug happens _not_ with Emacs -Q:

copying indented textes from KMail into Emacs, it
inserts sometimes non-breakable space (2208, #o4240,
#x8a0) where Emacs -Q inserts SPACE.

So a line with three spaces is inserted as
Char:   (2208, #o4240, #x8a0, file ...) 
Char: SPC (32, #o40, #x20)
Char:   (2208, #o4240, #x8a0, file ...)

Behaviour was affirmed by Peter Dyballa
<Peter_Dyballa@web.de> ...  Kopie:

who brought the following to consideration:

| So in future you might have problems finding words when  
| searching for SPC<some word> or when tabifying.

Indeed if we have


where the first is translated as reported, whereas the
second is indented by three SPC (32, #o40, #x20)

^[ ]+foo

matches only the second.

That may cause disturbances.


Andreas Röhler

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.10.6)
 of 2007-12-09 
Windowing system distributor `The X.Org Foundation', version 11.0.70199902
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  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: Englisch

Minor modes in effect:
  auto-completion-mode: t
  csv-field-index-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  partial-completion-mode: t
  iswitchb-mode: t
  auto-image-file-mode: t
  show-paren-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
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:

reply via email to

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