From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: tag or property names with dashes Date: Sat, 21 Aug 2010 00:58:35 +0530 Message-ID: References: <4C63A6F1-5F71-4569-A1C5-C2C137DDF65B@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=36505 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmXSl-0001BV-4o for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 15:41:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmXGq-0005zT-Ie for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 15:28:57 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:58701) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmXGq-0005zK-9T for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 15:28:56 -0400 Received: by bwz6 with SMTP id 6so3094580bwz.0 for ; Fri, 20 Aug 2010 12:28:55 -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: Carsten Dominik Cc: Ilya Shlyakhter , emacs-orgmode On Fri, Aug 20, 2010 at 11:02 PM, Manish wrote: > On Fri, Aug 20, 2010 at 7:15 PM, Carsten Dominik wrote: >> >> On Aug 20, 2010, at 3:36 PM, Manish wrote: >> [snip: accepting -'s in properties (17 lines)] >>> >>> 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. > > Attempting something that /you/ call non-trivial is nigh impossible > for me. :( > > But even if I were to dare.. any hints where I could start? > Attaching a naive first attempt. With this patch, I have tested special behavior of ctrl-a/e respecting tags in org files, ascii and HTML exports, agenda, and tag filtering. LaTeX export was not working so could not test and do not have the setup for testing Docbook exports. Please do take a look -- I do not understand the larger repurcussions/side effects of the changes to all the regexes. Thanks -- Manish