From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Subject: org-publish error Date: Wed, 21 Jun 2006 15:04:15 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ft3Ju-0002dy-Oi for emacs-orgmode@gnu.org; Wed, 21 Jun 2006 10:04:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ft3Jt-0002cy-0l for emacs-orgmode@gnu.org; Wed, 21 Jun 2006 10:04:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ft3Js-0002ce-RO for emacs-orgmode@gnu.org; Wed, 21 Jun 2006 10:04:36 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Ft3Ud-00018y-Mu for emacs-orgmode@gnu.org; Wed, 21 Jun 2006 10:15:44 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ft3Jj-00044d-Eg for emacs-orgmode@gnu.org; Wed, 21 Jun 2006 16:04:27 +0200 Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jun 2006 16:04:27 +0200 Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jun 2006 16:04:27 +0200 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: emacs-orgmode@gnu.org Hi all, org 4.38 When I delete the published html file, sequent publish will fail with error. Here is the backbrace. --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "File ~/Desktop/studyplan.html no long= er exists!") signal(error ("File ~/Desktop/studyplan.html no longer exists!")) error("File %s no longer exists!" "~/Desktop/studyplan.html") find-file-noselect("./studyplan.html") (let* ((opt-plist ...) (style ...) (link-validate ...) valid (odd org-odd= -levels-only) (region-p ...) (region ...) (all_lines ...) (lines ...) (leve= l 0) (line "") (origline "") txt todo (umax nil) (filename ...) (current-di= r ...) (buffer ...) (levels-open ...) (date ...) (time ...) (author ...) (t= itle ...) (quote-re0 ...) (quote-re ...) (inquote nil) (infixed nil) (in-lo= cal-list nil) (local-list-num nil) (local-list-indent nil) (llt org-plain-l= ist-ordered-item-terminator) (email ...) (language ...) (text ...) (lang-wo= rds nil) (target-alist nil) tg (head-count 0) cnt (start 0) (coding-system = ...) (coding-system-for-write ...) (save-buffer-coding-system ...) (charset= ...) table-open type table-buffer table-orig-buffer ind start-is-num ...) = (message "Exporting...") (setq org-last-level 1) (org-init-section-numbers)= (setq lang-words (or ... ...)) (if (or hidden ...) (set-buffer buffer) (sw= itch-to-buffer-other-window buffer)) (erase-buffer) (fundamental-mode) (let= (... ...) (mapcar ... org-export-plist-vars) (setq umax ...) (insert ...) = (insert ...) (when ... ... ...) (if org-export-with-toc ...) (setq head-cou= nt 0) (org-init-section-numbers) (while ... ...) (when inquote ...) (when i= n-local-list ... ...) (org-html-level-start 1 nil umax ... head-count) (whe= n ... ... ...) (if org-export-html-with-timestamp ...) (insert ...) (insert= "\n\n") (normal-mode) (goto-char ...) (while ... ...) (goto-= char ...) (while ... ...) (save-buffer) (goto-char ...))) org-export-as-html(nil) call-interactively(org-export-as-html) (if (setq ass (assq r2 cmds)) (call-interactively (cdr ass)) (error "No c= ommand associated with key %c" r1)) (let ((help "[t] insert the export option template\n[v] limit export = to visible part of outline tree\n\n[a] export as ASCII\n[h] export as HTML\= n[b] export as HTML and browse immediately\n[x] export as XOXO\n\n[i] expor= t current file as iCalendar file\n[I] export all agenda files as iCalendar = files\n[c] export agenda files into combined iCalendar file\n\n[F] publish = current file\n[P] publish current project\n[X] publish... (project will be = prompted for)\n[A] publish all projects") (cmds ...) r1 r2 ass) (save-windo= w-excursion (delete-other-windows) (with-output-to-temp-buffer "*Org Export= /Publishing Help*" ...) (message "Select command: ") (setq r1 ...)) (setq r= 2 (if ... ... r1)) (if (setq ass ...) (call-interactively ...) (error "No c= ommand associated with key %c" r1))) org-export() call-interactively(org-export) --8<---------------cut here---------------end--------------->8--- --=20 Leon