* [RFC] defcustom sorting-type
@ 2013-10-23 7:40 Andreas Röhler
2013-10-27 8:13 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Röhler @ 2013-10-23 7:40 UTC (permalink / raw)
To: emacs-orgmode
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.
Thanks,
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] defcustom sorting-type
2013-10-23 7:40 [RFC] defcustom sorting-type Andreas Röhler
@ 2013-10-27 8:13 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-10-27 8:13 UTC (permalink / raw)
To: Andreas Röhler; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-27 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-23 7:40 [RFC] defcustom sorting-type Andreas Röhler
2013-10-27 8:13 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.