On Jul 6, 2009, at 8:46 PM, Bastien wrote: > David Reitter writes: > >> - Start Emacs (23 series, recent build), >> - M-x org-mode (for the scratch buffer), >> - insert $\frac{3}{a*b-3}$ >> - press C-c C-x C-l >> - Unhelpful error message "Wrong type argument: stringp, nil" >> >> This goes away when the buffer is given a buffer-file-name. >> >> The error message should be either helpful or not appear at all - >> org- >> mode should use a temporary directory instead of the documents >> directory >> to store temporary files in order to render LaTeX content. > > Can you try the latest version of org-mode and report? > > http://orgmode.org/org-snapshot.tar.gz The original error is gone but now I'm seeing something very, very strange, as shown in the screenshot: the wrong images show up in my header line. The header line image is this: (image :type png :file "/Users/dr/ae.git/nextstep/Aquamacs.app/ Contents/Resources/site-lisp/tabbar/close-tab.png" :ascent center :margin 0)) and it switched to the wrong image just after I did C-c C-x C-l for teh second time. In fact, I then notice that ALL images are replaced with the "redo" image. Now that shouldn't be... Also, it tells me to press C-c C-c to remove the images (which aren't there), and when I try this, it tells me that nothing useful can be done at this point. Maybe that's intended, since the image isn't shown. (This is with Aquamacs/Cocoa, a branch synced with Emacs 23, but that shouldn't make a difference.) - David ps.: Please remember not to cc emacs-pretest-bug. That may create another bug report.