[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] links to attachments don't export anymore

From: Thomas Holst
Subject: Re: [O] links to attachments don't export anymore
Date: Fri, 22 Nov 2013 11:35:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt)

Hi Nicolas,

· Thomas Holst <address@hidden> wrote:
> Hi,
> · Nicolas Goaziou <address@hidden> wrote:
>>> Actually, this could solved by widening the buffer before expanding the
>>> link in `org-element-link-parser'.
>>> Though, I'm surprised that neither `org-id-get', `org-entry-get' nor, at
>>> the most basic level, `org-entry-properties' remove narrowing before
>>> computing their return value.
>>> Is there any reason for this? AFAICT, it would be better to wrap them
>>> with a `org-with-wide-buffer' macro.
>> Done for `org-entry-properties'. The regression should be fixed now.
>> Thank you for the report.
> Thanks for fixing it! I don't have time to test it today. But I will do
> so tomorrow. I will report.

sorry for the late answer. I could only test it today.

For me the problem still persists.

Here is my way to produce it.

- start emacs (Win7)
  : start C:\Programme\gnu\emacs-24.3\bin\emacs.exe -Q --eval "(load-file 

- testing.el

  #+begin_src emacs_lisp
    (add-to-list 'load-path "~/git/org-mode/lisp")
    (add-to-list 'load-path "~/git/site-lisp")
    ;; pfad zu contib/lisp
    (add-to-list 'load-path "~/git/org-mode/contrib/lisp")
    (add-to-list 'load-path "~/git/org-mode/contrib/babel/lisp")

    (require 'org-install)
    (require 'ox)
    (require 'ox-latex)
    (require 'org-attach)

    (setq org-link-abbrev-alist '(("att" . org-attach-expand-link)))

    (find-file "testing.org")

- testing.org

  #+begin_src org
    #+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:{} -:t f:t *:t <:t
    #+OPTIONS:   TeX:dvipng LaTeX:t skip:nil d:t todo:t pri:nil tags:nil

    * Attachment                                                                
      :Attachments: overview.png
      :ID:       1eb9cb02-4011-4720-932b-2934e99827d0

      With org-version:
      #+BEGIN_SRC emacs-lisp :exports results
        (org-version nil t)

      : Org-mode version 8.0.7 (release_8.0.7 @ path-to/org-mode/lisp/)

      an attachment link


      gets exported as:


The link gets exportet as:

Org-mode version 8.0.7 (release_8.0.7 @ path-to/org-mode/lisp/)


Org-mode version 8.2.3c (release_8.2.3c-251-gbb97f5 @ 


So obviously the sub path to the attachment is missing in the link

Thanks for looking into this.
Bis neulich ...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]