From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 15006@debbugs.gnu.org, Kevin Ryde <user42@zip.com.au>
Subject: bug#15006: 24.3; emacs manual comment-start-skip example grouping
Date: Sat, 21 Aug 2021 16:08:18 +0200 [thread overview]
Message-ID: <87tuji28ml.fsf@gnus.org> (raw)
In-Reply-To: <jwvk3k4esie.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 01 Aug 2013 22:30:59 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I suppose the intention is to pick up non-breaking spaces or whatever
>> other flavours of whitespace. Unlikely to arise in practice in
>> programming language stuff. Is there an obvious ill effect?
>
> You can get things like (re-search-forward comment-start-skip) and end
> up with (match-end 0) past the end of the matched comment (e.g. when
> matching "//\n").
I've now updated the example in the manual (as well as rearranged the
\\| to match the order of the description of the regexp) in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2021-08-21 14:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 0:48 bug#15006: 24.3; emacs manual comment-start-skip example grouping Kevin Ryde
2013-08-02 1:34 ` Stefan Monnier
2013-08-02 1:50 ` Kevin Ryde
2013-08-02 2:30 ` Stefan Monnier
2021-08-21 14:08 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tuji28ml.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=15006@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=user42@zip.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.