Hello, Eric Danan <eric.da...@u-cergy.fr> writes:
> When the file to attach is already open in emacs, it is generally > faster to select it from the buffer list than navigating to it through > the file system. This patch adds a `b' command to the attach > dispatcher that reads a buffer and writes it in the attachment > directory. Thank you. One issue is that we're losing the method choice (symlink, copy, hardlink). However, `org-attach-attach' already offers to start file system navigation from a Dired side buffer, if any. We may extend this idea: if there is a buffer currently displayed in another window, but no Dired buffer, offer its default directory as a start for completion. Another idea is to create a new function that will attach the current file to the subtree in another window. See `org-attach-dired-to-subtree', for example. If you haven't signed FSF papers, you need to add TINYCHANGE at the end of the commit message. Regards, -- Nicolas Goaziou