Wolfgang Jenkner <[email protected]> writes: > Vegard Øye <[email protected]> writes: > >> On 2011-09-23 15:28 +0200, Wolfgang Jenkner wrote: >> >>> I noticed this as well and tried to implement the behaviour specified in >>> >>> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/vi.html >> >> Thanks for the patch, applied in commit 1cf75ed with some modifications >> (I moved the \r -> \n stuff into `evil-read-key'). > > Thanks, but ...
And also... From 658b3748c7735b11fc90f9eb0d43963a2d7de77b Mon Sep 17 00:00:00 2001 From: Wolfgang Jenkner <[email protected]> Date: Mon, 26 Sep 2011 19:03:27 +0200 Subject: [PATCH] Special handling of r<escape> (do nothing) was lost in translation. Not sure about the existing uses of evil-read-key in evil-insert-digraph. --- evil-compatibility.el | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/evil-compatibility.el b/evil-compatibility.el index 7d7740f..5cd6df4 100644 --- a/evil-compatibility.el +++ b/evil-compatibility.el @@ -36,8 +36,9 @@ Translates it according to the input method." (setq char (aref (read-key-sequence prompt nil t) 0)) (if (memq char '(?\C-q ?\C-v)) (read-quoted-char) - (or (cdr (assq char '((?\r . ?\n)))) - char))) + (unless (eq char ?\e) + (or (cdr (assq char '((?\r . ?\n)))) + char)))) (use-global-map old-global-map)))) ;; `make-char-table' requires this property in Emacs 22 -- 1.7.6.1 _______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
