Re: [O] Searching all attachments in org-files

2017-12-26 Thread Narendra Joshi
Ihor Radchenko writes: > Dear Narendra, > > Here is what I am using: > > (defun org-att-complete-link (&optional arg) > "Completion dispatcher for att: links (rewritten from org-attach-open)" > (let* ((attach-dir (org-attach-dir t)) >(files (org-attach-file-list attach-dir)) >

Re: [O] Searching all attachments in org-files

2017-12-25 Thread Ihor Radchenko
Dear Narendra, Here is what I am using: (defun org-att-complete-link (&optional arg) "Completion dispatcher for att: links (rewritten from org-attach-open)" (let* ((attach-dir (org-attach-dir t)) (files (org-attach-file-list attach-dir)) (file (if (= (length files) 1)

[O] Searching all attachments in org-files

2017-12-25 Thread Narendra Joshi
Hi, Is there a way to quick get a link to an existing attachment? A lot of times, I find myself referring to the same file. I like to keep files as attachments so that they are committed with my org-files. Any help here, either in fixing my workflow or helping me figure out how to get a link to an