help (maybe a bug) search and replace

damien.thiriet77 damien.thiriet77 at laposte.net
Sun Nov 11 23:48:26 CET 2012


Hello,


I have upgraded to the last git version (November, 11th, 23:46) and I have a problem with search and replace fonction:
when I enter something like :11,23s/ I am prompted wrong number of arguments. If I ignore this message, the replacement is not made as it should.

Thank you for any help,


Damien Thiriet

> Message du 07/11/12 21:37
> De : implementations-list-request at lists.ourproject.org
> A : implementations-list at lists.ourproject.org
> Copie à : 
> Objet : implementations-list Digest, Vol 49, Issue 6
>
> Send implementations-list mailing list submissions to
> implementations-list at lists.ourproject.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
> 
> or, via email, send a message with subject or body 'help' to
> implementations-list-request at lists.ourproject.org
> 
> You can reach the person managing the list at
> implementations-list-owner at lists.ourproject.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of implementations-list digest..."
> 
> 
> Today's Topics:
> 
> 1. Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes (Alessandro Piras)
> 2. Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes (Frank Fischer)
> 3. Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes (Sanel Zukan)
> 4. Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes (Frank Fischer)
> 5. Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes (Sanel Zukan)
> 6. Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes (Sanel Zukan)
> 7. Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes (Frank Fischer)
> 8. Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes (Frank Fischer)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 7 Nov 2012 12:05:36 +0100
> From: Alessandro Piras 
> Subject: Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes
> To: "vi/Vim emulation in Emacs"
> 
> Message-ID:
> 
> Content-Type: text/plain; charset="utf-8"
> 
> Hi, thanks for the fix!
> Now magit works correctly without my advice, but there is another problem:
> When doing C-x C-f with ido mode activated, it comes up in normal state!
> Adding minibuffer-inactive-mode to evil-emacs-state-modes seems to solve
> the issue.
> 
> Alessandro Piras
> 
> 
> On 6 November 2012 18:37, Vegard ?ye  wrote:
> 
> > On 2012-11-05 17:22 +0100, Alessandro Piras wrote:
> >
> > > I got this issue in one of the last updates i did.
> >
> > Should be fixed in commit 2b8c308. (If not, please open a new issue
> > in the bug tracker.)
> >
> > --
> > Vegard
> >
> > _______________________________________________
> > implementations-list mailing list
> > implementations-list at lists.ourproject.org
> > https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: https://lists.ourproject.org/pipermail/implementations-list/attachments/20121107/97dd9f11/attachment-0001.htm 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 7 Nov 2012 12:47:44 +0000 (UTC)
> From: Frank Fischer 
> Subject: Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes
> To: implementations-list at lists.ourproject.org
> Message-ID: 
> Content-Type: text/plain; charset=us-ascii
> 
> On 2012-11-07, Alessandro Piras  wrote:
> > Hi, thanks for the fix!
> > Now magit works correctly without my advice, but there is another problem:
> > When doing C-x C-f with ido mode activated, it comes up in normal state!
> > Adding minibuffer-inactive-mode to evil-emacs-state-modes seems to solve
> > the issue.
> 
> Hm, currently evil should not be activated in any minibuffer. Seems as
> if the latest work on the initialization code causes this bug. Can you
> please check if the following change fixes this bug? (I doesn't seem
> to occur with my emacs version).
> 
> 
> ==========
> diff -r cfd40950b001 evil-core.el
> --- a/evil-core.el Tue Nov 06 14:20:08 2012 +0100
> +++ b/evil-core.el Wed Nov 07 13:44:59 2012 +0100
> @@ -286,7 +286,8 @@
> (defadvice evil-mode-check-buffers (before start-evil activate)
> "Determine the initial state."
> (dolist (buffer evil-mode-buffers)
> - (when (buffer-live-p buffer)
> + (when (and (buffer-live-p buffer)
> + (not (minibufferp)))
> (with-current-buffer buffer
> (evil-initialize-state)))))
> ==========
> 
> Best regards,
> Frank
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 7 Nov 2012 14:02:51 +0100
> From: Sanel Zukan 
> Subject: Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes
> To: "vi/Vim emulation in Emacs"
> 
> Message-ID:
> 
> Content-Type: text/plain; charset=ISO-8859-1
> 
> I'm not sure was the cause this commit or one of before, but after I
> pulled latest code
> my 'emacs --daemon' setup for terminal (emacsclient -t) stopped to work.
> 
> I described this in:
> https://bitbucket.org/lyro/evil/issue/220/emacs-daemon-and-open-file-in-ex-mode
> 
> Anyone with the same issue?
> 
> Regards,
> Sanel
> 
> On Wed, Nov 7, 2012 at 12:05 PM, Alessandro Piras  wrote:
> > Hi, thanks for the fix!
> > Now magit works correctly without my advice, but there is another problem:
> > When doing C-x C-f with ido mode activated, it comes up in normal state!
> > Adding minibuffer-inactive-mode to evil-emacs-state-modes seems to solve the
> > issue.
> >
> > Alessandro Piras
> >
> >
> >
> > On 6 November 2012 18:37, Vegard ?ye  wrote:
> >>
> >> On 2012-11-05 17:22 +0100, Alessandro Piras wrote:
> >>
> >> > I got this issue in one of the last updates i did.
> >>
> >> Should be fixed in commit 2b8c308. (If not, please open a new issue
> >> in the bug tracker.)
> >>
> >> --
> >> Vegard
> >>
> >> _______________________________________________
> >> implementations-list mailing list
> >> implementations-list at lists.ourproject.org
> >> https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
> >
> >
> >
> > _______________________________________________
> > implementations-list mailing list
> > implementations-list at lists.ourproject.org
> > https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
> >
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 7 Nov 2012 14:46:35 +0000 (UTC)
> From: Frank Fischer 
> Subject: Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes
> To: implementations-list at lists.ourproject.org
> Message-ID: 
> Content-Type: text/plain; charset=us-ascii
> 
> On 2012-11-07, Sanel Zukan  wrote:
> > I'm not sure was the cause this commit or one of before, but after I
> > pulled latest code
> > my 'emacs --daemon' setup for terminal (emacsclient -t) stopped to work.
> >
> > I described this in:
> > https://bitbucket.org/lyro/evil/issue/220/emacs-daemon-and-open-file-in-ex-mode
> >
> > Anyone with the same issue?
> >
> 
> 
> I can't reproduce that. Which emacs version do you use? What happens
> if you start the server in evil's source directory with
> 
> emacs -Q -L . -l evil.el --eval "(evil-mode 1)" --daemon
> 
> (this loads nothing but evil)?
> 
> Frank
> 
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Wed, 7 Nov 2012 16:19:28 +0100
> From: Sanel Zukan 
> Subject: Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes
> To: "vi/Vim emulation in Emacs"
> 
> Message-ID:
> 
> Content-Type: text/plain; charset=ISO-8859-1
> 
> I'm using Emacs 24.1.1 on Fedora 17. I did started it as you
> suggested, and done this:
> 
> 1. opened client with 'emacsclient -t'
> 2. open file (:e ~/foo)
> 3. tried to do :q! but when I hit 'q', I'm getting: Defining kbd macro...
> 
> After this, everything gets messed up, even 'M-x' doesn't work (tried
> M-x 'emacs-version'
> but after hitting 'e' I got 'End of buffer').
> 
> This is always reproducible.
> 
> Regards,
> Sanel
> 
> On Wed, Nov 7, 2012 at 3:46 PM, Frank Fischer
>  wrote:
> > On 2012-11-07, Sanel Zukan  wrote:
> >> I'm not sure was the cause this commit or one of before, but after I
> >> pulled latest code
> >> my 'emacs --daemon' setup for terminal (emacsclient -t) stopped to work.
> >>
> >> I described this in:
> >> https://bitbucket.org/lyro/evil/issue/220/emacs-daemon-and-open-file-in-ex-mode
> >>
> >> Anyone with the same issue?
> >>
> >
> >
> > I can't reproduce that. Which emacs version do you use? What happens
> > if you start the server in evil's source directory with
> >
> > emacs -Q -L . -l evil.el --eval "(evil-mode 1)" --daemon
> >
> > (this loads nothing but evil)?
> >
> > Frank
> >
> >
> > _______________________________________________
> > implementations-list mailing list
> > implementations-list at lists.ourproject.org
> > https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Wed, 7 Nov 2012 16:47:47 +0100
> From: Sanel Zukan 
> Subject: Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes
> To: "vi/Vim emulation in Emacs"
> 
> Message-ID:
> 
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Just recompiled emacs 24.2. The same behaviour.
> 
> Regards,
> Sanel
> 
> On Wed, Nov 7, 2012 at 4:19 PM, Sanel Zukan  wrote:
> > I'm using Emacs 24.1.1 on Fedora 17. I did started it as you
> > suggested, and done this:
> >
> > 1. opened client with 'emacsclient -t'
> > 2. open file (:e ~/foo)
> > 3. tried to do :q! but when I hit 'q', I'm getting: Defining kbd macro...
> >
> > After this, everything gets messed up, even 'M-x' doesn't work (tried
> > M-x 'emacs-version'
> > but after hitting 'e' I got 'End of buffer').
> >
> > This is always reproducible.
> >
> > Regards,
> > Sanel
> >
> > On Wed, Nov 7, 2012 at 3:46 PM, Frank Fischer
> >  wrote:
> >> On 2012-11-07, Sanel Zukan  wrote:
> >>> I'm not sure was the cause this commit or one of before, but after I
> >>> pulled latest code
> >>> my 'emacs --daemon' setup for terminal (emacsclient -t) stopped to work.
> >>>
> >>> I described this in:
> >>> https://bitbucket.org/lyro/evil/issue/220/emacs-daemon-and-open-file-in-ex-mode
> >>>
> >>> Anyone with the same issue?
> >>>
> >>
> >>
> >> I can't reproduce that. Which emacs version do you use? What happens
> >> if you start the server in evil's source directory with
> >>
> >> emacs -Q -L . -l evil.el --eval "(evil-mode 1)" --daemon
> >>
> >> (this loads nothing but evil)?
> >>
> >> Frank
> >>
> >>
> >> _______________________________________________
> >> implementations-list mailing list
> >> implementations-list at lists.ourproject.org
> >> https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Wed, 7 Nov 2012 16:27:19 +0000 (UTC)
> From: Frank Fischer 
> Subject: Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes
> To: implementations-list at lists.ourproject.org
> Message-ID: 
> Content-Type: text/plain; charset=us-ascii
> 
> On 2012-11-07, Sanel Zukan  wrote:
> > Just recompiled emacs 24.2. The same behaviour.
> 
> I still do not have the behavior.
> Can you bisect to determine which commit caused the problem?
> 
> And maybe try the patch I posted somewhere else today:
> 
> ==========
> (defadvice evil-mode-check-buffers (before start-evil activate)
> "Determine the initial state."
> (dolist (buffer evil-mode-buffers)
> - (when (buffer-live-p buffer)
> + (when (and (buffer-live-p buffer)
> + (not (minibufferp)))
> (with-current-buffer buffer
> (evil-initialize-state)))))
> ==========
> 
> I just want to make sure that evil is not initialized in the
> minibuffer. (You can also check whether evil is active in the
> minibuffer: after typing : first type i then q!. If this works then
> evil is active in the minibuffer although it should not be).
> 
> Frank
> 
> 
> >
> > Regards,
> > Sanel
> >
> > On Wed, Nov 7, 2012 at 4:19 PM, Sanel Zukan  wrote:
> >> I'm using Emacs 24.1.1 on Fedora 17. I did started it as you
> >> suggested, and done this:
> >>
> >> 1. opened client with 'emacsclient -t'
> >> 2. open file (:e ~/foo)
> >> 3. tried to do :q! but when I hit 'q', I'm getting: Defining kbd macro...
> >>
> >> After this, everything gets messed up, even 'M-x' doesn't work (tried
> >> M-x 'emacs-version'
> >> but after hitting 'e' I got 'End of buffer').
> >>
> >> This is always reproducible.
> >>
> >> Regards,
> >> Sanel
> >>
> >> On Wed, Nov 7, 2012 at 3:46 PM, Frank Fischer
> >>  wrote:
> >>> On 2012-11-07, Sanel Zukan  wrote:
> >>>> I'm not sure was the cause this commit or one of before, but after I
> >>>> pulled latest code
> >>>> my 'emacs --daemon' setup for terminal (emacsclient -t) stopped to work.
> >>>>
> >>>> I described this in:
> >>>> https://bitbucket.org/lyro/evil/issue/220/emacs-daemon-and-open-file-in-ex-mode
> >>>>
> >>>> Anyone with the same issue?
> >>>>
> >>>
> >>>
> >>> I can't reproduce that. Which emacs version do you use? What happens
> >>> if you start the server in evil's source directory with
> >>>
> >>> emacs -Q -L . -l evil.el --eval "(evil-mode 1)" --daemon
> >>>
> >>> (this loads nothing but evil)?
> >>>
> >>> Frank
> >>>
> >>>
> >>> _______________________________________________
> >>> implementations-list mailing list
> >>> implementations-list at lists.ourproject.org
> >>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
> 
> 
> -- 
> Frank Fischer
> Chemnitz University of Technology, Department of Mathematics
> eMail: frank.fischer at mathematik.tu-chemnitz.de
> Tel.: +49 (371) 531-36913
> 
> 
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Wed, 7 Nov 2012 19:56:46 +0000 (UTC)
> From: Frank Fischer 
> Subject: Re: evil not entering emacs-state in magit-key-mode even if
> magit-key-mode is listed in evil-emacs-state-modes
> To: implementations-list at lists.ourproject.org
> Message-ID: 
> Content-Type: text/plain; charset=us-ascii
> 
> Ok, I could reproduce the error with the correct Emacs version and
> committed a fix. The reason was indeed that evil has been activated in
> the minibuffer.
> 
> Frank
> 
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> implementations-list mailing list
> implementations-list at lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
> 
> 
> End of implementations-list Digest, Vol 49, Issue 6
> ***************************************************
> 

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net



More information about the implementations-list mailing list