From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: Error: (wrong-type-argument integer-or-marker-p nil) Date: Fri, 29 Nov 2013 22:21:44 +0000 (UTC) Message-ID: References: <86txevjl0p.fsf@somewhere.org> <871u1zt81j.fsf@gmail.com> <867gbreyqo.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmWS3-0000XT-Ef for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 17:22:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VmWRt-0003B9-O3 for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 17:22:19 -0500 Received: from plane.gmane.org ([80.91.229.3]:42270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmWRt-0003Ah-H6 for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 17:22:09 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VmWRr-0005tp-9E for emacs-orgmode@gnu.org; Fri, 29 Nov 2013 23:22:07 +0100 Received: from 137.110.38.30 ([137.110.38.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Nov 2013 23:22:07 +0100 Received: from ccberry by 137.110.38.30 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Nov 2013 23:22:07 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Sebastien Vauban writes: > > Hello Nicolas, > > Nicolas Goaziou wrote: > > "Sebastien Vauban" writes: > > > >> When trying to convert a document which contains R graphics, I get the error: > >> > >> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) > >> goto-char(nil) > >> (progn (goto-char link-end) (skip-chars-forward " ")) > >> (setq post-blank (progn (goto-char link-end) (skip-chars-forward " ")) end (point)) > > > > Thank you for the report. > > Thank you for your prompt attitude, as always... > > > Could you provide an ECM for it? > > Not easy, no, as it now disappeared after an update to the latest version > of Org. > [rest deleted] There was a problem with org-element-cache-* that Nicolas just fixed recently that was generating issues that seem to me could be causing what you reported. See http://thread.gmane.org/gmane.emacs.orgmode/79160/focus=79377 If you do pursue this, you might try turning off the caching to see if the problems you mention goes away. Or just do M-: (org-element-cache-reset) RET before each export. HTH, Chuck