From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KL3qL7NsrV70QQAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 12:50:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cN3HA71srV6qFwAAB5/wlQ (envelope-from ) for ; Sat, 02 May 2020 12:51:09 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 299F7941E61 for ; Sat, 2 May 2020 12:51:08 +0000 (UTC) Received: from localhost ([::1]:51644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUrbo-0000wo-DG for larch@yhetil.org; Sat, 02 May 2020 08:51:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUrbN-0000vA-VK for emacs-orgmode@gnu.org; Sat, 02 May 2020 08:50:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUrbM-00008K-UA for emacs-orgmode@gnu.org; Sat, 02 May 2020 08:50:41 -0400 Received: from gallois.livando.com ([31.170.109.33]:37056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUrbM-0008Ue-BG for emacs-orgmode@gnu.org; Sat, 02 May 2020 08:50:40 -0400 X-PDA-ORIGIN: gallois.livando.com Received: (qmail 17915 invoked from network); 2 May 2020 12:49:36 -0000 Received: by simscan 1.4.0 ppid: 17908, pid: 17913, t: 0.1978s scanners:none Received: from unknown (HELO cantor.fritz.box) (christian@gladbachcity.de@85.197.2.135) by 0 with SMTP; 2 May 2020 12:49:36 -0000 Message-ID: <03f1df447c14a414a4eb143b7055fed3f6afb234.camel@gladbachcity.de> Subject: Possible bug in subtree matching with empty title + tags From: Christian Heinrich To: emacs-orgmode Date: Sat, 02 May 2020 14:49:35 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-lc1ZOIRLw/gAeX7imdqC" User-Agent: Evolution 3.36.1-1 MIME-Version: 1.0 Received-SPF: none client-ip=31.170.109.33; envelope-from=christian@gladbachcity.de; helo=gallois.livando.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 08:50:36 X-ACL-Warn: Detected OS = Linux 3.x [generic] X-Received-From: 31.170.109.33 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-3.11 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49491921073902]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[christian@gladbachcity.de,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[gladbachcity.de]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: CYOHpgYF3gj+ --=-lc1ZOIRLw/gAeX7imdqC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I'm often using empty header titles that only contain tags, such as > ** :foo: In my case, this is sufficient (for instance for flashcards, where I never = have to actually have to use the agenda etc.). However, since Nicolas's refactoring in be31a0c4595a6d68b03b5cfbcbcdbf2cd76d2b7f empty titles seem to be prohibited= . In the above example, using subtrees (C-/ m) on the "foo" tag will return nothing, even though th= e tag is in the file. Is this a deliberate change? I didn't see a note in the manual saying that hea= dings must not be empty (this might be useful then). Thanks for your help guys! Cheers Christian --=-lc1ZOIRLw/gAeX7imdqC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+9lGLw1S8YBUC27di84V01FvzDwFAl6tbF8ACgkQi84V01Fv zDyiUQ/+KWiTOaapxk28kB1iaGK+5RxfQeT5/PRHaeZNoUMohbbiwAFc8nQpg/xc gWatzHPPePNxvpDNy4hlMVntdvaEhFubwES6SJHF2zFIVRFPXzmM8YhlNf9Zv2fA IE8zg2aijbhMYDna3W97DvDWARS+hnputrgB301ruNykBIVQZGYj69k4twP+vdBq /o1boPRwurFuMsIwYsAXPafnMKcdFM0DZEc3rNNQFrL51n4yACRLYkAIH6ynB5u6 +eDtt1CvgilxAcpPHilQx/erXaOHAYB/E6cKBzMDsLcodAEycViLyRzeLEusShg6 P2DZ+4wJ9WGpeTdEXA/+iRVgW6M4y98o7mMBhmfEYXT8V6S0aUKfEViUEnd4/DNR Z8wYfdcNOLrf47uxbevqYsmGiYShiNxZ0l7Nlkk7cVmXOWvSUww6WUt7vMEnJkgK 4gObMWRO2FEOGha+S+Gu4i7ck0gka6rKT/+tlKkpLW6HfQTC+/LRuJqeeqleTvcH Agq0auLq5/gmy6rctI0S+casigpmbT89Edltn4jX5zfBUg6/n0wlikf31Kp4sXwr /pEb05neSWdYHrkd1Ujrw33bUO+4aviX7LLkHrGj2iU+7lNyH68AVWBHwVxow5JD 7j2uzlx9byAWnIg06GgHpwVFx+i8N940njl9Ku53Ivf6bwrki4Q= =A8CL -----END PGP SIGNATURE----- --=-lc1ZOIRLw/gAeX7imdqC--