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 DfIMOybW3185RgAA0tVLHw (envelope-from ) for ; Sun, 20 Dec 2020 22:54:30 +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 sJU4NibW319xfQAAbx9fmQ (envelope-from ) for ; Sun, 20 Dec 2020 22:54:30 +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 5DF009405D0 for ; Sun, 20 Dec 2020 22:54:30 +0000 (UTC) Received: from localhost ([::1]:48940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kr7at-0004MT-FS for larch@yhetil.org; Sun, 20 Dec 2020 17:54:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr7aN-0004MG-Vu for emacs-orgmode@gnu.org; Sun, 20 Dec 2020 17:53:56 -0500 Received: from que.jabatus.fr ([109.234.163.59]:60991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr7aI-0000jH-2h for emacs-orgmode@gnu.org; Sun, 20 Dec 2020 17:53:53 -0500 X-MailPropre-MailScanner-From: victor@svictor.net X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.1, required 5, autolearn=disabled, SPF_HELO_PASS -0.10, SPF_PASS -1.00) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: 3507C10040D.AC3F3 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-Type:MIME-Version:Date:Message-ID:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=124lsWNl0KeRRgFsBBstim3mBowV2SDjiVPJaNSrGbA=; b=i8IOMmI+ZJ9mqzQQMBSIj7vBZ2 8baZofACWZt5+CMDrs6z4WTQcwar3IMX/I/VzmzsEcVrfEtya4NDg2ZiJvG3pDJFzz3Qwt3yHrpzg EaD7m66uhJZRKLRKJMUOjRnbC3yiVnRNmjw/wWg0Fl67qgrx3IgVGtobCFbNLW7rxwJ0=; From: "Victor A. Stoichita" To: emacs-orgmode Subject: strange behavior of @ in tag searches Message-ID: <87mty89kvy.fsf@svictor.net> Date: Sun, 20 Dec 2020 23:52:53 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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.59; envelope-from=victor@svictor.net; helo=que.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=i8IOMmI+; 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: 5DF009405D0 X-Spam-Score: -1.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3E3AfWMV1XJY --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable 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=20 minimal examples. In testfiles.org I have: --8<---------------cut here---------------start------------->8--- #+TAGS: [ @anthro : bib ] * my anthro=20 task :@anthro: * my bib=20 task :bib: --8<---------------cut 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 here---------------start------------->8--- #+TAGS: [ anthro2 : bib2 ] * my anthro2=20 task :@anthro2: * my bib2=20 task :bib2: --8<---------------cut 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 "my=20 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 --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=testfiles_2.org #+TAGS: [ anthro2 : bib2 ] * my anthro2 task :@anthro2: * my bib2 task :bib2: --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=testfiles.org #+TAGS: [ @anthro : bib ] * my anthro task :@anthro: * my bib task :bib: --=-=-=--