From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: Re: Re: HTML export and heading levels Date: Thu, 17 Jan 2008 09:02:45 -0600 Message-ID: <41c818190801170702w5488043dj2186b9a6ee914212@mail.gmail.com> References: <87wsqaplsp.fsf@gollum.intra.norang.ca> <87prw0o93i.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFWGY-000440-1e for emacs-orgmode@gnu.org; Thu, 17 Jan 2008 10:02:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFWGW-0003za-Ix for emacs-orgmode@gnu.org; Thu, 17 Jan 2008 10:02:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFWGW-0003zI-AN for emacs-orgmode@gnu.org; Thu, 17 Jan 2008 10:02:48 -0500 Received: from rv-out-0910.google.com ([209.85.198.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JFWGV-0002ge-KH for emacs-orgmode@gnu.org; Thu, 17 Jan 2008 10:02:47 -0500 Received: by rv-out-0910.google.com with SMTP id c27so882849rvf.6 for ; Thu, 17 Jan 2008 07:02:45 -0800 (PST) In-Reply-To: <87prw0o93i.fsf@gollum.intra.norang.ca> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode@gnu.org Hi Bernt On Jan 17, 2008 7:49 AM, Bernt Hansen wrote: > Bernt Hansen 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 m= y > > webserver when I save my org file using C-x C-s. > > > > This works great for sharing my ToDo list and other documents with othe= r > > 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 --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia