unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Olive <olive.lin@versateladsl.be>
Subject: Re: coding system
Date: Tue, 22 Mar 2005 15:32:46 +0100	[thread overview]
Message-ID: <42402c0f_5@x-privat.org> (raw)
In-Reply-To: <mailman.4714.1111501237.32256.help-gnu-emacs@gnu.org>

Joe Corneli wrote:
>    rebind the é key the command which works is
> 
>    (global-set-key [2281] 'foo)
> 
>    the command
> 
>    (global-set-key "é" 'foo)
> 
>    does not work.
> 
> 
> Since you have a working command, I guess this question is partly out
> of curiousity... so I don't feel bad about suggesting something that
> I'm not sure will help, but - out of curiousity, what does
> 
>  (kbd "?")
> 
> return?  
> 
> BTW, here, in a buffer with coding system described by
> (describe-current-coding-system) to be
> 
> Coding system for saving this buffer:
>   Not set locally, use the default.
> Default coding system (for new files):
>   nil
> Coding system for keyboard input:
>   nil
> Coding system for terminal output:
>   nil
> Defaults for subprocess I/O:
>   decoding: - -- undecided
> 
>   encoding: 1 -- iso-latin-1 (alias: iso-8859-1 latin-1)
> 
> a *local* binding to "?" works fine.
> 
> 

(kbd "?") return "?". All works as expected since "?" is an ASCII 
character. The reason to my question is that I want to understand emacs 
and the coding systems (so yes it is of curiousity). What confused me is 
that all seems to set to Latin-1 and nevertheless é is 2281, which I do 
not know were it come from.

Olive

  parent reply	other threads:[~2005-03-22 14:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22 12:47 coding system Olive
2005-03-22 13:57 ` Joe Corneli
     [not found] ` <mailman.4714.1111501237.32256.help-gnu-emacs@gnu.org>
2005-03-22 14:32   ` Olive [this message]
2005-03-23  0:43     ` Miles Bader
2005-03-22 19:08 ` Peter Dyballa
2005-03-26 23:46 ` Stefan Monnier
2005-03-27  6:56   ` B.T. Raven
2005-03-27 10:50     ` Eli Zaretskii
     [not found]     ` <mailman.321.1111924417.28103.help-gnu-emacs@gnu.org>
2005-03-27 15:54       ` Reiner Steib
2005-03-27 20:03         ` B.T. Raven
2005-03-29 14:54     ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2003-05-26  9:58 Stein A. Stromme
2003-05-26 11:05 ` lawrence mitchell
2003-05-26 11:52   ` Stein A. Stromme
2003-05-26 11:58     ` Stein A. Stromme
2003-05-26 13:47     ` Oliver Scholz
2003-05-26 13:55     ` Kai Großjohann

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=42402c0f_5@x-privat.org \
    --to=olive.lin@versateladsl.be \
    /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.
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).