all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to avoid insert anything without switching to read only
@ 2005-07-09  8:43 Lennart Borgman
  2005-07-10  5:19 ` Richard M. Stallman
  2005-07-11 13:37 ` Stefan Monnier
  0 siblings, 2 replies; 9+ messages in thread
From: Lennart Borgman @ 2005-07-09  8:43 UTC (permalink / raw)


In viper-mode nothing should be inserted if you are in vi mode. It works 
for all keys that are assigned commands (like i, o, a etc), but it does 
not work for national characters. Those are not assigned to anything in 
viper. I suggested to the maintainer that this should be fixed by 
advising `self-insert'. Those national characters are bound to 
self-insert according to help (C-h c). Michael was very helpful and 
added this.

However to my surprise it does not work. I have tried to find out why. 
It seems like the adise is not called. I suspect that it has something 
to do with key-translation-map where it looks like those characters are 
translated with `encoded-kbd-self-insert-ccl' if I understand this 
correctly.

How can this be handled?

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

end of thread, other threads:[~2005-07-11 13:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-09  8:43 How to avoid insert anything without switching to read only Lennart Borgman
2005-07-10  5:19 ` Richard M. Stallman
2005-07-10 22:09   ` Kim F. Storm
2005-07-10 22:30     ` Lennart Borgman
2005-07-10 23:05       ` David Kastrup
2005-07-10 23:32         ` Lennart Borgman
2005-07-11  8:09       ` Kim F. Storm
2005-07-11 13:37 ` Stefan Monnier
2005-07-11 13:52   ` Lennart Borgman

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.