emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [RFC] defcustom sorting-type
Date: Sun, 27 Oct 2013 09:13:01 +0100	[thread overview]
Message-ID: <87txg3b08i.fsf@gmail.com> (raw)
In-Reply-To: <52677D50.6070504@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6h\?\= \=\?utf-8\?Q\?ler\=22's\?\= message of "Wed, 23 Oct 2013 09:40:00 +0200")

Hello,

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> In docstring of `org-sort-entries' it's told
>
> "The command prompts for the sorting type unless it has been given to the
> function through the SORTING-TYPE argument, which needs to be a character,
> \(?n ?N ?a ?A ?t ?T ?s ?S ?d ?D ?p ?P ?o ?O ?r ?R ?f ?F)."
>
> Suggest to extend it somehow like that way
>
> "... through the SORTING-TYPE argument, resp. customized `sorting-type',..."
>
>
> Which means `sorting-type' would need a defcustom.
>
> Thus the user isn't prompted every time any more.

FWIW, I don't think this is necessary. If one needs a single sorting
type only, it is very easy to define a wrapper around `org-sort-entries'
and use that function instead.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2013-10-27  8:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-23  7:40 [RFC] defcustom sorting-type Andreas Röhler
2013-10-27  8:13 ` Nicolas Goaziou [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=87txg3b08i.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=emacs-orgmode@gnu.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).