From: Sebastian Rose <sebastian_rose@gmx.de>
To: Chao Lu <loochao@gmail.com>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: About publishing to html
Date: Mon, 15 Feb 2010 10:52:20 +0100 [thread overview]
Message-ID: <871vgm25d7.fsf@gmx.de> (raw)
In-Reply-To: <3cbb63d01002131458u788afc01l98f2959793249abe@mail.gmail.com> (Chao Lu's message of "Sat, 13 Feb 2010 17:58:40 -0500")
Chao Lu <loochao@gmail.com> writes:
> Hey,
>
> Another question is, when I publish, I call org-publish, then org prompt me
> several project, I have to choose, how could I configure to directly publish
> to certain project?
>
> like:
> (global-set-key (kbd "<f6> <f6>") '*org-publish-directly to some project*)
>
> Best,
Hi Chao Lu,
mostly, you will want to export a project after changing a file, that is
part of that project.
C-c C-e P
publishes the project, the current buffer is part of.
You could as well write a function and bind it to a certain key:
(defun chao-lu-publish-project-one()
(interactive)
(org-publish-project
(assoc "projects-name" org-publish-project-alist)))
Best wishes
Sebastian
prev parent reply other threads:[~2010-02-15 9:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-13 22:25 About publishing to html Chao Lu
2010-02-13 22:28 ` Carsten Dominik
[not found] ` <3cbb63d01002131453s6eb777ddyb7a5197b822ec10b@mail.gmail.com>
2010-02-13 22:58 ` Chao Lu
2010-02-15 9:52 ` Sebastian Rose [this message]
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=871vgm25d7.fsf@gmx.de \
--to=sebastian_rose@gmx.de \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=loochao@gmail.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).