* Re: What do you think of new vimpulse-mode which emulates vim keys? (was: Re: need advice about fixing up my new vimpact-mode, a Vim emulation mode based on viper-mode) [not found] <mailman.890.1173814854.7795.help-gnu-emacs@gnu.org> @ 2007-03-28 13:36 ` stianse 2007-04-05 21:53 ` jasonspiro4+moznews@gmail.com 0 siblings, 1 reply; 5+ messages in thread From: stianse @ 2007-03-28 13:36 UTC (permalink / raw) To: help-gnu-emacs On Mar 12, 10:19 pm, "Jason Spiro" <jasonspi...@gmail.com> wrote: > On 2007/2/20, I wrote: > > A new development: After sending out this email, Alessandro mailed me > > privately about his own vim emulation code. I will send it to you > > privately and also to whoever wants. It is public domain license; I > > hope to rename the code and post it on EmacsWiki. > > I have posted Alessandro'svimpulsecode athttp://www.emacswiki.org/elisp/vimpulse.el- what do you think of it? > > Cheers, > Jason > > -- > Jason Spiro: computer consulting with a smile. > I also provide training and spyware removal services for homes and businesses. > Call or email for a FREE 5-minute consultation. Satisfaction guaranteed. > +1 (416) 781-5938 / Email: i...@jspiro.com / MSN: jasonsp...@hotmail.com Great, I just recently discovered viper-mode and vimpulse made it even better. I have only tried it for a couple of days, so I don't have any constructive feedback at the moment, except one modification I had to make in vimpulse.el. In order to make it work I had to delete the line 'viper--key-maps from the function my-get-emulation-keymap(). Without this I got an error message telling me that viper--key-maps variable was void, resulting in not being able to do anything in emacs (not even close the window). Does this have any impact on the available features in vimpulse? I use an emacs-snapshot from 2005-12-03 by the way. - Stian ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What do you think of new vimpulse-mode which emulates vim keys? (was: Re: need advice about fixing up my new vimpact-mode, a Vim emulation mode based on viper-mode) 2007-03-28 13:36 ` What do you think of new vimpulse-mode which emulates vim keys? (was: Re: need advice about fixing up my new vimpact-mode, a Vim emulation mode based on viper-mode) stianse @ 2007-04-05 21:53 ` jasonspiro4+moznews@gmail.com 2007-04-09 8:10 ` David Combs 0 siblings, 1 reply; 5+ messages in thread From: jasonspiro4+moznews@gmail.com @ 2007-04-05 21:53 UTC (permalink / raw) To: help-gnu-emacs; +Cc: stianse, Jason Spiro, laynor, brad.beveridge Hi Stianse, On Mar 28, 9:36 am, stia...@gmail.com wrote: > Great, I just recently discovered viper-mode and vimpulse made it even > better. Thank you! Makes me happy about the time I have spent cleaning up vimpulse.el for the web. I am CC'ing your feedback to Alessandro Piras and Brad Beveridge (I did not write vimpulse.) > I have only tried it for a couple of days, so I don't have any > constructive feedback at the moment, except one modification I had to > make in vimpulse.el. In order to make it work I had to delete the line > > 'viper--key-maps > > from the function my-get-emulation-keymap(). Without this I got an > error message telling me that viper--key-maps variable was void, > resulting in not being able to do anything in emacs (not even close > the window). Does this have any impact on the available features in > vimpulse? I doubt it has any impact. But the fact that vimper initially caused such a serious problem is a serious bug. Thank you for reporting it. Where did you get your emacs-snapshot package? Did you build it yourself? If you built a .deb or an RPM yourself and you still have it handy, would you mind to send me it? (There are many free file hosting services; try a Google search for "file hosting".) Regards, Jason ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What do you think of new vimpulse-mode which emulates vim keys? (was: Re: need advice about fixing up my new vimpact-mode, a Vim emulation mode based on viper-mode) 2007-04-05 21:53 ` jasonspiro4+moznews@gmail.com @ 2007-04-09 8:10 ` David Combs 2007-04-09 9:13 ` Lennart Borgman (gmail) 0 siblings, 1 reply; 5+ messages in thread From: David Combs @ 2007-04-09 8:10 UTC (permalink / raw) To: help-gnu-emacs In article <1175810013.819910.69920@w1g2000hsg.googlegroups.com>, jasonspiro4+moznews@gmail.com <jasonspiro4@gmail.com> wrote: >Hi Stianse, > >On Mar 28, 9:36 am, stia...@gmail.com wrote: >> Great, I just recently discovered viper-mode and vimpulse made it even >> better. > >Thank you! Makes me happy about the time I have spent cleaning up >vimpulse.el for the web. I am CC'ing your feedback to Alessandro >Piras and Brad Beveridge (I did not write vimpulse.) > >> I have only tried it for a couple of days, so I don't have any >> constructive feedback at the moment, except one modification I had to >> make in vimpulse.el. In order to make it work I had to delete the line >> >> 'viper--key-maps >> >> from the function my-get-emulation-keymap(). Without this I got an >> error message telling me that viper--key-maps variable was void, >> resulting in not being able to do anything in emacs (not even close >> the window). Does this have any impact on the available features in >> vimpulse? > >I doubt it has any impact. But the fact that vimper initially caused >such a serious problem is a serious bug. Thank you for reporting it. > >Where did you get your emacs-snapshot package? Did you build it >yourself? If you built a .deb or an RPM yourself and you still have >it handy, would you mind to send me it? (There are many free file >hosting services; try a Google search for "file hosting".) > >Regards, >Jason > Quick question: does either of them implement the "g" command (not suffix), that works like this: g/foo/<some vi/vim command>, eg: g/foo/r more-foo-stuff.txt/ (as described in Kernighan's "software tools" book, it does it in two passes: first go through and "mark" each line that matches /foo/, then the 2nd pass: from top to bottom, at ever marked line, execute the command -- the neat thing being that if during an earlier part of that 2nd pass, lines get added or deleted, when it gets to a foo-line further down, it still works, because the "marks" are attached to the lines they're at, and thus "move" along with their lines. Anyway, vi and vim certainly have it, but some emulators seem to be missing it. At least if they did have the g feature, I sure couldn't get it work. --- THANKS! David Well, maybe it wasn't such a quick question, after all. :-) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: What do you think of new vimpulse-mode which emulates vim keys? (was: Re: need advice about fixing up my new vimpact-mode, a Vim emulation mode based on viper-mode) 2007-04-09 8:10 ` David Combs @ 2007-04-09 9:13 ` Lennart Borgman (gmail) 0 siblings, 0 replies; 5+ messages in thread From: Lennart Borgman (gmail) @ 2007-04-09 9:13 UTC (permalink / raw) To: David Combs; +Cc: help-gnu-emacs David Combs wrote: > In article <1175810013.819910.69920@w1g2000hsg.googlegroups.com>, > jasonspiro4+moznews@gmail.com <jasonspiro4@gmail.com> wrote: >> Hi Stianse, >> >> On Mar 28, 9:36 am, stia...@gmail.com wrote: >>> Great, I just recently discovered viper-mode and vimpulse made it even >>> better. >> Thank you! Makes me happy about the time I have spent cleaning up >> vimpulse.el for the web. I am CC'ing your feedback to Alessandro >> Piras and Brad Beveridge (I did not write vimpulse.) >> >>> I have only tried it for a couple of days, so I don't have any >>> constructive feedback at the moment, except one modification I had to >>> make in vimpulse.el. In order to make it work I had to delete the line >>> >>> 'viper--key-maps >>> >>> from the function my-get-emulation-keymap(). Without this I got an >>> error message telling me that viper--key-maps variable was void, >>> resulting in not being able to do anything in emacs (not even close >>> the window). Does this have any impact on the available features in >>> vimpulse? >> I doubt it has any impact. But the fact that vimper initially caused >> such a serious problem is a serious bug. Thank you for reporting it. >> >> Where did you get your emacs-snapshot package? Did you build it >> yourself? If you built a .deb or an RPM yourself and you still have >> it handy, would you mind to send me it? (There are many free file >> hosting services; try a Google search for "file hosting".) >> >> Regards, >> Jason >> > > Quick question: does either of them implement the "g" command (not > suffix), that works like this: > > g/foo/<some vi/vim command>, eg: > > g/foo/r more-foo-stuff.txt/ > > (as described in Kernighan's "software tools" book, it > does it in two passes: first go through > and "mark" each line that matches /foo/, > > then the 2nd pass: from top to bottom, at > ever marked line, execute the command -- > > the neat thing being that if during an earlier part > of that 2nd pass, lines get added or deleted, > when it gets to a foo-line further down, > it still works, because the "marks" are > attached to the lines they're at, and thus > "move" along with their lines. > > Anyway, vi and vim certainly have it, but some > emulators seem to be missing it. > > At least if they did have the g feature, I sure > couldn't get it work. I have never heard of the g command before, but it seems useful. So I tested it in Viper with the latest CVS Emacs and at least this worked: :g/style/s/type/dummy/ Viper is the newest vi emulator in Emacs. I think the others are rather obsolete. ^ permalink raw reply [flat|nested] 5+ messages in thread
* What do you think of new vimpulse-mode which emulates vim keys? (was: Re: need advice about fixing up my new vimpact-mode, a Vim emulation mode based on viper-mode)
@ 2007-03-12 20:19 Jason Spiro
0 siblings, 0 replies; 5+ messages in thread
From: Jason Spiro @ 2007-03-12 20:19 UTC (permalink / raw)
To: help-gnu-emacs
Cc: spadgett1, jshawkin, samuel.padgett, Alessandro Piras,
brad.beveridge
On 2007/2/20, I wrote:
> A new development: After sending out this email, Alessandro mailed me
> privately about his own vim emulation code. I will send it to you
> privately and also to whoever wants. It is public domain license; I
> hope to rename the code and post it on EmacsWiki.
I have posted Alessandro's vimpulse code at
http://www.emacswiki.org/elisp/vimpulse.el - what do you think of it?
Cheers,
Jason
--
Jason Spiro: computer consulting with a smile.
I also provide training and spyware removal services for homes and businesses.
Call or email for a FREE 5-minute consultation. Satisfaction guaranteed.
+1 (416) 781-5938 / Email: info@jspiro.com / MSN: jasonspiro@hotmail.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-04-09 9:13 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <mailman.890.1173814854.7795.help-gnu-emacs@gnu.org> 2007-03-28 13:36 ` What do you think of new vimpulse-mode which emulates vim keys? (was: Re: need advice about fixing up my new vimpact-mode, a Vim emulation mode based on viper-mode) stianse 2007-04-05 21:53 ` jasonspiro4+moznews@gmail.com 2007-04-09 8:10 ` David Combs 2007-04-09 9:13 ` Lennart Borgman (gmail) 2007-03-12 20:19 Jason Spiro
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).