emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Partial bug fix for 4.47


From: Daniel J. Sinder
Subject: [Orgmode] Partial bug fix for 4.47
Date: Thu, 07 Sep 2006 16:39:14 -0700
User-agent: Thunderbird 1.5.0.5 (X11/20060719)

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

reply via email to

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