From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4Bk0LP8toGBh0QAAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 22:24:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oFq/J/8toGDrXQAAbx9fmQ (envelope-from ) for ; Sat, 15 May 2021 20:24:31 +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 28535ACE8 for ; Sat, 15 May 2021 22:24:31 +0200 (CEST) Received: from localhost ([::1]:45190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1li0pq-00050I-AC for larch@yhetil.org; Sat, 15 May 2021 16:24:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li0pH-000508-EO for emacs-orgmode@gnu.org; Sat, 15 May 2021 16:23:55 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:46863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1li0pF-0002kX-Mm; Sat, 15 May 2021 16:23:55 -0400 Received: by mail-lf1-x12f.google.com with SMTP id i9so3126025lfe.13; Sat, 15 May 2021 13:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2riX2RCdr1z+bI6SQDsQojuWeSs6Hl24oLXYGzCSUjk=; b=I8kSaj5YGM962xiSdseDhgyli/aFIkhadN4OPPFvaCPcZ15WhQ3i3/ZRw8QtkktT15 cUJJCkqDJOKlsO8ZhMtqh7IqATMdczoeWC1mHeyINJcwNhlPDLqD2U4zKr3DsNY8ooKS QoQhetkCmer4HheTzUpj1qL/LiGnMLCb5rdOz6HEwOo58Wcq+8KOndlOcOoPLoRSJMsS 6eGKllUUixYG1eKOc7oQnj6cYPQ9GnRd6q7XBrtKJTIAhwjm4M3ozaSRksLIrPAJIOhg oe/wsoAqcEcsU+5yi/PRk33627Ghkb9E8/JLSi8LhCBJ7qpvOXqB1UEDIQlP/L3FYjbV nw0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2riX2RCdr1z+bI6SQDsQojuWeSs6Hl24oLXYGzCSUjk=; b=QDgeK0dWX/rGDgEb7Ek1yogyq4H9lz0RRNbAcNq785rzfLE7uW/rQzfaWG9JRAk1AT Z1WUIcNJCh7cZlrcnl+peExiAx2H2LRP+WwLWPgHLrTA+78jAo5lc1wu6hFWdMh0p4k0 pxgw34h0WQa9xUm7ht2D3qZBaELV+eYu0/VIjF8vWHohaL8aZELyu1dDH62GSBpU7nh7 ZxCQAycUMtU+1SXZxcB4oxvZCNuScGx7Ph8j5DwmqI9XtUx+BJjaOQVLlMSi6WnBd8Pa HzgxdCxrVaHYeEaZz0JjG8BdHvSk6efbi1gPssnCJVxl4vyQR3LMUpVhwy+F4/TYGwIP nTBA== X-Gm-Message-State: AOAM531TiKgRcTvtEX7sg2moX5tgGZCJqXTtr1jOhYRJ3kwYns0ojlRa XsFFnH/lqM0sM1RSaqlVcd2rJXcW5Zy/93+c3IsbGhc5p2DIRA== X-Google-Smtp-Source: ABdhPJxFVfCkCLvIkDgScLqdVfaZ5D+oYG5UoC+t+ruTThZZcXny35ImXpSyVDTy+NKS3ixF8SobXH0f1WO381+xhd0= X-Received: by 2002:ac2:5de2:: with SMTP id z2mr399018lfq.318.1621110231405; Sat, 15 May 2021 13:23:51 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:6d6b:0:0:0:0:0 with HTTP; Sat, 15 May 2021 13:23:51 -0700 (PDT) In-Reply-To: <87eee8fbd3.fsf@gnu.org> References: <20200830001047.21362-1-orgmode@adamspiers.org> <87eee8fbd3.fsf@gnu.org> From: Samuel Wales Date: Sat, 15 May 2021 13:23:51 -0700 Message-ID: Subject: Re: [PATCH] org-refile.el: Add org-refile-reverse which toggles org-reverse-note-order To: Bastien Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=samologist@gmail.com; helo=mail-lf1-x12f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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: , Cc: emacs-orgmode@gnu.org 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=1621110271; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2riX2RCdr1z+bI6SQDsQojuWeSs6Hl24oLXYGzCSUjk=; b=mUbow9zmgd6uGmJHzw42qmpkifVyKP7TdQIbT7G7Bg5Rm+GwqUKa1p09q6KL9q3aM2/Mac tBubQ1ekVo3NAKPAag7mbZjxmvSqO8tnu1tDHS9dsXR+KNTvA9DYrR76Fq3Dk1mhX1m5mu k5rlA/7UbaFyOsBEa8GW4tkOp8XyoOkawXUsnecy6Gy79dQ6GTKfHDKguiH1QX5FtkFgdz QRlFa0Sl6hYoRDM1lOFYHoilgsQ3x3EX7tkSqPqNnzE/LaLriAVhGivVT6eloaOgwilYIG FtdBdN1QhChqgcNNKoJ9GZiE2I8o/+VPGTSkSr1aoPLvh5ImEidHhtkTWyvN0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621110271; a=rsa-sha256; cv=none; b=TpHLQ422Ru+6sSM9HXAT0s2u6GXY8rY9yAK5Z7KwifyWEtHCW0zw6aly/Yy/dlWG4lG99m o/S2/lBrf1mnVrEDAukUdO2o872U1BVQ+y+KxgIVH7UGt3ZltkSOnX9Fdmj0OcB1Z2ip2A m6O8W15gJkpNpyHBck/bqQBrO9fJCuz9+mGnt2LIx0YaKF+/hLILWxLMSBk0zpWjqccVBg M7+bxDNK8zhWqr/x906Nl+kn5+G/jExFBVSoQIR73L0htL9UvAxfqokgj7Awn73po4kEun AF1TX9vJvXORc8ijWZLEOirZwr3Rxv2Ac+UCLvfogg6qEEHZipZ6GayN+LG81w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=I8kSaj5Y; 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.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=I8kSaj5Y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 28535ACE8 X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: RWHpmRrWlENZ sounds good to decouple those, but i interpret org-refile-reverse to mean "refile in reverse". from a to b -> from b to a. fwiw. thus, you could be on a and goto b and then do a reverse refile. that would be a useful operation. so i suggest org-refile-reverse-order or so. On 5/15/21, Bastien wrote: > Hi Adam, > > Adam Spiers writes: > >> This is useful for prepending to the start of the target headline >> instead of appending to the end, or vice-versa depending on >> org-reverse-note-order. > > Applied in master as 9e127a720, thanks. > > -- > Bastien > > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html