Fwd: [Alessandro Piras] Re: [Vimpulse] Strnge behavior in Info (and probably other modes)

Alessandro Piras laynor at gmail.com
Wed Jun 9 22:46:28 CEST 2010


I forward the conversation i had with the author of nxhtml (and emacsw32).
Alessandro Piras


---------- Forwarded message ----------
From: Lennart Borgman <lennart.borgman at gmail.com>
Date: 8 June 2010 22:48
Subject: Re: [Alessandro Piras] Re: [Vimpulse] Strnge behavior in Info (and
probably other modes)
To: Alessandro Piras <laynor at gmail.com>


Hi Alessandro,

Unfortunately I see there are a lot of problems in the implementation
of vimpulse.el. The problem here is that they seem to treat local
variables badly in several ways.

I would suggest that they look over it and try to avoid making local
variables for variables that are supposed to be global. Maybe it can
be worked around but that would just make useless effort.

Also a lot of things are changed when just loading the file
vimpulse.el. Loading a library file should not change anything in
normal cases.

Otherwise I think the idea of something like vimpulse is nice (but I
wonder if it perhaps would be better to work on the new vi mode
instead and implement vimpulse there). The design of Viper is
unfortunately a bit old and the new features in Emacs could make it
much better. At least this is what the current mainainer says. (I use
viper myself all the time yet.)

Best wishes,
L


On Tue, Jun 8, 2010 at 11:01 PM, Alessandro Piras <laynor at gmail.com> wrote:
> Hi Lennart,
> I'm forwarding you a mail of the Vimpulse mailing list.
> nXhtml mode and Vimpulse have some little incompatibility. Vimpulse
> redefines some viper keys and insinuates Info, providing nice bindings
> like hjkl, ^] and ^t, / and some others, basically trying to act like Vim.
> Everything works correctly when I don't load nXhtml, but nXhtml seems
> really nice stuff, even if I don't actually do web programming.
> I hope you have some insight,
> __
> Alessandro
>
>
> ---------- Forwarded message ----------
> From: Alessandro Piras <laynor at gmail.com>
> To: vi <implementations-list at lists.ourproject.org>
> Date: Tue, 08 Jun 2010 21:52:53 +0100
> Subject: Re: [Vimpulse] Strnge behavior in Info (and probably other modes)
> Alessandro Piras <laynor at gmail.com> writes:
>
>> When I M-x info, I get the full viper bindings. However, after a random
>> amount of time, or maybe after I do some other stuff (like running gnus
>> on another frame it seems) the nice vimpulse bindings get loaded.
>> I don't really get what's going on, and I don't really know what do I do
>> to trigger the loading. This time it was gnus, but I think other times
>> it has been something else, maybe org-agenda.
>> Do you have any idea what's going on?
>
> I found out where the problem lies:
> nxhtml and vimpulse have some kind of incompatibility.
> The following init file
>
> ---- BoB ----
> ;; Add load paths here (required only for vimpulse in emacsw32)
> (custom-set-variables
>  '(nxhtml-load t))
> (require 'vimpulse )                ; load Vimpulse
> ---- EoB ----
>
> is enough to trigger the problem.
> __
> Alessandro
>
>


More information about the implementations-list mailing list