From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel J. Sinder" Subject: [Orgmode] Partial bug fix for 4.47 Date: Thu, 07 Sep 2006 16:39:14 -0700 Message-ID: <4500ADA2.2090601@sindercity.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080109060602020506040608" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLTSo-0004J9-P5 for emacs-orgmode@gnu.org; Thu, 07 Sep 2006 19:39:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLTSn-0004Iu-UH for emacs-orgmode@gnu.org; Thu, 07 Sep 2006 19:39:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLTSn-0004Io-LC for emacs-orgmode@gnu.org; Thu, 07 Sep 2006 19:39:17 -0400 Received: from [208.97.132.5] (helo=randymail-a10.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLTTG-0005SW-UF for emacs-orgmode@gnu.org; Thu, 07 Sep 2006 19:39:47 -0400 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: emacs-orgmode This is a multi-part message in MIME format. --------------080109060602020506040608 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------080109060602020506040608 Content-Type: text/plain; name="org-export-with-tags.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="org-export-with-tags.patch" --- 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))) --------------080109060602020506040608 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --------------080109060602020506040608--