unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@web.de>
Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org, rms@gnu.org,
	Kenichi Handa <handa@m17n.org>
Subject: Re: GNU Emacs 22.0.50 fails to find ä in different ISO Latin encodings
Date: Fri, 22 Sep 2006 11:06:03 +0200	[thread overview]
Message-ID: <453787ED-925B-49B5-A203-3211329FCB13@web.de> (raw)
In-Reply-To: <buopsdozq5h.fsf@dhapc248.dev.necel.com>


Am 22.09.2006 um 02:44 schrieb Miles Bader:

> Peter Dyballa <Peter_Dyballa@web.de> writes:
>> Anyway, what also does not work is: C-s C-q <a non-ASCII, i.e.   
>> greater
>> 177 octal code>. For those with really small keyboards this  is the
>> (almost?) only chance to find some of the x times 64 K  characters in
>> Unicode ...
>
> Eh?  It works for me:
>
> E.g., the Emacs 22 character code of "字" is octal 0156772.
>
> If I enter C-s C-q 0156772 (followed by some other char to  
> terminate the
> octal code), it correctly adds that character to the search string  
> (and
> finds in the buffer).


OK, I did not check in the "higher" Unicode regions, and I did not  
check in an UTF-8 encoded buffer, and I did not input so long numbers  
I cannot compute, I was still in my simple ISO 8859-X test files  
(your example works for me too in an UTF-8 encoded buffer). After  
launching GNU Emacs 22.0.50 with -Q the phenomenon seems to be that  
input like

	C-s C-q <[23][0-7][0-7]> RET

is interpreted as trying to "name/point to" an ISO 8859-1 encoded  
character. For example:

	C-s C-q 245 in ISO 8859-16 does not find ``„´´ (U+201E) – mini- 
buffer tells me that ``¥´´ (\245 in ISO 8859-1) cannot be found.

C-s C-q 241 RET searches for ¡.
C-s C-q 242 RET searches for ¢.
C-s C-q 243 RET searches for £.
C-s C-q 244 RET searches for ¤ (CURRENCY SIGN, U+00A4).

Evaluating (unify-8859-on-decoding-mode t) does not change this  
specific behaviour.



Which is the formula to map octal 0156772 to a Unicode slot/position?  
Octal 0156772 is DDFA in hex, which is different from 5B57, 字's  
position in Unicode. Or: how can I find the octal value for a given  
Unicode slot (U+ABCD)? There is probably some function for this  
purpose ...

--
Greetings

   Pete

"It isn't pollution that's harming the environment. It's the  
impurities in our air and water that are doing it."

  reply	other threads:[~2006-09-22  9:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <F021B5CA-A186-4AFB-B650-520DBB6261C4@Web.DE>
2006-09-19  3:58 ` GNU Emacs 22.0.50 fails to find ä in different ISO Latin encodings Kenichi Handa
2006-09-19  6:43   ` David Kastrup
2006-09-19 22:57   ` Richard Stallman
2006-09-20  7:10     ` Kenichi Handa
2006-09-20  7:43       ` Peter Dyballa
2006-09-20  8:05         ` Kenichi Handa
2006-09-20 11:17           ` Peter Dyballa
2006-09-21  2:13             ` Kenichi Handa
2006-09-21  8:09               ` Peter Dyballa
2006-09-21 23:22               ` Peter Dyballa
2006-09-22  0:44                 ` Miles Bader
2006-09-22  9:06                   ` Peter Dyballa [this message]
2006-09-22 10:31                     ` Miles Bader
2006-09-22 10:55                       ` Peter Dyballa
2006-09-22 11:27                         ` Miles Bader
2006-09-22 22:54                           ` Peter Dyballa
2006-09-22 23:25                             ` Miles Bader
2006-09-23  8:45                               ` Peter Dyballa
2006-09-24  1:51                                 ` Miles Bader
2006-09-23  3:34                           ` Richard Stallman
2006-09-23  5:18                             ` Miles Bader
2006-09-24  2:10                               ` Richard Stallman
2006-09-22  1:06                 ` Kenichi Handa
2006-09-22  9:32                   ` Peter Dyballa
2006-09-21 17:20       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=453787ED-925B-49B5-A203-3211329FCB13@web.de \
    --to=peter_dyballa@web.de \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=handa@m17n.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).