emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Orgmode] Partial bug fix for 4.47
@ 2006-09-07 23:39 Daniel J. Sinder
  2006-09-08  5:32 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J. Sinder @ 2006-09-07 23:39 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Orgmode] Partial bug fix for 4.47
  2006-09-07 23:39 [Orgmode] Partial bug fix for 4.47 Daniel J. Sinder
@ 2006-09-08  5:32 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2006-09-08  5:32 UTC (permalink / raw)
  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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-08  6:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-07 23:39 [Orgmode] Partial bug fix for 4.47 Daniel J. Sinder
2006-09-08  5:32 ` Carsten Dominik

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