unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
To: emacs-devel@gnu.org
Subject: Re: [Unicode-2] euro sign disappears
Date: Fri, 16 Nov 2007 12:41:00 +0000 (UTC)	[thread overview]
Message-ID: <m1It0VI-002K4JC@rattlesnake.com> (raw)
In-Reply-To: <b4mmyte1zp1.fsf@jpl.org> (message from Katsumi Yamaoka on Fri, 16 Nov 2007 15:17:46 +0900)

Katsumi Yamaoka <yamaoka@jpl.org> said

    I found strange behaviors of Emacs Unicode-2 when displaying the
    euro sign.  ...

    (insert (make-char 'latin-iso8859-15 164))

Weirdly enough, in a non-unicode-2 instance of Emacs

    Today's GNU Emacs CVS snapshot, Fri, 2007 Nov 16  10:51 UTC
    GNU Emacs 23.0.50.5 (i686-pc-linux-gnu, GTK+ Version 2.12.1)
    started with

        emacs -q -D

in the *mail* buffer, I was able to evoke a Euro sign using that
expression after inserting it.  Also, I could see the Euro symbol when
I evoked that expression in a nonce buffer and `C-u C-x ='
(`what-cursor-position' with an argument) said:

      character: € (3876, #o7444, #xf24, U+20AC)
        charset: latin-iso8859-15
                 (Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15):
                  ISO-IR-203.)
     code point: #x24
         syntax: w 	which means: word
       category: l:Latin
    buffer code: #x8E #xA4
      file code: not encodable by coding system iso-latin-1
        display: by this font (glyph code)
         -Adobe-Courier-Medium-R-Normal--18-180-75-75-M-110-ISO8859-15 (#xA4)

However, I put that same expression,
    (insert (make-char 'latin-iso8859-15 164))
in my .emacs file (which was not evaluated), evaluated the Euro sign
expression only, and saw \244.  `C-u C-x =' says

      character: ¤ (164, #o244, #xa4)
        charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF))
     code point: #xA4
         syntax:   	which means: whitespace
    buffer code: #xA4
      file code: #xA4 (encoded by coding system utf-8)
     display: by this font (glyph code)
         -Adobe-Courier-Medium-R-Normal--17-120-100-100-M-100-ISO8859-1 (#xA4)

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

      parent reply	other threads:[~2007-11-16 12:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16  6:17 [Unicode-2] euro sign disappears Katsumi Yamaoka
2007-11-16  7:10 ` Kenichi Handa
2007-11-16  7:27   ` Katsumi Yamaoka
2007-11-16 10:24     ` Kenichi Handa
2007-11-16 11:06       ` Katsumi Yamaoka
2007-11-16 15:39       ` Stefan Monnier
2007-11-16 12:41 ` Robert J. Chassell [this message]

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=m1It0VI-002K4JC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    --cc=emacs-devel@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).