emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vladi Solutka <mmlists@eml.cc>
To: emacs-orgmode@gnu.org
Subject: Re: Error exporting indirect buffer to ASCII
Date: Wed, 22 Oct 2008 11:18:20 +0000 (UTC)	[thread overview]
Message-ID: <loom.20081022T110627-150@post.gmane.org> (raw)
In-Reply-To: E0B0777C-028F-48CB-A0DC-BED9DEB29F8B@uva.nl

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

  reply	other threads:[~2008-10-22 11:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21  8:25 Error exporting indirect buffer to ASCII Vladi Solutka
2008-10-21 16:00 ` Carsten Dominik
2008-10-22  8:02   ` Vladi Solutka
2008-10-22  8:21     ` Carsten Dominik
2008-10-22 11:18       ` Vladi Solutka [this message]
2008-10-22 15:37         ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20081022T110627-150@post.gmane.org \
    --to=mmlists@eml.cc \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).