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 09:27:08 +0200 Message-ID: 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=36981 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmM0P-0007eF-G1 for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 03:27:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmM0O-0000YA-AO for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 03:27:13 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:49544) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmM0O-0000Y0-58 for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 03:27:12 -0400 Received: by ewy28 with SMTP id 28so2017702ewy.0 for ; Fri, 20 Aug 2010 00:27:11 -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: Ilya Shlyakhter Cc: emacs-orgmode 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. OK, after your next pull you can use "\\-" to mean "-" in the name of a property for matches. - Carsten