From: Robert Klein <roklein@roklein.de>
To: Bastien <bzg@gnu.org>, Sebastien Vauban <sva-news@mygooglest.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: subtree export title w/ tags
Date: Sun, 19 Jan 2014 12:08:01 +0100 [thread overview]
Message-ID: <52DBB211.7030605@roklein.de> (raw)
In-Reply-To: <52D67FAE.7090906@roklein.de>
[-- Attachment #1: Type: text/plain, Size: 1575 bytes --]
Hi Bastien, Sebastien,
`org-export-with-tags' doesn't seem to work at all when a headline is
made title of a subtree export.
When using the appended configuration and org-file; point on the line
"point is here"; I'm subtree exporting using C-c C-e C-s h H and I get
#+begin_example
...
<head>
<title>second heading
:mytag:</title>
<!-- 2014-01-19 Sun 10:42 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
...
#+end_example
I suspect the `org-todo-line-regexp' in org-export--get-subtree-options
doesn't like/understand tags.
Note: I'm rolling my own blog-exporter as a html-derived one (didn't
understand org2blog enough to be able to enhance it). For posting a
subtree it would be `natural' to use the heading (without tags) as title
and tags (if any) as blog tags.
Best regards
Robert
On 01/15/2014 01:31 PM, Robert Klein wrote:
> Bastien, Sebastien,
>
> thank you both for your help.
>
> I'll check out `org-export-with-tags'.
>
> I do need the tags, but only in the -export-as- function of a derived
> exporter. Probably I still can get them.
>
>
> Thanks a lot
>
> Best regards
> Robert
>
>
> On 01/15/2014 12:53 PM, Bastien wrote:
>>
>>
>> "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
>> writes:
>>
>>> `org-export-with-tags' seems to be the option to do that, nope?
>>>
>>> ╭──── org-export-with-tags
>>> │
>>> │ If nil, do not export tags, just remove them from headlines.
>>> ╰────
>>
>> I think the OP wants to remove tags just from the titles.
>>
>
>
[-- Attachment #2: .emacs --]
[-- Type: text/plain, Size: 810 bytes --]
; no startup message
(setq inhibit-startup-message t)
;; I'm feeling religious about this:
(setq-default indent-tabs-mode nil)
;; ask y or n instead of yes or no
(fset 'yes-or-no-p 'y-or-n-p)
;; indent after enter; I want this most of the time.
(global-set-key (kbd "RET") 'newline-and-indent)
;; use emacs with IME (avoid 'no dead-acute' error messages)
(load-library "iso-transl")
;; change number of newlines for empasized blocks
(setq org-emphasis-regexp-components
'(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 10))
(setq org-export-with-tags nil)
(setq load-path (cons "~/.emacs.d/org-mode/lisp" load-path))
(add-to-list 'load-path "~/.emacs.d")
(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
(require 'org-loaddefs)
(setq org-export-with-tags nil)
[-- Attachment #3: tag-test.org --]
[-- Type: application/vnd.lotus-organizer, Size: 309 bytes --]
next prev parent reply other threads:[~2014-01-19 11:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-14 16:22 subtree export title w/ tags Robert Klein
2014-01-14 16:26 ` Bastien
2014-01-15 8:49 ` Sebastien Vauban
2014-01-15 11:53 ` Bastien
2014-01-15 12:31 ` Robert Klein
2014-01-19 11:08 ` Robert Klein [this message]
2014-01-19 11:19 ` Nicolas Goaziou
2014-01-19 15:39 ` Bastien
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=52DBB211.7030605@roklein.de \
--to=roklein@roklein.de \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=sva-news@mygooglest.com \
/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).