emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How can I call the exporter from function?
@ 2015-10-25 20:19 joakim
  2015-10-26 13:18 ` Göktuğ Kayaalp
  0 siblings, 1 reply; 2+ messages in thread
From: joakim @ 2015-10-25 20:19 UTC (permalink / raw)
  To: emacs-orgmode

I want to call the exporter in a certain way, so I don't have to type
the same options every time.

Basically I want to do first this:
    (re-search-backward "^\\*\\* ")
    (org-mark-subtree)

Then I want to export the marked subtree as odt.

With command keys it becomes something like:
c-c c-e c-s o o

... If I remember correctly. In this case I would rather do

m-x my-own-canned-exporter

I tried following the exporting dispatcher function but got lost in the
wilderness. Does anyone have a suggestion?
-- 
Joakim Verona

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

end of thread, other threads:[~2015-10-26 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-25 20:19 How can I call the exporter from function? joakim
2015-10-26 13:18 ` Göktuğ Kayaalp

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