[implementations-list] [PATCH] Vimpulse: vi* and va* object selection implementation proposal

José A. Romero L. escherdragon at gmail.com
Sun Nov 29 21:12:28 CET 2009


2009/11/23 Jason Spiro <jasonspiro3 at gmail.com>:
> 2009/11/22 José A. Romero L. <escherdragon at gmail.com> wrote:
(...)
>> have already any schedule or estimation of when the FSF will consider
>> adding Vimpulse to the official Emacs distribution?
>
> I don't know.  IMO it's still too buggy, so they shouldn't include it.

Just let me know when it gets scheduled for inclusion, then I'll send my
data to you or Alessandro, OK?

>> ... I realized that in Emacs 22 the
>> function activate-mark does not exist, so we'll have to take care  of
>> that difference. Besides that one detail, my modifications seem to be
>> working fine there too.
>
> Thanks for retesting.  It would be appreciated if you would try XEmacs
> too.  It's a small download if you have broadband Internet access;
> only about 5-10 MB.

Unfortunately I didn't manage (again - this is not the first time I try)
to make XEmacs work correctly in my system, neither after installing the
standard  Debian  packages in Sid, nor compiling it myself. I have tried
it a few times, but always came back running to GNU Emacs, to the  point
that I have expressly ruled out compatibility with it in my own projects
(e.g. http://www.emacswiki.org/emacs/Sunrise_Commander).

Anyway, I've left out the call to activate-mark in the patches I've just
submitted to your bug track system. For me,  Vimpulse  works  definitely
better  with it, but probably it's you who should decide whether to call
(or not) activate-mark every time the user hits "v".

(...)
> There's a link to our repo and bugtracker at
> http://www.assembla.com/spaces/vimpulse -- in fact, I think it would be
> best if you would send your patch to the bugtracker instead of to the
> mailing list.  That way, it is guaranteed not to get lost.  But if you
> do submit the next version of your patch to the mailing list, please
> send a mail to the mailing list telling us it is now there.

Just done. And here's the e-mail ;) I've divided the original patch into
3 smaller ones: one for removing the extra definitions of  the  function
vimpulse-visual-replace-region, and two for the vi*/va* stuff, the first
one with standard gvim behavior, and the second one with a  function  of
my  own invention that IMO makes that behavior more useful. Just give it
a try and decide if you like it too or not.

> The emerge I was talking about is not the Gentoo package installation
> script.  The emerge I meant is part of ediff.  I believe it might let
> you more easily apply your patch to the SVN version of Vimpulse.
> Check the Emacs manual for more info.
(...)

Cool  stuff, thanks for the tip. I've been using plain diff and patch so
long that it feels like second nature, but I'll definitely give emerge a
try once I find the time to read the docs.

Cheers,
-- 
José A. Romero L.
escherdragon at gmail.com
"We who cut mere stones must always be envisioning cathedrals."
(Quarry worker's creed)



More information about the implementations-list mailing list