From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [Orgmode] Partial bug fix for 4.47 Date: Fri, 8 Sep 2006 07:32:37 +0200 Message-ID: <1006b8c074fec4a43340429592b945c0@science.uva.nl> References: <4500ADA2.2090601@sindercity.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLZeb-00070u-JB for emacs-orgmode@gnu.org; Fri, 08 Sep 2006 02:15:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLZeZ-0006xb-Cv for emacs-orgmode@gnu.org; Fri, 08 Sep 2006 02:15:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLZeZ-0006xS-7y for emacs-orgmode@gnu.org; Fri, 08 Sep 2006 02:15:51 -0400 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLZf6-0005K1-AO for emacs-orgmode@gnu.org; Fri, 08 Sep 2006 02:16:24 -0400 In-Reply-To: <4500ADA2.2090601@sindercity.com> 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: "Daniel J. Sinder" Cc: emacs-orgmode I am taking this patch. Actually, I will allow org-export-with-tags to be set to 'not-in-toc (will even make this the default..), in which case tags will not be shown in the table of contents, but will be there in the headlines in the document. Thanks. - Carsten On Sep 8, 2006, at 1:39, Daniel J. Sinder wrote: > Even when nil, org-export-with-tags does not remove tags from table > of contents entries in HTML exports. The keyword QUOTE is likewise > not removed. > > I don't think either of these is intentional, but ignore the > attached patch if they were. > > BTW, org-export-with-tags has no effect (when nil) for ASCII > exports, but I haven't fixed it in the attached patch. > > Dan > --- org-orig.el 2006-09-01 18:25:36.000000000 -0700 > +++ org.el 2006-09-07 16:30:11.000000000 -0700 > @@ -14275,6 +14275,11 @@ > (= level umax) > (org-search-todo-below > line lines level)))) > + (unless org-export-with-tags > + (if (string-match "\\(:[a-zA-Z0-9_@:]+:\\)" txt) > + (setq txt (replace-match "" t t txt)))) > + (if (string-match quote-re0 txt) > + (setq txt (replace-match "" t t txt))) > (if org-export-with-section-numbers > (setq txt (concat (org-section-number level) > " " txt))) > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >