emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Vikas Rawal <vikaslists@agrarianresearch.org>
Cc: Kyle Meyer <kyle@kyleam.com>, orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-sort random
Date: Tue, 23 Nov 2021 18:55:35 -0700	[thread overview]
Message-ID: <CAJcAo8t2Y70JzFenZxZtuyAvhM0XWtB4ziYCV0jP5FghX2hgDw@mail.gmail.com> (raw)
In-Reply-To: <CAJcAo8tAjojqprGiEV+=4rHwxSbURa8muzVfO3+aaquR1c_s-Q@mail.gmail.com>

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 <samologist@gmail.com> 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 <vikaslists@agrarianresearch.org> 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


      reply	other threads:[~2021-11-24  1:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22  2:10 org-sort random Vikas Rawal
2021-11-22  3:12 ` Kyle Meyer
     [not found]   ` <CAFVt51+4Y9njvdS-UZFVWXjr=M933QpUpDrGhD0GcHMmpQYhPw@mail.gmail.com>
2021-11-23  5:08     ` Kyle Meyer
2021-11-23 15:14       ` Vikas Rawal
2021-11-24  1:52         ` Samuel Wales
2021-11-24  1:55           ` Samuel Wales [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJcAo8t2Y70JzFenZxZtuyAvhM0XWtB4ziYCV0jP5FghX2hgDw@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kyle@kyleam.com \
    --cc=vikaslists@agrarianresearch.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).