all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "William Henney" <whenney@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: HTML export and heading levels
Date: Thu, 17 Jan 2008 09:02:45 -0600	[thread overview]
Message-ID: <41c818190801170702w5488043dj2186b9a6ee914212@mail.gmail.com> (raw)
In-Reply-To: <87prw0o93i.fsf@gollum.intra.norang.ca>

Hi Bernt

On Jan 17, 2008 7:49 AM, Bernt Hansen <bernt@norang.ca> wrote:
> Bernt Hansen <bernt@norang.ca> writes:
>
> > I started playing with HTML export this week and since I'm lazy I don't
> > want to have to remember to export.  I created a few simple functions
> > that export my org file to HTML and copies the resulting HTML file to my
> > webserver when I save my org file using C-x C-s.
> >
> > This works great for sharing my ToDo list and other documents with other
> > people.
>
> And maybe this isn't such a great idea after all.  After I've saved my
> document and auto-exported I can't undo things anymore...  Time to look
> at org-publish...
>

I have been using org-publish a lot lately and it works pretty well.
One thing that you might want to consider is to publish to a directory
on your local disk and then use an external utility (e.g., your
script) to synchronize with the web server.

The problem I have found with directly setting :publishing-directory
to a remote machine in org-publish-project-alist is that when there
are several files the publishing process becomes very slow (several
minutes) and emacs completely locks up for that time :(

Perhaps Bastien has some advice on how this can be improved. I think
the problem is with tramp rather than org-mode. I currently work
around the problem by publishing to a local directory and then using
"make" and "rsync" to synchronize with the web server.

Cheers

Will

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

      reply	other threads:[~2008-01-17 15:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16  2:05 HTML export and heading levels Bernt Hansen
2008-01-16  2:42 ` Bastien
2008-01-16  5:06   ` Bernt Hansen
2008-01-17 13:49 ` Bernt Hansen
2008-01-17 15:02   ` William Henney [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41c818190801170702w5488043dj2186b9a6ee914212@mail.gmail.com \
    --to=whenney@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.