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

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

case conversion by replace-match


From: Roland Winkler
Subject: case conversion by replace-match
Date: Fri, 16 May 2003 16:16:02 +0200

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-04-09 on tfkp12
configured using `configure  --prefix=/nfs/common --libexecdir=/nfs/common/lib 
--bindir=/nfs/common/lib/emacs/21.2/bin/i686-Linux 
--mandir=/nfs/common/share/man --infodir=/nfs/common/share/info --with-gcc 
--with-pop --with-x --with-x-toolkit=athena i386-pc-linux'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: POSIX
  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: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


Start a fresh emacs --no-init-file

define the following function

(defun foo ()
  (interactive)
  (let (case-fold-search)
    (while (search-forward "=FC" nil t)
      (replace-match (string 252) nil t))))

`(string 252)' gives a lowercase umlaut-u (iso-latin-1)

However, when foo is run in a buffer containing the string "=FC",
this string will be replaced with an uppercase umlaut-U.

PS In mime-encoded mails "=FC" represents a lowercase umlaut-u.
PPS Same problem with GNU Emacs 21.3.50.2.





reply via email to

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