emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Vikas Rawal <vikaslists@agrarianresearch.org>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-sort random
Date: Tue, 23 Nov 2021 00:08:22 -0500	[thread overview]
Message-ID: <87mtlvqx15.fsf@kyleam.com> (raw)
In-Reply-To: <CAFVt51+4Y9njvdS-UZFVWXjr=M933QpUpDrGhD0GcHMmpQYhPw@mail.gmail.com>

(Please don't drop the list.)

Vikas Rawal writes:

> That is, just press RET?

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.

> If I do that, it just reverses the existing order. No randomisation
> happens.

Dunno.  Seems to work on my end (release_9.5.1-188-g27f26f782).

    * h
    ** a
    ** b
    ** c
    ** d
    ** e
    ** f
    ** g
    ** h
    ** i
    ** j
    ** k
    ** l

With point on h and vanilla Emacs:

- C-c ^ f
- random
- RET

    * h
    ** f
    ** e
    ** h
    ** i
    ** g
    ** j
    ** k
    ** b
    ** c
    ** d
    ** a
    ** l


  parent reply	other threads:[~2021-11-23  5:08 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 [this message]
2021-11-23 15:14       ` Vikas Rawal
2021-11-24  1:52         ` Samuel Wales
2021-11-24  1:55           ` Samuel Wales

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=87mtlvqx15.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --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).