<div>Thanks Frank and take your time with the fix :). I have filed the bug here <a href="https://bitbucket.org/lyro/evil/issue/23/problems-with-tag-text-object">https://bitbucket.org/lyro/evil/issue/23/problems-with-tag-text-object</a> for tracking.<br clear="all">
</div><div><br></div><div>I have couple of other questions and I apologize in advance if they are documented somewhere already, </div><div>1. I am sure there would be a simple way to avoid certain key bindings from evil. I prefer to map out Alt-. (which on emacs is search-tag) and related mappings from evil to emacs default. Currently I am messing around with evil-map.el everytime I do a sync. I am sure there is a better way.</div>
<div>2. How do I make certain modes to not appear in vi modes. For example I use gtags-mode and when in Gtags-Select mode (where it shows the list of matching tags), it defaults to vi normal mode (which I'd be fine with except pressing enter in vi normal mode does not go to the tag in source file). Currently I have to do C-z to go to emacs-mode and then press enter etc. </div>
<div><br></div><div><br></div><div><br></div>Thanks & Regards,<br>Neeraj Sharma<br>
<br><br><div class="gmail_quote">On Wed, Oct 19, 2011 at 3:00 AM, <span dir="ltr"><<a href="mailto:implementations-list-request@lists.ourproject.org">implementations-list-request@lists.ourproject.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send implementations-list mailing list submissions to<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
<br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:implementations-list-request@lists.ourproject.org">implementations-list-request@lists.ourproject.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:implementations-list-owner@lists.ourproject.org">implementations-list-owner@lists.ourproject.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of implementations-list digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: possible bug (or my mistake ;-) (damien.thiriet77)<br>
2. Incorrect behaviour of cat etc text objects in evil<br>
(Neeraj Sharma)<br>
3. Re: Incorrect behaviour of cat etc text objects in evil<br>
(Frank Fischer)<br>
4. ! in evil (Tordek)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 18 Oct 2011 20:47:10 +0200<br>
From: "damien.thiriet77" <<a href="mailto:damien.thiriet77@laposte.net">damien.thiriet77@laposte.net</a>><br>
Subject: Re: possible bug (or my mistake ;-)<br>
To: Frank Fischer <<a href="mailto:frank.fischer@mathematik.tu-chemnitz.de">frank.fischer@mathematik.tu-chemnitz.de</a>>,<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
Message-ID: <21464965.5071.1318963630271.JavaMail.www@wwinf8204><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Thank you very much for your quick answer,<br>
<br>
I made it with the<br>
(define-key evil-normal-state-map "c" nil)<br>
(define-key evil-motion-state-map "c" 'backward-char)<br>
It might be useful to put two lines about this remapping issue in the project pdf. I would also suggest a few lines of explanation about each state (insert or visual are quite obvious for me, so does emacs, but I am quite confused about the motion state and couldn?t explain why h,j,k,l are mapped there and not in insert mode).<br>
Evil will however greatly improve my work?<br>
<br>
Damien Thiriet<br>
<br>
> On Fri, Oct 14, 2011 at 12:04:43PM +0200, F?lix Sipma wrote:<br>
> > Hi!<br>
> ><br>
> > I also use "b?po" and I confirm this bug. In order to get it work I had<br>
> > to remap each "normal key" to "nil" before mapping it to a "motion key".<br>
> ><br>
> > Ex:<br>
> ><br>
> > (define-key evil-normal-state-map "c" nil)<br>
> > (define-key evil-motion-state-map "c" 'backward-char)<br>
><br>
> This is exactly what you have to do (right now). The problem is that<br>
> the key-bindings are in different keymaps. And it is important that<br>
> some keys may be bound in different keymaps, e.g., "i" is bound to<br>
> 'evil-insert in evil-normal-state-map and to<br>
> 'evil-inner-text-objects-map in evil-operator-state-map.<br>
><br>
> Perhaps another function which binds some keysequence in one map and<br>
> removes all active bindings in other maps may be convenient, something<br>
> like<br>
><br>
> (evil-remap evil-motion-state-map "c" 'backward-char<br>
> :remove evil-normal-state-map)<br>
><br>
> or the other way around<br>
><br>
> (evil-remap evil-motion-state-map "i" 'what-ever<br>
> :keep evil-operator-state-map)<br>
><br>
> I have no idea what the best solution is.<br>
><br>
> Frank<br>
><br>
<br>
Une messagerie gratuite, garantie ? vie et des services en plus, ?a vous tente ?<br>
Je cr?e ma bo?te mail <a href="http://www.laposte.net" target="_blank">www.laposte.net</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 18 Oct 2011 23:13:50 -0700<br>
From: Neeraj Sharma <<a href="mailto:neeraj.dl@gmail.com">neeraj.dl@gmail.com</a>><br>
Subject: Incorrect behaviour of cat etc text objects in evil<br>
To: <a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
Message-ID:<br>
<CAMcucSiDu2688J24nLuZ17yZSie+iRQO21=<a href="mailto:6%2BSH_JzL5W4yq4Q@mail.gmail.com">6+SH_JzL5W4yq4Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I am not sure if this is still the right place to report issues. Please let<br>
me know if there is some sort of issue tracker etc. used by evil.<br>
<br>
I found that on a simple html as below if cursor is placed in anchor tag and<br>
you do "cat" or "dat" or "cit" or "dit" it does not work correctly.<br>
<html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>" xml:lang="en" lang="en"><br>
<head><br>
<br>
</head><br>
<body><br>
<a href="<a href="http://www.google.com" target="_blank">http://www.google.com</a>"> *[cursor]* Google</a><br>
</body><br>
</html><br>
<br>
For example when I do cat the end result is<br>
<html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>" xml:lang="en" lang="en"><br>
<head><br>
<br>
</head><br>
<br>
</body><br>
</html><br>
<br>
while I think the expected result is<br>
<br>
<html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>" xml:lang="en" lang="en"><br>
<head><br>
<br>
</head><br>
<body><br>
<br>
</body><br>
</html><br>
<br>
<br>
Thanks & Regards,<br>
Neeraj Sharma<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="https://lists.ourproject.org/pipermail/implementations-list/attachments/20111018/5240fc43/attachment-0001.htm" target="_blank">https://lists.ourproject.org/pipermail/implementations-list/attachments/20111018/5240fc43/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 19 Oct 2011 10:26:26 +0200<br>
From: Frank Fischer <<a href="mailto:frank.fischer@mathematik.tu-chemnitz.de">frank.fischer@mathematik.tu-chemnitz.de</a>><br>
Subject: Re: Incorrect behaviour of cat etc text objects in evil<br>
To: <a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
Message-ID: <<a href="mailto:20111019082626.GA31535@mordred.mathematik.tu-chemnitz.de">20111019082626.GA31535@mordred.mathematik.tu-chemnitz.de</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Tue, Oct 18, 2011 at 11:13:50PM -0700, Neeraj Sharma wrote:<br>
> I am not sure if this is still the right place to report issues. Please let<br>
> me know if there is some sort of issue tracker etc. used by evil.<br>
<br>
There is an issue tracker at <a href="http://bitbucket.org/lyro/evil" target="_blank">http://bitbucket.org/lyro/evil</a><br>
<br>
><br>
> I found that on a simple html as below if cursor is placed in anchor tag and<br>
> you do "cat" or "dat" or "cit" or "dit" it does not work correctly.<br>
> <html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>" xml:lang="en" lang="en"><br>
> <head><br>
><br>
> </head><br>
> <body><br>
> <a href="<a href="http://www.google.com" target="_blank">http://www.google.com</a>"> *[cursor]* Google</a><br>
> </body><br>
> </html><br>
<br>
You're right, the current implementation of tag text objects is a<br>
little buggy. Another problem is that "vitit" does currently not<br>
include the tags (in vim, the second 'it' adds the tags to the current<br>
selection, in evil nothing happens). I know some of those issue for<br>
some time but and there should be some code in old vim-mode solving<br>
them. But I was just too lazy to fix them and up to now nobody<br>
complained ... ;)<br>
<br>
I'll try to have a look on the tags in the next days, but right now I<br>
do not have the time to work on evil, so please be patient.<br>
<br>
<br>
Frank<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 19 Oct 2011 05:41:07 -0300<br>
From: Tordek <<a href="mailto:kedrot@gmail.com">kedrot@gmail.com</a>><br>
Subject: ! in evil<br>
To: <a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
Message-ID: <<a href="mailto:4E9E8D23.5010007@gmail.com">4E9E8D23.5010007@gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
I recently wanted to use !rev to process some lines. Is this going<br>
to be supported by evil, or should I look at more Emacs-like ways of<br>
doing this kind of stuff?<br>
<br>
--<br>
Guillermo O. ?Tordek? Freschi. Programador, Escritor, Genio Maligno.<br>
<a href="http://tordek.com.ar" target="_blank">http://tordek.com.ar</a> :: <a href="http://twitter.com/tordek" target="_blank">http://twitter.com/tordek</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
implementations-list mailing list<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
<br>
<br>
End of implementations-list Digest, Vol 36, Issue 14<br>
****************************************************<br>
</blockquote></div><br>