[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: icalendar.el bug fix patch
From: |
Mattias Engdegård |
Subject: |
Re: icalendar.el bug fix patch |
Date: |
Mon, 4 Nov 2019 12:56:29 +0100 |
4 nov. 2019 kl. 01.50 skrev Paul Eggert <address@hidden>:
> If we want to keep with this tradition, Emacs should use a separate escape
> sequence for "match any single character including newline".
I very much agree, for practicality more than tradition. An atomic notation is
far superior to a modal mechanism.
> On looking into what other systems do, I find that I prefer Vim's syntax of
> '\_.' to match any single character including newline.
Thanks for finding that. Another advantage of '\_.' is that it does not change
the behaviour of existing regexps; '\!' currently means '!', but '\_.' is a
syntax error.
There doesn't seem to be much else in Vim's '\_' family worth appropriating for
Emacs. If anything, I'd favour adding some (non-Vim) Unicode patterns: \p and
\P for general categories and \X for graphemes.
- Re: icalendar.el bug fix patch, (continued)
- Re: icalendar.el bug fix patch, Paul Eggert, 2019/11/01
- Re: icalendar.el bug fix patch, Mattias Engdegård, 2019/11/01
- Re: icalendar.el bug fix patch, Juri Linkov, 2019/11/02
- Re: icalendar.el bug fix patch, Richard Stallman, 2019/11/03
- RE: icalendar.el bug fix patch, Drew Adams, 2019/11/03
- Re: icalendar.el bug fix patch, Stefan Monnier, 2019/11/03
- Re: icalendar.el bug fix patch, Juri Linkov, 2019/11/03
- Re: icalendar.el bug fix patch, Stefan Monnier, 2019/11/03
- Re: icalendar.el bug fix patch, Juri Linkov, 2019/11/03
- Message not available
- Re: icalendar.el bug fix patch, Paul Eggert, 2019/11/03
- Re: icalendar.el bug fix patch,
Mattias Engdegård <=
- RE: icalendar.el bug fix patch, Drew Adams, 2019/11/04
- Re: icalendar.el bug fix patch, Richard Stallman, 2019/11/02
- RE: icalendar.el bug fix patch, Drew Adams, 2019/11/03
- Re: icalendar.el bug fix patch, Howard Melman, 2019/11/01
- Re: icalendar.el bug fix patch, Richard Stallman, 2019/11/01