emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: re created using regexp-opt fails in an org agenda command
Date: Sat, 18 Dec 2021 22:37:13 +0800	[thread overview]
Message-ID: <87sfuq2d46.fsf@localhost> (raw)
In-Reply-To: <CAJcAo8tP4RYo4VPekTgO8wsG=s+8iEAQBuP1mH5oStvA0ahnbw@mail.gmail.com>

Samuel Wales <samologist@gmail.com> writes:

> this bug is strange because it appears as if regexp-opt is broken, but
> the only likely difference is an org upgrade via git clone.
>
> in an org agenda command, the same set of org todo kw works if a
> regexp was created using mapconcat, but not with regexp-opt.
>
> i expected that regexp-opt with 'words is identical to the mapconcat
> version in functionality in this context.

It is difficult to debug this without minimal reproducer, but can you
try to
1. M-: (setq debug-on-error t) <RET>
2. M-x debug-on-entry org-make-tags-matcher <RET>
3. Run agenda
4. Post the backtrace that pops up using older Org and the new Org.

Best,
Ihor


      parent reply	other threads:[~2021-12-18 14:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-13  3:59 re created using regexp-opt fails in an org agenda command Samuel Wales
2021-12-18  8:52 ` Samuel Wales
2021-12-18  9:59   ` Ihor Radchenko
2021-12-18 14:37 ` Ihor Radchenko [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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfuq2d46.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).