[Top][All Lists]

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

Re: [O] [PATCH] org-attach: Allow attaching file from visited buffer

From: Nicolas Goaziou
Subject: Re: [O] [PATCH] org-attach: Allow attaching file from visited buffer
Date: Thu, 21 Jun 2018 17:47:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)


Eric Danan <address@hidden> 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,

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.


Nicolas Goaziou

reply via email to

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