From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mFEtJbWbnWFkugAAgWs5BA (envelope-from ) for ; Wed, 24 Nov 2021 02:56:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2F+2ILWbnWG0VgAAbx9fmQ (envelope-from ) for ; Wed, 24 Nov 2021 01:56:05 +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 4658114D6E for ; Wed, 24 Nov 2021 02:56:05 +0100 (CET) Received: from localhost ([::1]:54214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mphVz-00048l-Vy for larch@yhetil.org; Tue, 23 Nov 2021 20:56:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mphVb-00047k-Kl for emacs-orgmode@gnu.org; Tue, 23 Nov 2021 20:55:39 -0500 Received: from [2a00:1450:4864:20::129] (port=36359 helo=mail-lf1-x129.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mphVZ-0007Hh-SP for emacs-orgmode@gnu.org; Tue, 23 Nov 2021 20:55:39 -0500 Received: by mail-lf1-x129.google.com with SMTP id k37so2861751lfv.3 for ; Tue, 23 Nov 2021 17:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CzsFSWpg4rnbpTeFc4v8JJe9UT2MEE0j+MnfeUdAhx0=; b=A0AwMRRFH588J1+J2czeD8Ao3/yzaPE/qX6KSaXqYkcI3ou3nCuPt1jG8UmZba6x9l J4ByEbA2abUoZJr1y7qj9wtsQoX38xKSk5/XV5laIEC4opUl93YHCbpb0dVaQFW2SMs/ 6iixtbNJud2VToNaswKW3hJv6FVtDbyOF12z1n8NNah6mqfovxjdeJVz6pIiUAzTPF4L OPHkMUAn0XM1MT8n1L3RcZqlJF7pFLPOlWEcpbhKL0N+zGBIbCY3/ErpuyoaJqNvey7d f25aYBV3CSNozNFBkHwSMOwKW7WSyimmfvYN3XhoWtRkGGC8z6a8j1Bsr7JS+C44SaDR hAhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CzsFSWpg4rnbpTeFc4v8JJe9UT2MEE0j+MnfeUdAhx0=; b=me14MQoA47N1cUTyaepb+izkbiywqvqinehWj7LxwogjYjdz4jtyOotPK99eXPXvbY S4Z++hyu4G7b+R4z7wHPHp8u2Ps9+Jd5z8w3xaYdTKenD24rluFTAgPBNKGJExM7hodG pmnmuMGjSWNewPzL0tYmUp9tpWqdkeUHpVlZ7J+Lx5xHtLE1wns6duLoXXpE6XnuFOpz DK4wG2V06yJRHSdTVbAndVLO9io2f8WAehVE0I08cT7FhW0mI9NNbBx7qmQFdO/jbr21 aqHjYOoFS22uYEGZEZyd4aMndlE69HMGfdp+9E5kLZ32FI9pscD5/LRogf/3rRkglBgN mfxg== X-Gm-Message-State: AOAM530Xc0rDGF8Ysnw65aJbOcabCPFkOQVfmHgXY6kerHwplpK1v361 8Z6CYWTzCGbHmCddxXFMRaw3+RtdNiATUt7GMNA= X-Google-Smtp-Source: ABdhPJz2RayRQ9i4doCiaJtNm8hVHwIsY4tK/H0DMRBuO3wuH1TmGwp72b7g7fVsN+o1hSHvuRIgTQg689GH2220jz4= X-Received: by 2002:a05:6512:34d0:: with SMTP id w16mr10315489lfr.420.1637718935694; Tue, 23 Nov 2021 17:55:35 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ab3:1912:0:0:0:0:0 with HTTP; Tue, 23 Nov 2021 17:55:35 -0800 (PST) In-Reply-To: References: <20211122021035.dwa7thm7gmhwoagx@dalkati> <87zgpwrihp.fsf@kyleam.com> <87mtlvqx15.fsf@kyleam.com> From: Samuel Wales Date: Tue, 23 Nov 2021 18:55:35 -0700 Message-ID: Subject: Re: org-sort random To: Vikas Rawal Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::129 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=samologist@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Cc: Kyle Meyer , orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637718965; 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=CzsFSWpg4rnbpTeFc4v8JJe9UT2MEE0j+MnfeUdAhx0=; b=PBVGKbvfs4VUfNg/+QGeP9bE9E4LZspb6MO7lrHJ76+BGQju9RdEH0uzNGN9OEUmr2auJF xOAXQUVRjR6EjWNRALWE2S0mHlXu3RuBIQjiZFasNiMMkCCQztZjWIKYQFCzz84NOQVpXV hd7gssmmc+Hj40MD1Q/JJtjgtoDY+ms9/K2PG5z+LONNK5rDeOQsFxnsCEHffSGQfG/5D1 cnO/NCHNgeOBG/qjHKFnshkNZwesGTwggf5oIU9MUIPyON/sSRDtzoGWSTCukJ/SHpl71H ejph/r5ZSC34iVOExaW/+67vIa3Wxf/RQ4s+FnLOf7h8LMcV0Di+rk0x5OZqYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637718965; a=rsa-sha256; cv=none; b=IUNq/KjeRRKn+7gvrzJuaj1zvmL2B3DNlo27HTTwPhpFhodjj8Hge90v6qZGhJaYO/YHvK LoXtDULHNROJouWtAnQ9AAO5yNeiADRdPcsSqjN7Kx+a99mwdsCSuToFj+5+fFNE5bEDBU MXHhmqWKuEBEiMGl5SGFVK+FLYiCRKBEr5++GfCEQ5wVyjOjHeNsuFEgo1+xK1iXy7B806 3sZQp6R0xAgJEgXkkDLFH7q8eALpgxwHleGh2R9BR/Q9Skcempb+fLyuqslYK3FaQoyJvY QVmthod98KvpFtEhIC69RHV690XFxc+iy2Ysi98klGlNNozTnb+QlgfdDI+qeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A0AwMRRF; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A0AwMRRF; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4658114D6E X-Spam-Score: -4.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: Eg/QXOpYJJa1 i have found or would find random line within buffer or region to be useful, and also random entry in org agenda files. i'd find this useful too, but i think i'd find it more useful to keep the ordering the same but instead go to a random entry within region. On 11/23/21, Samuel Wales wrote: > if random sorting of siblings is useful, another entry in the sorting > menu, dedicated to it, would eliminate any issues with completion. > > it is a clever idea to feed random to sort by function. maybe some > won't catch the connection. just a possibility. not trying to bloat. > > On 11/23/21, Vikas Rawal wrote: >>> >>> >>> I think that depends on the completion framework. With the default >>> completion, yes, I think RET should do it. With ivy, it's instead >>> ivy-immediate-done (C-M-j). I'm not sure offhand about other >>> frameworks. >>> >>> >> That's what it needed. Thanks. >> >> I wonder if there would be a better way to document this somewhere so >> that >> people using different completion frameworks could figure out how to do >> it. >> It seems to be something that would be useful to others. >> >> Thanks again >> >> Vikas >> > > > -- > The Kafka Pandemic > > Please learn what misopathy is. > https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html