emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [feature request] Make org-refile include the source and target when refiling
@ 2021-04-17 17:08 Rodrigo Morales
  0 siblings, 0 replies; only message in thread
From: Rodrigo Morales @ 2021-04-17 17:08 UTC (permalink / raw)
  To: emacs-orgmode


* Context

The current behavior of refiling an entry using =org-refile= when =org-log-refile= is set to =t= and =org-log-into-drawer= is set to =t= is

#+begin_src org
,* Refiled heading
,* Target
#+end_src

#+begin_src org
,* Target

,** Refiled heading
:LOGBOOK:
- Refiled on [2021-04-17 Sat 10:45] \\
  This is my note.
:END:
#+end_src

I would like to have the following behavior

#+begin_src org
,* Target heading

,** Refiled heading
:LOGBOOK:
- Refiled on [2021-04-17 Sat 10:45] from top level to "Target heading" \\
  This is my note.
:END:
#+end_src

when refiling from different files, it would be nice to have

#+begin_src org
,* Target heading

,** Refiled heading
:LOGBOOK:
- Refiled on [2021-04-17 Sat 10:45] from "~/my/org/main.org" to "~/my/org/refiled-events.org::Past events" \\
  This is my note.
:END:
#+end_src

* Information found

Found [[https://emacs.stackexchange.com/questions/36390/add-original-location-of-refiled-entries-to-logbook-after-org-refile][this]] at Emacs Stack Exchange that also asks this and was asked 3.4812545 years ago. The OP also created a [[https://orgmode.org/list/87k1nhidxf.fsf@nicolasgoaziou.fr/T/][thread]] in the Org Mode mailing list.

In a comment in that question, the following two questions are said to address this topic:

+ [[https://emacs.stackexchange.com/questions/47011/org-refile-and-leave-a-link-behind][org mode - Org : refile and leave a link behind]]
+ [[https://emacs.stackexchange.com/questions/36861/org-refile-leave-a-link-to-refiled-item][org mode - org-refile: leave a link to refiled item]]

* Personal thoughts

+ I'm a heavy user of the =:LOGBOOK:= feature so having this would be useful for me and, I guess, other users of this feaature.
+ I'm not saying that this behavior must be the default one, but there should be a variable for enabling it.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-17 17:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-17 17:08 [feature request] Make org-refile include the source and target when refiling Rodrigo Morales

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).