From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: How to include menu entry in C-x C-e Date: Sun, 26 Mar 2017 16:12:09 -0400 Message-ID: References: <0b0c667d-cd1a-ff38-a93e-8adfd63ff41f@ofosos.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csEWQ-0004fj-Im for emacs-orgmode@gnu.org; Sun, 26 Mar 2017 16:12:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csEWL-0005Ls-EH for emacs-orgmode@gnu.org; Sun, 26 Mar 2017 16:12:18 -0400 Received: from mail-it0-x22e.google.com ([2607:f8b0:4001:c0b::22e]:35191) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1csEWL-0005L0-9O for emacs-orgmode@gnu.org; Sun, 26 Mar 2017 16:12:13 -0400 Received: by mail-it0-x22e.google.com with SMTP id y18so53583938itc.0 for ; Sun, 26 Mar 2017 13:12:13 -0700 (PDT) In-reply-to: <0b0c667d-cd1a-ff38-a93e-8adfd63ff41f@ofosos.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" 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