[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] defcustom sorting-type
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [RFC] defcustom sorting-type |
Date: |
Sun, 27 Oct 2013 09:13:01 +0100 |
Hello,
Andreas Röhler <address@hidden> 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