help: replace regexp
damien.thiriet77
damien.thiriet77 at laposte.net
Tue Dec 13 01:24:37 CET 2011
Hi,
They might be an issue with substitutions involving regexp: I had to deal with inputs from this kind
On natchniony i mlody byl He was inspired and young.
In order to eliminate polish version, i asked for:
:s/ *[A-Z][^[A-Z]*//
The proper zone described by regexp was highlighted, but only the first character of the sequence was deleted,
not the whole sequence. On vim everything was deleted, as it should. I cannot say if it is an emacs issue (the
regexp not being highlighted using C-M-% in emacs mode did not help) or an evil issue (since my regexp was
well highlighted, I assume it was not my regexp that failed this time…).
Thank you for helping,
Damien T.
> Message du 09/12/11 12:18
> De : implementations-list-request at lists.ourproject.org
> A : implementations-list at lists.ourproject.org
> Copie à :
> Objet : implementations-list Digest, Vol 38, Issue 5
>
> 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. how to display contents of all registers in evil? (Jim Green)
> 2. Re: evil conflicts in c-mode (Jim Green)
> 3. Re: evil conflicts in c-mode (Jim Green)
> 4. Re: discrepancy between evil and vim in j motion at bottom of
> screen (Frank Fischer)
> 5. Re: how to display contents of all registers in evil?
> (Frank Fischer)
> 6. Re: evil conflicts in c-mode (Frank Fischer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 8 Dec 2011 10:09:49 -0500
> From: Jim Green
> Subject: how to display contents of all registers in evil?
> To: "vi/Vim emulation in Emacs"
>
> Message-ID:
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello Frank and list:
>
> do we have a command like :reg in vim to show what each register have?
>
> I didn't expect evil has register support but it does have!
>
>
> Jim
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 9 Dec 2011 00:04:12 +0000
> From: Jim Green
> Subject: Re: evil conflicts in c-mode
> To: "vi/Vim emulation in Emacs"
> , Frank Fischer
>
> Message-ID:
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 9 December 2011 00:03, Jim Green wrote:
> > On 8 December 2011 07:18, Frank Fischer
> > wrote:
> >> On Wed, Dec 07, 2011 at 11:43:20PM +0000, Jim Green wrote:
> >>> I applied patch
> >>>
> >>> ...
> >>>
> >>> but still got the errors:
> >>>
> >>> Selector: t
> >>> Passed: 127
> >>> Failed: 2 (2 unexpected)
> >>> Total: ?129/129
> >>
> >> Interesting. It seems as if M-f is not bound to 'forward-word and
> >> therefore no command bound to M-f is found - I wonder why.
> >>
> >> Could you please check if M-f (in a clean Emacs, make emacs) is bound?
>
> Hi, Frank,
> c-h k m-f shows it is undefined.
>
> Thanks!
> Jim
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 9 Dec 2011 00:03:06 +0000
> From: Jim Green
> Subject: Re: evil conflicts in c-mode
> To: "vi/Vim emulation in Emacs"
> , Frank Fischer
>
> Message-ID:
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 8 December 2011 07:18, Frank Fischer
> wrote:
> > On Wed, Dec 07, 2011 at 11:43:20PM +0000, Jim Green wrote:
> >> I applied patch
> >>
> >> ...
> >>
> >> but still got the errors:
> >>
> >> Selector: t
> >> Passed: 127
> >> Failed: 2 (2 unexpected)
> >> Total: ?129/129
> >
> > Interesting. It seems as if M-f is not bound to 'forward-word and
> > therefore no command bound to M-f is found - I wonder why.
> >
> > Could you please check if M-f (in a clean Emacs, make emacs) is bound?
> >
> > Thx, Frank
> >
> > _______________________________________________
> > implementations-list mailing list
> > implementations-list at lists.ourproject.org
> > https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 9 Dec 2011 08:28:51 +0100
> From: Frank Fischer
> Subject: Re: discrepancy between evil and vim in j motion at bottom of
> screen
> To: implementations-list at lists.ourproject.org
> Message-ID: <20111209072851.GI20490 at mordred.mathematik.tu-chemnitz.de>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Dec 08, 2011 at 05:10:08AM +0000, Jim Green wrote:
> > Hi, Frank and list:
> >
> > this is a minor discrepancy, I just want to confirm if it intended.
> >
> > I hit L to get to bottom of window, then I press j. in vim, screen
> > scrolls down just one line but evil recenters the bottom to the center
> > of screen.
> >
> > Is this designed to be different from vim?
>
> Well, it's by Emacs design. Evil is merely a set of key-bindings, but
> scrolling, moving and so on are (more or less) the usual Emacs
> functions, so scrolling like this is an Emacs feature. Have a look at
> [1] for more information about scrolling.
>
> Frank
>
> [1] http://www.emacswiki.org/emacs/SmoothScrolling
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 9 Dec 2011 09:08:00 +0100
> From: Frank Fischer
> Subject: Re: how to display contents of all registers in evil?
> To: implementations-list at lists.ourproject.org
> Message-ID: <20111209080800.GJ20490 at mordred.mathematik.tu-chemnitz.de>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Dec 08, 2011 at 10:09:49AM -0500, Jim Green wrote:
> > Hello Frank and list:
> >
> > do we have a command like :reg in vim to show what each register have?
>
> Added in d412a79
>
> Frank
>
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 9 Dec 2011 09:09:11 +0100
> From: Frank Fischer
> Subject: Re: evil conflicts in c-mode
> To: vi/Vim emulation in Emacs
>
> Message-ID: <20111209080911.GK20490 at mordred.mathematik.tu-chemnitz.de>
> Content-Type: text/plain; charset=us-ascii
>
> On Fri, Dec 09, 2011 at 12:04:12AM +0000, Jim Green wrote:
> > Hi, Frank,
> > c-h k m-f shows it is undefined.
>
> Interesting, I wonder why. Is M- bound to 'forward-word?
>
> 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 38, Issue 5
> ***************************************************
>
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