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 ms11 with LMTPS id MM3MIaeAnF8vTQAA0tVLHw (envelope-from ) for ; Fri, 30 Oct 2020 21:07:51 +0000 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 2N6eHaeAnF93HgAAbx9fmQ (envelope-from ) for ; Fri, 30 Oct 2020 21:07:51 +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 D673B94014A for ; Fri, 30 Oct 2020 21:07:50 +0000 (UTC) Received: from localhost ([::1]:55726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYbcj-00078U-Is for larch@yhetil.org; Fri, 30 Oct 2020 17:07:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYbcM-00078E-MN for emacs-orgmode@gnu.org; Fri, 30 Oct 2020 17:07:26 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:43679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYbcK-0004tx-Qf for emacs-orgmode@gnu.org; Fri, 30 Oct 2020 17:07:26 -0400 Received: by mail-pf1-x42b.google.com with SMTP id a200so6356888pfa.10 for ; Fri, 30 Oct 2020 14:07:24 -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=+OWnH6uJ0BBi6lVwYqqzQz3XCzds/LDmpkKU2AA5bVM=; b=l6oWSa1VBJT7KPHWN7DqFO7FXegQNk1Z0rT5wZloEkj9f+Sd6bS8Ag9C8Im8aQF38L tSbsAIVV0ar1dcAopCXvjUg0l/XdZ2cLjWM51I4JmWy3cIJ4Zq41y7XO2lQcC7TAAVF5 VqkNtB2rS0BtGtQguB6CH4fdvzOMnj06fBRyhZ+BpajBbLUwyH2HtXRiOwwD9piVfYq3 fjhU5YpARVCGsjtaRr0B3YatQteqWMtaisgG3NdwjoGLm6mBWGl5inMd4dLmHeThHTt2 d68ueVOLYujGhzCUFbXbVejgllc0iUALuz/xiSbjzpII2YR/ZnqCWiOajGkp5GQEXWuC +yqw== 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=+OWnH6uJ0BBi6lVwYqqzQz3XCzds/LDmpkKU2AA5bVM=; b=oZRNBPqhF01MnPb7QbxVIeMATgpExdPG3JZ+V76UxkWovf0LdEJuPs6kpopcYy6M5s 0CNoAp5fYkMqp3b9BEeCQwqGLtbjRMW7rNfBc8Dn/l1+0NTS7NmEoeYyckPFRdIO/KYI n/qywlRWmD97U+24Xm269l2yiVGfYPfC0aGlKO036VIgMq/GSXxoHpE7VHKTfyiIiOV6 rBKE2pG+gz+V47VBG+BJNriTe0niqegWzbRGbIvkdFAMs4YUzk8t+0FEuEURyK/pimFP 8AwSCsbAp1d2wFf6CuXU5/R22FUlkW+4C69MKzxQsy8TGLRiEuAMfmWQP/m7zG2T0czc SJ+A== X-Gm-Message-State: AOAM5318cBN/y9CP/353+wRXO3ENX3/bVjZ6/Tix4JbntQMUO8FE2O0H vjf9wYWgaB1yWruWJR7EEIyFZBDPK0Uw/gv2zzc= X-Google-Smtp-Source: ABdhPJzGOH8DqeODO2jCHihHa0Kda9+KIBpLlJq4BU8nvAD5XVMHN6IGUEyAZjcEyCIEVREgeDvcpXNDWlnIYnVFno4= X-Received: by 2002:a62:6885:0:b029:164:51c0:b849 with SMTP id d127-20020a6268850000b029016451c0b849mr7584643pfc.58.1604092043023; Fri, 30 Oct 2020 14:07:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a10:c64b:0:0:0:0 with HTTP; Fri, 30 Oct 2020 14:07:22 -0700 (PDT) In-Reply-To: <87mu03bfbb.fsf@gmail.com> References: <87pn4zbvqy.fsf@gmail.com> <87mu03bfbb.fsf@gmail.com> From: Samuel Wales Date: Fri, 30 Oct 2020 14:07:22 -0700 Message-ID: Subject: Re: org-sort-entries sorting by top-level with first entry at bob To: Gustavo Barros Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=samologist@gmail.com; helo=mail-pf1-x42b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=l6oWSa1V; 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-Spam-Score: -1.71 X-TUID: IjhUZ+1jCmFB yes, you understood my points. if you already understood them and they are not useful to you, then please disregard them. On 10/30/20, Gustavo Barros wrote: > Hi Samuel, > > On Fri, 30 Oct 2020 at 17:43, Samuel Wales wrote: > >> i always have everyting under a top level, so taht files are trees not >> forests and org can work treeishly even at toplevel. > > This would be a workaround, not a solution. Is it a formal requirement > of Org that files must be kept in this form? > >> but to not use >> the mark, typically you supply point-min and point-max to some >> function. > > `org-sort-entries' does not take beg/end as arguments, it uses the > active region, as reported. > > Regards, > Gustavo. > > > > > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html