From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: global-set-key [? \ M-ö]
Date: 28 May 2003 16:29:28 -0400 [thread overview]
Message-ID: <5l1xyirf13.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: mailman.6937.1054152210.21513.help-gnu-emacs@gnu.org
> My failing memory keeps telling me that a coding cookie was not always
> enough, e.g. if the various language-environment specific aspects are
> set up _after_ the non-ASCII keybinding is read. Again, I might be
> out of touch with the current codebase.
But assuming the coding-system of the file is the same as the one of the
keyboard, the only possible problem is if reading the .emacs (and other
things) end up changing the behavior of that coding-system.
Most coding-systems have an immutable behavior. The only exception I know
of is coding-systems that do some form of unification upon decoding
and might unify into different charsets at different times.
I guess I could build a setup where the problem manifests itself, but
I don't know how common it is and I suspect that any such setup would
require significant changes to make it work with a unibyte .emacs.
...
Hmmm.... it seems that there's one case where a unibyte answer might
make sense: the user wants to use latin-9 but also has some latin-1 files
and doesn't want to suffer from the corner cases of encode-only
unification, so he turns on decode-unification in his .emacs. His keyboard
coding system is set to latin-9, but unification translates most of those
to latin-1 chars, so his .emacs should be read as latin-1 for most
non-ASCII keybindings. A unibyte cookie in the .emacs won't directly help,
but if you additionally set the keyboard-coding-system to nil, it might
end up working.
Stefan
next prev parent reply other threads:[~2003-05-28 20:29 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-19 19:55 global-set-key [?\ M-ö] Martin aus Chemnitz
[not found] ` <87of1ybr5p.fsf@bach.composers>
2003-05-19 21:44 ` global-set-key [? \M-ö] Jesper Harder
2003-05-21 7:41 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-21 15:55 ` global-set-key [? \M-ö] Stefan Monnier
2003-05-22 9:59 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-22 13:24 ` global-set-key [? \M-ö] Stefan Monnier
2003-05-22 16:43 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-22 17:41 ` global-set-key [? \M-ö] Stefan Monnier
2003-05-22 19:01 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-22 20:49 ` global-set-key [? \M-ö] Stefan Monnier
2003-05-24 9:18 ` global-set-key [?\ M-ö] Eli Zaretskii
2003-05-24 9:02 ` global-set-key [? \M-ö] Harald Maier
2003-05-24 9:16 ` global-set-key [?\ M-ö] Eli Zaretskii
[not found] ` <mailman.6685.1053767730.21513.help-gnu-emacs@gnu.org>
2003-05-24 15:10 ` global-set-key [? \ M-ö] Stefan Monnier
2003-05-28 3:49 ` Eli Zaretskii
[not found] ` <mailman.6886.1054093722.21513.help-gnu-emacs@gnu.org>
2003-05-28 9:17 ` Kai Großjohann
2003-05-29 10:45 ` Martin aus Chemnitz
2003-05-29 11:56 ` Kai Großjohann
2003-05-29 12:35 ` Martin aus Chemnitz
2003-05-29 13:13 ` Kai Großjohann
2003-05-29 13:55 ` Martin aus Chemnitz
2003-05-29 14:19 ` Kai Großjohann
2003-05-29 14:31 ` Stefan Monnier
2003-05-28 14:38 ` Stefan Monnier
2003-05-28 15:49 ` Eli Zaretskii
[not found] ` <mailman.6914.1054137212.21513.help-gnu-emacs@gnu.org>
2003-05-28 16:51 ` Kai Großjohann
2003-05-28 19:58 ` Eli Zaretskii
[not found] ` <mailman.6936.1054151969.21513.help-gnu-emacs@gnu.org>
2003-05-29 8:23 ` Kai Großjohann
2003-05-29 13:43 ` Eli Zaretskii
2003-05-28 17:53 ` Stefan Monnier
2003-05-28 20:04 ` Eli Zaretskii
[not found] ` <mailman.6937.1054152210.21513.help-gnu-emacs@gnu.org>
2003-05-28 20:29 ` Stefan Monnier [this message]
2003-05-29 8:25 ` Kai Großjohann
2003-05-25 23:22 ` global-set-key [?\ M-ö] Martin aus Chemnitz
2003-05-26 0:05 ` global-set-key [? \ M-ö] Stefan Monnier
2003-05-26 5:22 ` global-set-key [?\ M-ö] Kai Großjohann
2003-05-26 6:23 ` Kai Großjohann
2003-05-26 17:21 ` Eli Zaretskii
2003-05-22 16:38 ` global-set-key [?\M-ö] 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5l1xyirf13.fsf@rum.cs.yale.edu \
--to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
/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.