From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: [Bug] org-attach-set-directory Date: Wed, 18 Jul 2018 22:12:46 +0200 Message-ID: <5435337.cR4ELXjRJm@horus> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffsog-00013l-Kw for emacs-orgmode@gnu.org; Wed, 18 Jul 2018 16:12:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffsob-0005xd-Iv for emacs-orgmode@gnu.org; Wed, 18 Jul 2018 16:12:54 -0400 Received: from venus.centershock.net ([188.68.38.242]:36990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffsob-0005wO-BD for emacs-orgmode@gnu.org; Wed, 18 Jul 2018 16:12:49 -0400 Received: from horus.localnet (HSI-KBW-109-193-022-125.hsi7.kabel-badenwuerttemberg.de [109.193.22.125]) by venus.centershock.net (Postfix) with ESMTPSA id CE58B722CE1 for ; Wed, 18 Jul 2018 22:12:46 +0200 (CEST) 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" To: emacs-orgmode@gnu.org Hello, doing C-a s on an entry with an existing attachement produces make-directory: Die Datei existiert bereits: /home/florian/test/data/ (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/)