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

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

Re: Re: Can't isearch 'ö'


From: Peter Dyballa
Subject: Re: Re: Can't isearch 'ö'
Date: Sat, 16 Apr 2005 15:53:07 +0200

Hello!

I deleted your patch from keyboard.c, i.e. renamed the file and took the copy of the original keyboard.c Emacs built yesterday when I applied your patch. Then I remade emacs (make clean; make bootfast) and launched the unpatched and the version like:

env LANG=de_DE.ISO8859-1 LC_CTYPE=de_DE.ISO8859-1 src/emacs -q -g 80x45 & env LANG=de_DE.ISO8859-1 LC_CTYPE=de_DE.ISO8859-1 /usr/local/bin/emacs -q -g 80x45+750+25 &

With C-d I opened in dired mode the directory with my test files. Pointing on a file with the mouse cursor opened it in the other or a newly created buffer. To search for é I entered: C-s ´ e.

Initially unify-8859-on-decoding-mode was off, after the first tests I switched that mode on via ESC-x unif TAB de TAB RET.

Am 15.04.2005 um 14:26 schrieb Stefan Monnier:

I think I got the reason for this behaviour:
  '(unify-8859-on-decoding-mode t nil (ucs-tables))

I'm not sure I completely understood your previous mails, so
just to be sure, here is what I believe to be what you said:

- "emacs -q" in a latin-1 locale has problems isearching for an
  é in a latin-9 buffer.

With your patch to keyboard.c it works, i.e. i-search é finds the character in my test file "ISO 8859-15.txt", without the patch it does not work, i.e. i-search does not find é.
unify-8859-on-decoding-mode's value is nil.


- "emacs -q" plus M-x unify-8859-on-decoding-mode in a latin-1 locale
  also has trouble isearching for é in a latin-9 buffer.

With your patch to keyboard.c it does not work, i.e. i-search é does not find the character in my test file "ISO 8859-15.txt", without the patch it works, i.e. i-search finds é.
unify-8859-on-decoding-mode's value is t.


- my patch fixes the first but not the second problem.

Right?

Yes, it just moves it.

This means that I have to correct my email from yesterday night. Somehow. The difference is that you have to close the buffer, then toggle unify-8859-on-decoding-mode's value, then open the test file again. Only this does en effet change the value and the success i-search has or has not.

--
Greetings

  Pete

Testing is fine, but causes some work!




reply via email to

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