all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: David Reitter <david.reitter@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Euro sign bound, Pound sign not bound. (Bug?)
Date: Sat, 05 May 2007 10:14:50 +0300	[thread overview]
Message-ID: <uhcqr3fo5.fsf@gnu.org> (raw)
In-Reply-To: <3BCA4F6F-E062-4D08-9BFD-871CCD375CE5@gmail.com> (message from David Reitter on Sat, 5 May 2007 07:57:59 +0100)

> From: David Reitter <david.reitter@gmail.com>
> Date: Sat, 5 May 2007 07:57:59 +0100
> 
> On 4 May 2007, at 22:17, Richard Stallman wrote:
> 
> >     The following strikes me as strange:
> >
> >     (key-binding "=80") ;; (Euro character) returns 'self-insert- 
> > command, =
> >     but
> >     (key-binding "=A3") ;; (Pound character) returns nil
> >
> >     Is this a bug?
> >
> > Maybe.  Can you type these two characters on your keyboard?
> 
> Yes.
> 
> > If so, what happens?  Do they insert themselves?
> 
> Yes.
> 
> C-h k tells me, for both of them, that they are bound to `self-insert- 
> command'.

Yes, but what gets inserted is not A3 hex.  Observe:

> Pound sign:
>    character: £ (2211, #o4243, #x8a3, U+00A3)
> [...]
> buffer code: #x81 #xA3

So as you see, that character is 8A3 hex, not A3 hex.  The latter is
its Latin-1 encoding, but inside Emacs it is known under a different
code.

  reply	other threads:[~2007-05-05  7:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <48757C73-0262-43AC-B2CB-84ECA7642727@gmail.com>
2007-05-04 21:17 ` Euro sign bound, Pound sign not bound. (Bug?) Richard Stallman
2007-05-05  6:57   ` David Reitter
2007-05-05  7:14     ` Eli Zaretskii [this message]
2007-05-05 23:19     ` 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

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

  git send-email \
    --in-reply-to=uhcqr3fo5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=david.reitter@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.