emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: Sanjib Sikder <sanjibju2002@gmail.com>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Sort Phrases
Date: Mon, 22 Oct 2012 12:40:16 +0100 (BST)	[thread overview]
Message-ID: <1350906016.77719.YahooMailNeo@web29804.mail.ird.yahoo.com> (raw)
In-Reply-To: <CAL1SgUrOr87=oQ4E7uVYd_+fmYSJpH905rz060O_4qNWdYfjLg@mail.gmail.com>

Da: Sanjib Sikder <sanjibju2002@gmail.com>

Inviato: Lunedì 22 Ottobre 2012 13:27


> I know it is possible to sort words and sort lines alphabetically in emacs org-mode 

Would you please be so kind to explain to me how?

I have only:
org-sort-entries          M-x ... RET     Sort entries on a certain level of an outline tree.
org-sort-list              M-x ... RET       Sort list items.
org-table-sort-lines                           <Sort lines in region> in a table.


Is it possible to sort words like:

banana fruit chees  apple

or lines like 


banana 

fruit
chees 

apple 



> but is it possible to sort phrases ?

> Face the music, Fifteen minutes of fame, A beautiful mind.
> I want to sort it alphabetically like, 
>  A beautiful mind, Face the music, Fifteen minutes of fame.

In Emacs everything is possible.

- substitute "," with \n
- sort region
- substitute \n with ","

Cheers,

Giovanni


  reply	other threads:[~2012-10-22 17:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-22 11:27 Sort Phrases Sanjib Sikder
2012-10-22 11:40 ` Giovanni Ridolfi [this message]
2012-10-22 18:14   ` Sanjib Sikder
2012-10-22 18:18     ` Sanjib Sikder
2012-10-22 13:26 ` Nick Dokos

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=1350906016.77719.YahooMailNeo@web29804.mail.ird.yahoo.com \
    --to=giovanni.ridolfi@yahoo.it \
    --cc=emacs-orgmode@gnu.org \
    --cc=sanjibju2002@gmail.com \
    /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 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).