From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Hyphens for tags, todo keywords, and properties Date: Sun, 5 Feb 2012 09:23:39 -0700 Message-ID: References: <7691.1328425759@alphaville> <8739apcpz1.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ru4sP-00024b-3M for emacs-orgmode@gnu.org; Sun, 05 Feb 2012 11:23:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ru4sO-0001jL-3H for emacs-orgmode@gnu.org; Sun, 05 Feb 2012 11:23:41 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:49893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ru4sN-0001jC-Nr for emacs-orgmode@gnu.org; Sun, 05 Feb 2012 11:23:39 -0500 Received: by iagz16 with SMTP id z16so9355217iag.0 for ; Sun, 05 Feb 2012 08:23:39 -0800 (PST) In-Reply-To: <8739apcpz1.fsf@norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org On 2012-02-05, Bernt Hansen wrote: > Nick Dokos writes: >> I suspect that this is going to be difficult, if not impossible. >> In particular, tags and properties search uses - as a metacharacter, >> so having it appear as part of a tag or property would probably >> break things there. > > How is tag filtering where you remove a tag with '-TAG' going to > distinguish between a tag with a - and tag you want to remove? > > (tags-todo "-WAITING-CANCELLED/!NEXT" > > is that one tag to remove - WAITING-CANCELLED or is it two (-WAITING and > -CANCELLED)? With \\- in the middle, it should be one.