emacs-devel
[Top][All Lists]
Advanced

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

Re: How to avoid insert anything without switching to read only


From: Stefan Monnier
Subject: Re: How to avoid insert anything without switching to read only
Date: Mon, 11 Jul 2005 09:37:04 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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

  (define-key the-viper-map-for-vi-mode [remap self-insert-command] 'undefined)


-- Stefan




reply via email to

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