emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Florian Lindner <mailinglists@xgm.de>
To: emacs-orgmode@gnu.org
Subject: [Bug] org-attach-set-directory
Date: Wed, 18 Jul 2018 22:12:46 +0200	[thread overview]
Message-ID: <5435337.cR4ELXjRJm@horus> (raw)

Hello,

doing C-a s <newdir> on an entry with an existing attachement produces

make-directory: Die Datei existiert bereits: /home/florian/test/data/<newdir>

(translation: File already exists)

Actually, I implemented this functionality with the help of Nicolas Goaziou, but it seems an org mode or emacs upgrade broke it.

I will try to debug that further, but right now, my time is very limited, only undershot by my elisp knowledge.

Maybe someone can more quickly fix that... ;-)

Best,
Florian

Backtrace:

Debugger entered--Lisp error: (file-already-exists "Die Datei existiert bereits" "/home/florian/test/mydata")
  make-directory-internal("/home/florian/test/mydata")
  make-directory("/home/florian/test/mydata" nil)
  copy-directory("/home/florian/test/data/c1/32d552-b7bb-43b1-b0d8-c57c00d61f9b" "/home/florian/test/mydata" t nil t)
  org-attach-set-directory(nil)
  funcall-interactively(org-attach-set-directory nil)
  call-interactively(org-attach-set-directory)
  org-attach()
  funcall-interactively(org-attach)
  call-interactively(org-attach nil nil)
  command-execute(org-attach)

Org mode version 9.1.13 (9.1.13-elpa @ /home/florian/.emacs.d/elpa/org-20180716/)

             reply	other threads:[~2018-07-18 20:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-18 20:12 Florian Lindner [this message]
2018-08-21 19:27 ` [Bug] org-attach-set-directory Nicolas Goaziou

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=5435337.cR4ELXjRJm@horus \
    --to=mailinglists@xgm.de \
    --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).