On 19 March 2022 11:25, Juan Manuel Macías wrote:
> #+begin_src emacs-lisp
> (defun my-org-rename-link-file-at-point ()
> (interactive)
> (let* ((curr-dir (if (equal (org-element-property :type
> (org-element-context)) "attachment")
>(concat (abbreviate-file-nam
Hi João,
João Pedro de Amorim Paula writes:
> I mean org attachments. I use org-attach extensively to store documents
> with notes. So I'd have a heading like so
>
> * Documents
> :PROPERTIES:
> :DIR: data/docs/
> :END:
>
> - [[Registration][attachment:registration.pdf]] :: My registration.
>
> A
On 10 March 2022 14:58, Juan Manuel Macías wrote:
> Hi João, Thanks for your comment.
Hello, Juan! I apologize for the delay on responding, I had some issues
with my e-mail account lately.
> Regarding attachments, do you mean org attachments or email attachments?
> Could you give an example of
Hi João, Thanks for your comment.
João Pedro de Amorim Paula writes:
> Thanks for sharing! It'd be great if it worked for attachments as well,
> but that is a whole can of worms.
Regarding attachments, do you mean org attachments or email attachments?
Could you give an example of a use case?
Be
On 05 March 2022 19:58, Juan Manuel Macías wrote:
Hello Juan!
> Hi all,
>
> I have written this simple function to move or rename a destination file
> in an external link at point. I share it here in case it is useful to
> someone.
>
> Best regards,
>
> Juan Manuel
>
> #+begin_src emacs-lisp
>
>>> "JMM" == Juan Manuel Macías writes:
Hi Juan Manuel
> Hi all,
> I have written this simple function to move or rename a destination file
> in an external link at point. I share it here in case it is useful to
> someone.
Thanks, that looks very useful, I tend to reorder files in
subdirector