unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Non-ASCII characters Key binding (emacs 21.4)
@ 2005-10-16 21:54 Mounir AITTAHAR
  2005-10-17  3:08 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Mounir AITTAHAR @ 2005-10-16 21:54 UTC (permalink / raw)


Hi,

On emacs 20.7 (yes), i wrote some lisp functions in order to
subsitute local characters (like é, ô) with sgml values (like é, 
ô) or LaTeX corresponding sequences (like \'e,\^o).

Theses functions looked like :

(local-set-key (vector 233) ;
                   (lambda()(interactive)(sgml-name-char 233)))
Or,
(local-set-key (vector 233)
                   (lambda()(interactive) (insert "è")))


On emacs 20.7, it worked. On emacs 21.4, it doesn't work more.
I've tried to found why trough Google search, tried several way likee
but nothing.

233 is the value of "grave e" character.

I'm using a vector because it is told on the description of 
local-set-key , and to prevent the problem of multibytes
characters (GNU Emacs manual : 
http://www.gnu.org/software/emacs/elisp-manual/html_node/elisp_333.html).

What have i done wrong ? Is this a known problem ?

Thanks and regards,

-- 
Mounir AITTAHAR
PS : this mail is in iso-latin-1. I hope it will be readable by all.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-10-25 13:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-16 21:54 Non-ASCII characters Key binding (emacs 21.4) Mounir AITTAHAR
2005-10-17  3:08 ` Stefan Monnier
2005-10-18 15:58   ` Mounir AITTAHAR
2005-10-18 16:06     ` Mounir AITTAHAR
2005-10-18 16:51     ` Pascal Bourguignon
2005-10-19  8:51       ` Mounir AITTAHAR
2005-10-19 23:11         ` Stefan Monnier
2005-10-17 11:47 ` Mounir AITTAHAR
2005-10-18 12:35   ` Mounir AITTAHAR
2005-10-19  1:47     ` Pascal Bourguignon
2005-10-24 19:23 ` [solved] " Mounir AITTAHAR
2005-10-24 23:52   ` Stefan Monnier
2005-10-25 13:29     ` Mounir AITTAHAR

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).