From: Arthur Miller <arthur.miller@live.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Why does this re-search forward fail?
Date: Tue, 20 Apr 2021 18:46:38 +0200 [thread overview]
Message-ID: <AM9PR09MB4977E84E8440EF534345C6D996489@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <jwvv98hnh9h.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 20 Apr 2021 10:49:53 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> (while (re-search-forward hbm--src-marker-re (eobp) t)
>
> I don't know about your particular problem but the call above looks
> wrong in its `limit` argument which is supposed to be either nil or
> a position whereas `eobp` returns a boolean (i.e. either nil or t).
Indeed. I ment (point-max) but had something else in m head when I wrote
it.
Thanks.
prev parent reply other threads:[~2021-04-20 16:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-20 13:56 Why does this re-search forward fail? Arthur Miller
2021-04-20 14:13 ` Andreas Schwab
2021-04-20 14:55 ` Arthur Miller
2021-04-20 14:49 ` Stefan Monnier
2021-04-20 16:46 ` Arthur Miller [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=AM9PR09MB4977E84E8440EF534345C6D996489@AM9PR09MB4977.eurprd09.prod.outlook.com \
--to=arthur.miller@live.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.