From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Error exporting indirect buffer to ASCII Date: Wed, 22 Oct 2008 17:37:47 +0200 Message-ID: <537948C1-7F8A-48CD-A459-8F61D1D93BBF@uva.nl> References: <1224577559.12393.1280392767@webmail.messagingengine.com> <805BE090-083B-4E9F-A04D-A6DE1169453C@uva.nl> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsfmW-0003G9-Ue for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 11:37:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsfmU-0003Fp-Ts for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 11:37:56 -0400 Received: from [199.232.76.173] (port=41374 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsfmU-0003Fm-Nd for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 11:37:54 -0400 Received: from ey-out-1920.google.com ([74.125.78.148]:58065) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsfmT-0006t5-F6 for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 11:37:54 -0400 Received: by ey-out-1920.google.com with SMTP id 4so980635eyg.24 for ; Wed, 22 Oct 2008 08:37:50 -0700 (PDT) In-Reply-To: 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: Vladi Solutka Cc: emacs-orgmode@gnu.org OK, thanks, I got it now. Fixed. - Carsten On Oct 22, 2008, at 1:18 PM, Vladi Solutka wrote: > 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 > > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode