emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to include menu entry in C-x C-e
@ 2017-03-26 19:17 Mark Meyer
  2017-03-26 20:12 ` John Kitchin
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Meyer @ 2017-03-26 19:17 UTC (permalink / raw)
  To: emacs-orgmode

Hi,
how do I include a menu entry from my module, when people hit C-x C-e?

Cheers, Mark
-- 
  Mark Meyer
  mark@ofosos.org

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

* Re: How to include menu entry in C-x C-e
  2017-03-26 19:17 How to include menu entry in C-x C-e Mark Meyer
@ 2017-03-26 20:12 ` John Kitchin
  0 siblings, 0 replies; 2+ messages in thread
From: John Kitchin @ 2017-03-26 20:12 UTC (permalink / raw)
  To: Mark Meyer; +Cc: emacs-orgmode

here is an example I have used:

(org-export-define-derived-backend 'cmu-manuscript 'latex
  :menu-entry
  '(?j "Export with ox-manuscript"
       ((?L "As LaTeX buffer" org-latex-export-as-latex)
	(?l "As LaTeX file" org-latex-export-to-latex)
	(?p "As manuscript PDF file" ox-manuscript-export-and-build)
	(?o "As manuscript PDF and open" ox-manuscript-export-and-build-and-open)
	(?e "As PDF and email" ox-manuscript-export-and-build-and-email)
	(?s "As submission manuscript tex"
	    ox-manuscript-export-submission-manuscript)
	(?M "As submission manuscript pdf"
	    ox-manuscript-build-submission-manuscript)
	(?m "As submission manuscript pdf and open"
	    ox-manuscript-build-submission-manuscript-and-open)
	(?c "As manuscript PDF with comments"
	    ox-manuscript-build-with-comments)
	(?a "As submission archive"
  ox-manuscript-make-submission-archive))))


Mark Meyer writes:

> Hi,
> how do I include a menu entry from my module, when people hit C-x C-e?
>
> Cheers, Mark


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

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

end of thread, other threads:[~2017-03-26 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-26 19:17 How to include menu entry in C-x C-e Mark Meyer
2017-03-26 20:12 ` John Kitchin

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