emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Sorting all children of a heading for time
@ 2014-05-27 20:08 Simon Jones
  2014-05-28 19:36 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Jones @ 2014-05-27 20:08 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

Hi,

In the following example, when I try to sort on the top heading (Planner
2014-15) for time, the heading Holiday does not sort correctly (unless I
promote the heading to **. Is there a way that a sort can work with all the
children of a given heading? I have also tried selecting all the headings
and sorting but with no success.

* Planner 2014-15
#+CATEGORY:PLN
** INSET DAY
   <2014-09-04 Thu>
** INSET DAY
   <2014-09-05 Fri>
*** Holiday
<2014-10-27 Mon>--<2014-10-31 Fri>
** B Meeting
   <2014-09-22 Mon>
** C Committee
   <2014-10-02 Thu>
** S Committee
   <2014-10-23 Thu>
** FS
   <2014-11-06 Thu>
** M Meeting
   <2014-11-27 Thu>

Many thanks,
Simon.

[-- Attachment #2: Type: text/html, Size: 1027 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Sorting all children of a heading for time
  2014-05-27 20:08 Sorting all children of a heading for time Simon Jones
@ 2014-05-28 19:36 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2014-05-28 19:36 UTC (permalink / raw)
  To: Simon Jones; +Cc: emacs-orgmode

Hi Simon,

Simon Jones <swjemacs@gmail.com> writes:

> Is there a way that a
> sort can work with all the children of a given heading?

No: per design, sorting should not break each subtree's structure.
You can manually promote it to the second level, sort, and demote
it again.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-28 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-27 20:08 Sorting all children of a heading for time Simon Jones
2014-05-28 19:36 ` Bastien

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).