From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6KneBxrZ318/XAAA0tVLHw (envelope-from ) for ; Sun, 20 Dec 2020 23:07:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mCyXAxrZ319SAgAAbx9fmQ (envelope-from ) for ; Sun, 20 Dec 2020 23:07:06 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 859499403C8 for ; Sun, 20 Dec 2020 23:07:05 +0000 (UTC) Received: from localhost ([::1]:51940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kr7n4-0006dE-Pq for larch@yhetil.org; Sun, 20 Dec 2020 18:07:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr7lu-0006cw-0i for emacs-orgmode@gnu.org; Sun, 20 Dec 2020 18:05:50 -0500 Received: from guerre.jabatus.fr ([109.234.163.21]:38794) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr7lr-00052Q-SU for emacs-orgmode@gnu.org; Sun, 20 Dec 2020 18:05:49 -0500 X-MailPropre-MailScanner-From: victor@svictor.net X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.09, required 5, autolearn=disabled, SPF_HELO_PASS -0.10, SPF_PASS -1.00, SUKE_2 0.01) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: 19F3D1001F6.ADC1F X-MailPropre-MailScanner-Information: Please contact the ISP for more information DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=svictor.net ; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:In-reply-to:Subject:To:From:References:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fw6YNroPg0r7X8OtzR4+jV5Le0WWeOFFgpaCD3VG/RI=; b=oCv7mkhC5FvPkt3m3hvprhIHes Q/vtEIct5r8XbC/WIowjVAo3zC0xS0MJAmgXmcMXNw+7yscjUvbeIRNtctL/O3VxxHjYlAVJc7pHQ wdtNc30STiBx1lYWEMsPYg1jsuEWt5Xepv8YEOqUzmyRkASw6gqOyk/nlssL4Z92nfmA=; References: <87mty89kvy.fsf@svictor.net> From: "Victor A. Stoichita" To: emacs-orgmode Subject: Re: strange behavior of @ in tag searches In-reply-to: <87mty89kvy.fsf@svictor.net> Date: Mon, 21 Dec 2020 00:05:39 +0100 Message-ID: <87pn34rscc.fsf@svictor.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - pam.o2switch.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - svictor.net X-Get-Message-Sender-Via: pam.o2switch.net: authenticated_id: victor@svictor.net X-Authenticated-Sender: pam.o2switch.net: victor@svictor.net X-Source: X-Source-Args: X-Source-Dir: Received-SPF: pass client-ip=109.234.163.21; envelope-from=victor@svictor.net; helo=guerre.jabatus.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=svictor.net header.s=default header.b=oCv7mkhC; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 859499403C8 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: S2SviizXclVZ > Hi, > > I=E2=80=99m a bit puzzled by the behavior of the agenda search when tags= =20 > have > hierarchical structure and start with @. I attach two > minimal examples. > > In testfiles.org I have: > --8<---------------cut=20 > here---------------start------------->8--- > #+TAGS: [ @anthro : bib ] > > * my anthro > task :@anthro: > * my bib > task :bib: > --8<---------------cut=20 > here---------------end--------------->8--- > > I restrict the search to the buffer and search for the tag=20 > "@anthro". > I would expect to get the two headings "my anthro task" and "my=20 > bib > task". > Instead, I only get "my bib task". > > Now in testfiles2.org I have: > --8<---------------cut=20 > here---------------start------------->8--- > #+TAGS: [ anthro2 : bib2 ] > > * my anthro2 > task :@anthro2: > * my bib2 > task :bib2: > --8<---------------cut=20 > here---------------end--------------->8--- > > Notice that here the parent tag set in the header does not start=20 > with > @ while the tag on "my anthro2 task" starts with @. > When I search for "anthro2" (no @), I would expect to get only=20 > "my > bib2 task". But here I get both headings. > > Am I missing something? Does @ have a special meaning in tags? > > This is with org mode version 9.4.3.=20 > Regards, > Victor I just realized that with "emacs -Q" both searches yield the=20 expected results. I have emacs 27.1 which ships org-mode 9.3. Could I have set inadvertently something that changes the meaning=20 of @ in tag searches? Or was there a change in that respect=20 between 9.3 and 9.4.3?