>>>> "VK" == Vasily Korytov
<deskpot(a)myrealbox.com> writes:
VK> But not in i-search in dired or view-mode, or
VK> gnus-summary-mode (according to the news:gnu.emacs.gnus
VK> newsgroup, the problem with the latter also occurs in
VK> MULE-enabled XEmacs -- but not in GNU Emacs;
Ah, OK, all of those are likely to override the whole global-map since
they use many letters for commands and don't want others to ever
self-insert. Hm ... dired uses suppress-keymap for this.
SJT> (define-key global-map [Cyrillic_te] #'self-insert-command)
SJT> (put Cyrillic_te 'ascii-character ?т)
VK> Maybe, a typo in the second string? It does not evaluate here.
You're right, the Cyrillic_te needs to be quoted
(put 'Cyrillic_te 'ascii-character ?т)
However, this is evidently irrelevant; if the keysym were unrecognized
you couldn't use isearch in _any_ mode. Don't do either of those
define-keys or the put 'ascii-character. It shouldn't hurt but it
can't help.
I'd be curious to know if quoting a Cyrillic character with C-q
helps. (Just an experiment and maybe a workaround for the occasional
case where you only need a couple of Cyrillic characters for the
search.)
Try M-x find-library RET isearch-mode RET, find the variable
isearch-mode-keymap, and in the loop where it binds most stuff to
'isearch-printing-character, change the while loop bound from 127 to
255 [this is non-Mule, right?], and M-x byte-compile-and-load-file RET
RET. Then try it.
If that gives satisfactory results, to get it in future invocations of
XEmacs you'll have to redump XEmacs (rm src/xemacs; make &
get-coffee-or-beverage-of-choice ;-) because isearch-mode is
preloaded.
The current code is very very wrong, but I'm not sure what is the
Right Thing to do yet. However, I think the above workaround is safe,
and if it works for you I will recommend it to Vin for inclusion in
21.4. (Protected by (if (featurep 'mule) 127 255) until we know it is
safe for Mule---if someone out there in Cyrillic or ISO 8859-land who
uses Mule would confirm it doesn't blow up your terminal I'd love to
hear about it! Note: it will not help for Cyrillic under Mule because
Cyrillic doesn't map to 128--255 under Mule.)
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.