[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Partial bug fix for 4.47

From: Carsten Dominik
Subject: Re: [Orgmode] Partial bug fix for 4.47
Date: Fri, 8 Sep 2006 07:32:37 +0200

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.


- 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.

--- 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)
                                             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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]