Re: [O] [RFC] defcustom sorting-type

2013-10-27 Thread Nicolas Goaziou
Hello,

Andreas Röhler andreas.roeh...@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



[O] [RFC] defcustom sorting-type

2013-10-23 Thread Andreas Röhler

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