From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: Re: links to attachments don't export anymore Date: Thu, 14 Nov 2013 15:44:33 +0100 Message-ID: References: <87r4alczdk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgyGU-0007IY-Tz for Emacs-orgmode@gnu.org; Thu, 14 Nov 2013 09:51:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgyGN-0006f1-Iy for Emacs-orgmode@gnu.org; Thu, 14 Nov 2013 09:51:26 -0500 Received: from imta22.fe.bosch.de ([139.15.243.26]:45885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgyGN-0006et-Cw for Emacs-orgmode@gnu.org; Thu, 14 Nov 2013 09:51:19 -0500 Received: from smtp6-v.fe.bosch.de (imta24.fe.bosch.de [139.15.243.27]) by imta22.fe.bosch.de (Postfix) with ESMTP id 4524C84046A for ; Thu, 14 Nov 2013 15:44:44 +0100 (CET) In-Reply-To: <87r4alczdk.fsf@gmail.com> (Myles English's message of "Tue, 12 Nov 2013 18:18:31 +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: Myles English Cc: Emacs-orgmode Hi, =B7 Myles English wrote: [ ... snip ... ] > It was possible to insert a link to an attachment like this: > > [[att:FigureA.jpg]] > > and clicking on it would show the file (still works), and it would show > up in the exported document (no longer happens). [ ... snip ... ] since I like this feature I'd like to give this thread a bump. With git bisecting I found that commit: 026b99ecb86e08f4fdc7b45ee2bfa1d4c84a37f6 is the first bad commit commit 026b99ecb86e08f4fdc7b45ee2bfa1d4c84a37f6 Author: Nicolas Goaziou Date: Fri Aug 30 13:29:51 2013 +0200 org-element: Fix parsing error in `org-element-context' =20 * lisp/org-element.el (org-element-text-markup-successor, org-element-latex-or-entity-successor, org-element-export-snippet-successor, org-element-footnote-reference-successor, org-element-inline-babel-call-successor, org-element-inline-src-block-successor, org-element-line-break-successor, org-element-link-successor, org-element-plain-link-successor, org-element-macro-successor, org-element-radio-target-successor, org-element-statistics-cookie-successor, org-element-sub/superscript-successor, org-element-table-cell-successor, org-element-target-successor, org-element-timestamp-successor): Remove LIMIT argument. (org-element--parse-objects, org-element--get-next-object-candidates)= : Apply signature change to successors. (org-element-context): Narrow buffer around object containers so parsing of objects when using this function is done under the same restrictions as in buffer parsing. * testing/lisp/test-org-element.el: Add test. introduced the bug. Now my elisp knowledge is too weak to debug this further, but hopefully this helps to trace down the root cause. Thanks a lot for org. I really don't know how to survive without it :-) --=20 Bis neulich ... Thomas