emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel J. Sinder" <daniel@sindercity.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: [Orgmode] Partial bug fix for 4.47
Date: Thu, 07 Sep 2006 16:39:14 -0700	[thread overview]
Message-ID: <4500ADA2.2090601@sindercity.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

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

[-- Attachment #2: org-export-with-tags.patch --]
[-- Type: text/plain, Size: 564 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2006-09-07 23:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-07 23:39 Daniel J. Sinder [this message]
2006-09-08  5:32 ` [Orgmode] Partial bug fix for 4.47 Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4500ADA2.2090601@sindercity.com \
    --to=daniel@sindercity.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).