|
From: | Ergus |
Subject: | Re: Is Elisp really that slow? |
Date: | Tue, 11 Jun 2019 15:06:48 +0200 |
User-agent: | NeoMutt/20180716 |
Hi Stefan: I agree with you about the prefix. After some suggestions in private (from this same thread) I have been using the composable package [1] and it works like a charm. I didn't use it before because I didn't know about it (it is in melpa). But it really improves the emacs editing experience a lot without affecting the default behavior. It has the best of modal editing (the consistency) but without the annoying modes. There are some missing details, and things that can be improved, but I see a lot of potential there. Probably this package (or a similar design/reimplementation) may finish with the arguments about vim's modal editing vs emacs memorize command and inconsistencies. Because it provides the best of both worlds. It is compatible with transient and delete-selection modes. The same applies to some commands and functions that will be not needed anymore (or needed to remember) as explained in the project's Readme. [1] https://github.com/paldepind/composable.el On Sun, May 19, 2019 at 02:35:17PM -0400, Stefan Monnier wrote:
Vim is consistent.So is Emacs.In terms of key-bindings, Emacs's scheme is not as regular as VI. While we can argue that the various VI emulators are just trying to provide for those users who like VI, the number of other "alternative set of keybindings" (god-mode and several others) out there shows that there's a need for something else. I think one of the main differences (besides the fact that it's modal, obviously) is that VI has prefix commands like `d` which Emacs lacks. That helps make things regular/orthogonal. `other-frame-window` is one package that tries to add such a prefix command (actually a pair of such) to Emacs and it's not trivial to implement. It'd be good to extend Emacs to provide better support for that. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |