emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Fix org-in-archived-heading-p when tag contains ARCHIVE as a substring
Date: Fri, 11 Dec 2020 04:27:06 GMT	[thread overview]
Message-ID: <87zh2lklwn.fsf@kyleam.com> (raw)
In-Reply-To: <87o8j3e49r.fsf@localhost>

Ihor Radchenko writes:

> Subject: [PATCH] Fix org-in-archived-heading-p
> * lisp/org.el (org-in-archived-heading-p): When called on a heading
> with a tag containing org-archive-tag string as a substring, that
> heading was incorrectly recognised as archived.  Changed matching
> against the whole :tag1:tag2:...: string to matching against tag list
> as returned by `org-get-tags'.
> * testing/lisp/test-org.el (test-org/in-archived-heading-p): Add test
> when one of the heading tags contains org-archive-tag as a substring.

Nicely done.  Pushed (a03f17e49).

Thank you.

      reply	other threads:[~2020-12-11  4:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09  9:07 [PATCH] Fix org-in-archived-heading-p when tag contains ARCHIVE as a substring Ihor Radchenko
2020-12-11  4:27 ` Kyle Meyer [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:

  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=87zh2lklwn.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \


* 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


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).