* sorting headers alphabetically in org-mode
@ 2012-11-25 3:53 drain
2012-11-25 4:23 ` Charles Philip Chan
2012-11-25 4:52 ` Jambunathan K
0 siblings, 2 replies; 6+ messages in thread
From: drain @ 2012-11-25 3:53 UTC (permalink / raw
To: Help-gnu-emacs
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
--
View this message in context: http://emacs.1067599.n5.nabble.com/sorting-headers-alphabetically-in-org-mode-tp270725.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting headers alphabetically in org-mode
2012-11-25 3:53 sorting headers alphabetically in org-mode drain
@ 2012-11-25 4:23 ` Charles Philip Chan
2012-11-25 4:27 ` drain
2012-11-25 4:52 ` Jambunathan K
1 sibling, 1 reply; 6+ messages in thread
From: Charles Philip Chan @ 2012-11-25 4:23 UTC (permalink / raw
To: help-gnu-emacs
[-- 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 --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting headers alphabetically in org-mode
2012-11-25 4:23 ` Charles Philip Chan
@ 2012-11-25 4:27 ` drain
0 siblings, 0 replies; 6+ messages in thread
From: drain @ 2012-11-25 4:27 UTC (permalink / raw
To: Help-gnu-emacs
The options that pop up are quite nice. More elaborate than sort-lines.
--
View this message in context: http://emacs.1067599.n5.nabble.com/sorting-headers-alphabetically-in-org-mode-tp270725p270728.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting headers alphabetically in org-mode
2012-11-25 3:53 sorting headers alphabetically in org-mode drain
2012-11-25 4:23 ` Charles Philip Chan
@ 2012-11-25 4:52 ` Jambunathan K
2012-11-25 21:49 ` drain
1 sibling, 1 reply; 6+ messages in thread
From: Jambunathan K @ 2012-11-25 4:52 UTC (permalink / raw
To: drain; +Cc: Help-gnu-emacs
Does one of
C-h a org sort RET
work?
> 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
>
>
>
> --
> View this message in context: http://emacs.1067599.n5.nabble.com/sorting-headers-alphabetically-in-org-mode-tp270725.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.
>
>
--
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting headers alphabetically in org-mode
2012-11-25 4:52 ` Jambunathan K
@ 2012-11-25 21:49 ` drain
2012-11-25 22:46 ` Suvayu Ali
0 siblings, 1 reply; 6+ messages in thread
From: drain @ 2012-11-25 21:49 UTC (permalink / raw
To: Help-gnu-emacs
Could you rephrase? I don't understand the question.
C-h a org-sort RET produces a list of functions that includes org-sort
among related others.
--
View this message in context: http://emacs.1067599.n5.nabble.com/sorting-headers-alphabetically-in-org-mode-tp270725p270788.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sorting headers alphabetically in org-mode
2012-11-25 21:49 ` drain
@ 2012-11-25 22:46 ` Suvayu Ali
0 siblings, 0 replies; 6+ messages in thread
From: Suvayu Ali @ 2012-11-25 22:46 UTC (permalink / raw
To: help-gnu-emacs
On Sun, Nov 25, 2012 at 01:49:24PM -0800, drain wrote:
> Could you rephrase? I don't understand the question.
>
> C-h a org-sort RET produces a list of functions that includes org-sort
> among related others.
>
The list you see is a list of functions you could use to sort.
Jambunathan was just suggesting you could try them all and see which
suits you best.
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-25 22:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-25 3:53 sorting headers alphabetically in org-mode drain
2012-11-25 4:23 ` Charles Philip Chan
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
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.