emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [Bug] org-attach-set-directory


From: Nicolas Goaziou
Subject: Re: [O] [Bug] org-attach-set-directory
Date: Tue, 21 Aug 2018 21:27:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Florian Lindner <address@hidden> 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



reply via email to

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