From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladi Solutka Subject: Re: Error exporting indirect buffer to ASCII Date: Wed, 22 Oct 2008 11:18:20 +0000 (UTC) Message-ID: References: <1224577559.12393.1280392767@webmail.messagingengine.com> <805BE090-083B-4E9F-A04D-A6DE1169453C@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsbjW-0004xS-FN for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 07:18:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsbjU-0004xA-NB for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 07:18:33 -0400 Received: from [199.232.76.173] (port=43370 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsbjU-0004wy-Dc for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 07:18:32 -0400 Received: from main.gmane.org ([80.91.229.2]:37706 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsbjU-0003eE-Az for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 07:18:32 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KsbjP-0006vt-Ta for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 11:18:28 +0000 Received: from proxy.qimonda.com ([77.234.34.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Oct 2008 11:18:27 +0000 Received: from mmlists by proxy.qimonda.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Oct 2008 11:18:27 +0000 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! > Well, the code snippet you mentioned is only reached if that variable > is set, or f you export using a double prefix argument.. > > Anyway, I believe this problem is now fixed, get back to me if it > persists in the latest git version. I just took the latest git snapshot and get the same error (after doing an "M-x org-export-as-ascii" from an indirect org buffer): -----------------------snip---------------------------- Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-name-nondirectory(nil) org-export-as-ascii(nil) call-interactively(org-export-as-ascii) execute-extended-command(nil) call-interactively(execute-extended-command) -----------------------snip---------------------------- As far as I can see, the variable org-export-run-in-background is never referenced in the function 'org-export-as-ascii'. Instead, in org-exp.el:2193 the filename is build up from using 'buffer-file-name' (line 2199) which is nil since the indirect buffer doesn't have an associated filename. --- \\/ladi