* [Bug] org-attach-set-directory
@ 2018-07-18 20:12 Florian Lindner
2018-08-21 19:27 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Florian Lindner @ 2018-07-18 20:12 UTC (permalink / raw)
To: emacs-orgmode
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/)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bug] org-attach-set-directory
2018-07-18 20:12 [Bug] org-attach-set-directory Florian Lindner
@ 2018-08-21 19:27 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-08-21 19:27 UTC (permalink / raw)
To: Florian Lindner; +Cc: emacs-orgmode
Hello,
Florian Lindner <mailinglists@xgm.de> writes:
> 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)
It looks like "/home/florian/test/mydata" is not a valid directory name.
It should end with a forward slash.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-21 21:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-18 20:12 [Bug] org-attach-set-directory Florian Lindner
2018-08-21 19:27 ` Nicolas Goaziou
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).