From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yJC+OEsAm2EjPgAAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 03:28:27 +0100 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 WNdzNEsAm2FjWAAA1q6Kng (envelope-from ) for ; Mon, 22 Nov 2021 02:28:27 +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 31C49330B6 for ; Mon, 22 Nov 2021 03:28:27 +0100 (CET) Received: from localhost ([::1]:52490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moz4D-0001mR-OB for larch@yhetil.org; Sun, 21 Nov 2021 21:28:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moz3N-0001mJ-OY for emacs-orgmode@gnu.org; Sun, 21 Nov 2021 21:27:33 -0500 Received: from [2607:f8b0:4864:20::935] (port=39554 helo=mail-ua1-x935.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moz3L-0003LX-GQ for emacs-orgmode@gnu.org; Sun, 21 Nov 2021 21:27:33 -0500 Received: by mail-ua1-x935.google.com with SMTP id i6so33529157uae.6 for ; Sun, 21 Nov 2021 18:27:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agrarianresearch-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:subject:message-id:mail-followup-to:organisation :mime-version:content-disposition; bh=uRfHSEkcFmHIbIzftLqXVk0ROB93YVlRZVKjeZitxkk=; b=ndJ34Gi+OF/bIszd3ynYxoffdwCCU0b6g/Aq087WRjT1qn7wJEp4zZvLBeZ2/GTIM2 fVvrbTEoUVBoCsbsFnwILSzjSG4fI2DQROmJYP9mdRnfEqnryGJNG31RQJdpyRcXaOre jCBQKVY6brnd0Uzf73vhs58Yxsf2Irb/2l/83BHPzu00sh7K+6GsoAbSxbzWkgf1t38I Z2NGFeKPiI/b69kFgLhKITocgXECZLurRFaxaybX3c/KpgS02XGIeQdlR9LAD/9ybe7c wfc+6G/1xsvifnqZmkVo0F9MWnnbNHFHrfczT+1XBEYc12C2QsMcLRRaeuxFiMtwJdro J2bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :organisation:mime-version:content-disposition; bh=uRfHSEkcFmHIbIzftLqXVk0ROB93YVlRZVKjeZitxkk=; b=AAXQ5wVXoKpklfigWr+HCMeehukQs5CervdjMpQiUneR1T/s0z5razssBNDwZJkapZ VeGYg1+J7IVXV6VJS0oVGVAs3GLf5EMY1ilBD7EB7b1Sf4HOTeZZ0HTNb3EJvNOoA9aq SsQ4+MHhlIrMOQbLKBEd3ekSEeVOXmzs1WQRGDpwRf2nTlx8hSbyUrka/4QEFge0aTvp ma8k2nJveQsX8qxBb1y+4dg7t44/pJY9L099GgDAEkwumBh5uZD6oM1V29PSNgHpraqD Fob3LJy3MsvfapPkOVb3kcYtBdC3dROb9odtZiudCWuzX/aT/KOn/BJkexF+MfECHXgn 3JrQ== X-Gm-Message-State: AOAM531F66CzQegcAvjB4E7Z3dYFnuQ/5h4gWkuDSuW+Ilnyh1/TQarK 1+JZB+csubf9mBLHhEQYqq4WOxh2XTFeoQ== X-Google-Smtp-Source: ABdhPJy4o8Lphhw05WmlfbjoqD6pZ5LutPf9+QUm3ds8hGjtoGYrjKzqgqWBaDWbu2oEeDHGC/VKlQ== X-Received: by 2002:a17:902:6b05:b0:142:83f9:6e29 with SMTP id o5-20020a1709026b0500b0014283f96e29mr105969957plk.32.1637547603886; Sun, 21 Nov 2021 18:20:03 -0800 (PST) Received: from localhost ([103.49.227.26]) by smtp.gmail.com with ESMTPSA id d21sm6312589pfu.52.2021.11.21.18.20.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Nov 2021 18:20:03 -0800 (PST) Date: Mon, 22 Nov 2021 07:40:35 +0530 From: Vikas Rawal To: orgmode Subject: org-sort random Message-ID: <20211122021035.dwa7thm7gmhwoagx@dalkati> Mail-Followup-To: orgmode Organisation: CESP, Jawaharlal Nehru University, New Delhi MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::935 (failed) Received-SPF: neutral client-ip=2607:f8b0:4864:20::935; envelope-from=vikaslists@agrarianresearch.org; helo=mail-ua1-x935.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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=1637548107; 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=uRfHSEkcFmHIbIzftLqXVk0ROB93YVlRZVKjeZitxkk=; b=E/bN7EYzei0Dn3ECJHr49UB1kBOjDEx+JhK0OejSXD4kP2io1K5YLelc1QLe3GXBsgrp8v HwNb3ZFyVIB96eM81jamMupShCpkv9X6YkpGEQPAp6DRKpAUWIZ8Es6ma6o89afr8lts1d Ko7SYC8XDUPdRwwYfK9HQFFSbMAM7NfMkj9vj8yoQCl2TQiIpwwuH7mx94T+cNmFo2PLjU sIXzSduk8BQ8RkDcqlI6szAmTSUy2s/WYYezy1swVxgca3WB4b8v17Yo2+MUdb4QRRKUky Vycz/G1TC7BZJELLiAGEuRllxYyubN35g2392F/4V2XXzK/U2PaRMCx6xJnoDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637548107; a=rsa-sha256; cv=none; b=ubnI8cqpH7jz5Y2cjTW8HXbHJbwLCP8aMOOJxoWo2oEQdyA/n1X+ZEhPiJveNTXR7t0z2x FSluHl7h246X8i/esETX6QlMl1VoIFC+HdApfzBE6hFIk9It/s1FTHxndWw1FLzMUYr+Wb /31lYWbW4aNL2XGrcplP+ppxePpwo023BeHR3TnMQHhuHOS09wa832OfG+cBsiVG0Si9bx P0d/7bNrcpM1oEl0LM+iqnikINNzZCLc1y1Mhe6GFjAuCLKkYevVsRirMmpHNx0McH/Xjk DucR5svRks7mfM8WDBlz+G2iKPq2B0a/245MOxIgJepKyAlgnmXZNV9gc8IW4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=agrarianresearch-org.20210112.gappssmtp.com header.s=20210112 header.b=ndJ34Gi+; 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: -3.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=agrarianresearch-org.20210112.gappssmtp.com header.s=20210112 header.b=ndJ34Gi+; dmarc=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: 31C49330B6 X-Spam-Score: -3.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: rcpVWp/lYK0p I am trying to sort a sub-tree of headings randomly. But `C-c ^ f random RET` asks for a "function for comparing keys". What am I supposed to do? Reference: https://lists.gnu.org/archive/html/emacs-orgmode/2011-02/msg00089.html I have also tried the custom function proposed in the previous mail in this thread (which was also proposed on another thread) but I face the same problem with this as well. Thanks for help. Vikas