From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Bug on file publish Date: Sat, 25 Oct 2008 02:09:53 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtWj4-0002pX-U3 for emacs-orgmode@gnu.org; Fri, 24 Oct 2008 20:09:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtWj4-0002pJ-GN for emacs-orgmode@gnu.org; Fri, 24 Oct 2008 20:09:54 -0400 Received: from [199.232.76.173] (port=53473 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtWj4-0002pG-Cm for emacs-orgmode@gnu.org; Fri, 24 Oct 2008 20:09:54 -0400 Received: from ey-out-1920.google.com ([74.125.78.146]:45283) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KtWj3-0000Bl-UP for emacs-orgmode@gnu.org; Fri, 24 Oct 2008 20:09:54 -0400 Received: by ey-out-1920.google.com with SMTP id 4so419806eyg.24 for ; Fri, 24 Oct 2008 17:09:51 -0700 (PDT) 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: org-mode If I modify a file and then publish it using "C-c C-e f" without saving it I get an error of the form: ,---- | File error: "Opening directory", "no such file or directory", | "/home/shamrock/webs/mydomain/.#index.org" `---- I traced it through with edebug (how do you set a watch on a variable? I couldnt get it through my thick skull from the manual). Anyway, the error occurs in org-publish-get-base-files-1 and is a result of a broken link : ,---- | lrwxrwxrwx 1 shamrock shamrock 54 2008-10-25 02:03 .#index.org -> shamrock@development.mydomain.net.21672:1224638771 | shamrock@development:~/webs/mydomain$ cat .#index.org | cat: .#index.org: No such file or directory `---- The link is created somewhere in the publish process and is not properly constructed if the file has not been saved prior to publish. Someone more familiar with the process might know immediately where to fix it, if not I will have a crack next week. -- We've arranged a civilization in which most crucial elements profoundly depend on science and technology. We have also arranged things so that almost no one understands science and technology. This is a prescription for disaster. We might get away with it for a while, but sooner or later this combustible mixture of ignorance and power is going to blow up in our faces. ~Carl Sagan