From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: tag or property names with dashes Date: Fri, 20 Aug 2010 15:45:09 +0200 Message-ID: <4C63A6F1-5F71-4569-A1C5-C2C137DDF65B@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33483 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmRuE-0004F7-Es for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 09:45:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmRuD-0004Fx-Dh for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 09:45:14 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:40734) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmRuD-0004Fi-9R for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 09:45:13 -0400 Received: by eyg7 with SMTP id 7so2220418eyg.0 for ; Fri, 20 Aug 2010 06:45:12 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Manish Cc: Ilya Shlyakhter , emacs-orgmode On Aug 20, 2010, at 3:36 PM, Manish wrote: > On Fri, Aug 20, 2010 at 12:57 PM, Carsten Dominik wrote: >> >> On Aug 17, 2010, at 9:40 PM, Ilya Shlyakhter wrote: >> >>> When doing an agenda tags match for tags or properties with dashes >>> in >>> their name, >>> the dashes become negation operators: "my-prop>0" means "entries >>> that >>> have the tag >>> 'my' and do not have a positive property 'prop'", rather than >>> "entries >>> that have a positive >>> property 'my-prop'". Is there a way to escape the dashes to get the >>> latter meaning? >> >> Dashes are not valid in TODO keywords and tags, but you are right, >> properties do allow them. hmmm. I don't remember why I did allow >> hem >> - but surely enough I did. >> > > Are "#" and "%" are disallowed in the tags? Can they be made to > work please? This is non-trivial and I shy away from the work for now. Make me a patch and I will look at it. - Carsten