help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: coding system


From: Olive
Subject: Re: coding system
Date: Tue, 22 Mar 2005 15:32:46 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040618

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


reply via email to

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