From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QNUpAmwXe2ABFgEAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 19:14:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gBCCOGsXe2C1XAAA1q6Kng (envelope-from ) for ; Sat, 17 Apr 2021 17:14:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 518DFBC13 for ; Sat, 17 Apr 2021 19:14:18 +0200 (CEST) Received: from localhost ([::1]:35632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXoWP-0004xT-0p for larch@yhetil.org; Sat, 17 Apr 2021 13:14:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXoVl-0004sB-Cf for emacs-orgmode@gnu.org; Sat, 17 Apr 2021 13:13:37 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:33339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXoVi-0003zk-Cb for emacs-orgmode@gnu.org; Sat, 17 Apr 2021 13:13:37 -0400 Received: by mail-qk1-x735.google.com with SMTP id o5so32115386qkb.0 for ; Sat, 17 Apr 2021 10:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=iIBT2X/enqp/mGoWJWomaGfB0Iy6UpD47qrUlhXQWv4=; b=FvWEdGUdu/jZMlHET/kDuNkrRkPk2QXWC3NdSR8P62uz+kn/3uVivoovqqJI2TDoNK 2r+DGLcclP6WBSOdZpIHNFcT7pv55XbMkCHYzqn9JctocYSYS8Q1kqm4LKf9Y3UWx1M8 hz5NYaQKVc1v3Zk0bKE9qa+NxIidbRvixYQsnEf5GbtvTz5rR+/yDcBF+hycQc9h578y iS6jwzpqh5DbeJUAXKYWNcFfl19r9jpwgBD93q6frc4Htk5XbiBhp3+rCwuER0Uf/UAG fIFJd/D6RvS5PEnab4petc/Z1OV6S/T7kQ1rEVgcxY6StkWHVfG9sTeB2EcKCsgVuUUD zcqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=iIBT2X/enqp/mGoWJWomaGfB0Iy6UpD47qrUlhXQWv4=; b=FzrFUYar+Asr4Jbkr3NQraq0spT/pim/E+OF96OB3j1EALKBnqOULqmMTPS3/wc+bM 7PAq4L8S9KJHTZmzZ5QREvGcfyUD7DFZ/B/Rk26PnsiG1iSgt68ZpfffWM8Bon4eYvP/ Cy4wHpFGLlzibXzaWkUAGg4kD80o2Xd++ibgmxK4lMhGT8maNcenTu7kyFDpVBTxCnnb gPOeH5o4nsBAvEiVVtssf904dDerOWkhbKZ9XVugqY/5v8ccudhUWSFleovB3/tG+LhV h00r9f5tzyDWN+h52srNSXAII/mA3tv/XUlN2RTci5zeAmXsbowXTgvkbQ/hqldxl++S 17eg== X-Gm-Message-State: AOAM533JKG7CUBFN4OnFyv6zxVVm33adqH2A5Sw9Hv52Aq0ycX/MjbUO Y5Jsho3nUgU1IXkxDiuMmbMoTE1RFnA= X-Google-Smtp-Source: ABdhPJxzniPOGWDp143SF8hRGKPQb+IsRYvQ3hgWCQXUfYzS4cr85zXkEWcmYSUdDv26kuozS9Cp/Q== X-Received: by 2002:a37:a9c1:: with SMTP id s184mr5000188qke.231.1618679612624; Sat, 17 Apr 2021 10:13:32 -0700 (PDT) Received: from r1 ([190.239.232.210]) by smtp.gmail.com with ESMTPSA id s2sm6530940qke.5.2021.04.17.10.13.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Apr 2021 10:13:31 -0700 (PDT) From: Rodrigo Morales To: emacs-orgmode@gnu.org Subject: [feature request] Make org-refile include the source and target when refiling Date: Sat, 17 Apr 2021 12:08:20 -0500 Message-ID: <87blac96uz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::735; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-qk1-x735.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618679659; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iIBT2X/enqp/mGoWJWomaGfB0Iy6UpD47qrUlhXQWv4=; b=AdvE3+620N8DFs/DP//Obch27ZBqOW9aGr08T0LSDFBaK4QgR0jcHNEGo2rGmI2m5o2VEK R3c9W2y42v5b3oT4i8ilXJAg9EwCQgkWXfb+FAkmaq7fVESXdFaldCaw5uVLtq0gxtnVt+ 7gCT6Xf8nwBSlwapMkR2HHuzH7YXEMuuim6V77kJqtV5FEsbpFB05u520zfo9hSfD7XIJj hInXJMLpO55dZc7YyBOwc0r0ys/Je7pDFcnXTY1YfpUDX/pfJsa1PhbqKDXwxZsCk6tn6e uPGpMztgL3JrPQdijDf9OwUxul/H+IPg2sDQ9sJtyKk7rojGb2hv65bNliieWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618679659; a=rsa-sha256; cv=none; b=KicbOkdB9v2XUmSIKGydOKYfBhnpTvVj9ruN1B0uGA3AAfVYPQzlMCLM3PQlyEUo+A/f7D CBwMvuE8/tiarAIUF/nOMHPzW5u2xBZfTJkHDn0lUjlu8a8K9x+/7st5bzg/8zs3kvM9y2 FLbN0saQX7catHFKmnzbi1v06RIqJ7JV7nmndSTd55hs9+fm/srYxYFOFLwYsWqoajdlXD fLPcKrzTUW9qWst/G8pj6/HaneWQy3K/sGJ1gXnphCunRHuHaCMrlUzT0HSYtnNuqNBLx8 tqCJEiYzYpdevSkgawI61OCToZ3d8HvGYiZtzgL2gMSyf7fWX7XUr9CoJCHYkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FvWEdGUd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FvWEdGUd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 518DFBC13 X-Spam-Score: -1.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: T9HYjBA5+5PG * 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.