all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Charles Philip Chan <cpchan@bell.net>
To: help-gnu-emacs@gnu.org
Subject: Re: sorting headers alphabetically in org-mode
Date: Sat, 24 Nov 2012 23:23:25 -0500	[thread overview]
Message-ID: <87r4ni1fb6.fsf@karnak.MagnumOpus.khem> (raw)
In-Reply-To: 1353815583701-270725.post@n5.nabble.com

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

drain <aeuster@gmail.com> writes:

> i.e., sort-lines for headers:
>
> BEFORE
>
> ** Stallman
> *** Passwords
> *** New Form Of Mass Folly On Twitter
> *** Why It Is Important Not To Have Children
> *** Extending Years Of Dementia
>
> AFTER
>
> ** Stallman
> *** Extending Years of Dementia
> *** New Form Of Mass Folly On Twitter
> *** Passwords
> *** Why It Is Important Not To Have Children

C-c ^ which runs:

,----
| C-c ^ runs the command org-sort, which is an interactive compiled Lisp
| function in `org.el'.
| 
| It is bound to C-c ^, <menu-bar> <Org> <Edit Structure> <Sort
| Region/Children>.
| 
| (org-sort WITH-CASE)
| 
| Call `org-sort-entries', `org-table-sort-lines' or `org-sort-list'.
| Optional argument WITH-CASE means sort case-sensitively.
`----

and choose "alpha.

Charles

-- 
"...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
the Ugly)."
(By Matt Welsh)

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2012-11-25  4:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-25  3:53 sorting headers alphabetically in org-mode drain
2012-11-25  4:23 ` Charles Philip Chan [this message]
2012-11-25  4:27   ` drain
2012-11-25  4:52 ` Jambunathan K
2012-11-25 21:49   ` drain
2012-11-25 22:46     ` Suvayu Ali

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4ni1fb6.fsf@karnak.MagnumOpus.khem \
    --to=cpchan@bell.net \
    --cc=help-gnu-emacs@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 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.