* [FEATURE Request] inherit headline directory for `org-attach' in `org-add-note' etc temp buffers
@ 2023-05-06 5:11 Christopher M. Miles
2023-05-06 6:39 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Christopher M. Miles @ 2023-05-06 5:11 UTC (permalink / raw)
To: Org mode
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
For example, I have Org content like this:
#+begin_src org
,* TODO Refrigerator
DEADLINE: <2023-04-06 Thu>
:PROPERTIES:
:ID: e1824d15-35cb-4105-a617-5f7ecd6a1049
:END:
#+end_src
I press [C-c C-z] `org-add-note` to add logbook note. It will open a new
temporary buffer. I want to execute command [C-c C-a m] `org-attach-mv`
to attach a file. But it will prompt me for org-attach directory. I
think commands like `org-add-note`, `org-clock` add log, `org-todo`
change TODO state add log, etc should auto inherit this org-attach
directory. So that user can do `org-attach` in the temporary log buffer.
WDYT?
--
[ stardiviner ]
I try to make every word tell the meaning that I want to express without misunderstanding.
Blog: https://stardiviner.github.io/
IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FEATURE Request] inherit headline directory for `org-attach' in `org-add-note' etc temp buffers
2023-05-06 5:11 [FEATURE Request] inherit headline directory for `org-attach' in `org-add-note' etc temp buffers Christopher M. Miles
@ 2023-05-06 6:39 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-05-06 6:39 UTC (permalink / raw)
To: numbchild; +Cc: Org mode
"Christopher M. Miles" <numbchild@gmail.com> writes:
> I press [C-c C-z] `org-add-note` to add logbook note. It will open a new
> temporary buffer. I want to execute command [C-c C-a m] `org-attach-mv`
> to attach a file. But it will prompt me for org-attach directory. I
> think commands like `org-add-note`, `org-clock` add log, `org-todo`
> change TODO state add log, etc should auto inherit this org-attach
> directory. So that user can do `org-attach` in the temporary log buffer.
>
> WDYT?
Makes sense, but `org-add-log-note` implementation is not great. We
should ideally re-use capture, which will give the right context without
extra efforts.
Patches welcome!
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-06 6:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-06 5:11 [FEATURE Request] inherit headline directory for `org-attach' in `org-add-note' etc temp buffers Christopher M. Miles
2023-05-06 6:39 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.