* Suggestion for org-sort
@ 2007-12-08 21:11 Chris Leyon
2007-12-13 22:08 ` Carsten Dominik
2008-01-04 14:42 ` Carsten Dominik
0 siblings, 2 replies; 3+ messages in thread
From: Chris Leyon @ 2007-12-08 21:11 UTC (permalink / raw)
To: emacs-orgmode
I ran into this behavior while sorting table lines but it may happen
elsewhere too. In a nutshell, I'd like to alphabetical-sort (C-c ^ a)
| alpha |
| [[file:beta][beta]] |
| gamma |
into the order shown, but currently the "beta" line sorts less than
"alpha". I can't claim it's a bug--the behavior is
understandable--but perhaps the sort function can be enhanced to only
look at the link description, if present.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Suggestion for org-sort
2007-12-08 21:11 Suggestion for org-sort Chris Leyon
@ 2007-12-13 22:08 ` Carsten Dominik
2008-01-04 14:42 ` Carsten Dominik
1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2007-12-13 22:08 UTC (permalink / raw)
To: Chris Leyon; +Cc: emacs-orgmode
On Dec 8, 2007, at 10:11 PM, Chris Leyon wrote:
> I ran into this behavior while sorting table lines but it may happen
> elsewhere too. In a nutshell, I'd like to alphabetical-sort (C-c ^ a)
>
> | alpha |
> | [[file:beta][beta]] |
> | gamma |
>
> into the order shown, but currently the "beta" line sorts less than
> "alpha". I can't claim it's a bug--the behavior is
> understandable--but perhaps the sort function can be enhanced to only
> look at the link description, if present.
This does make sense. However, I am planning to rewrite the sorting
part for table anyway, making use of the sorting function John
has recently introduced into Org-mode. So this is now on my list,
put probably not yet for the next release.
Thanks.
- Carsten
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Suggestion for org-sort
2007-12-08 21:11 Suggestion for org-sort Chris Leyon
2007-12-13 22:08 ` Carsten Dominik
@ 2008-01-04 14:42 ` Carsten Dominik
1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2008-01-04 14:42 UTC (permalink / raw)
To: Chris Leyon; +Cc: emacs-orgmode
On Dec 8, 2007, at 10:11 PM, Chris Leyon wrote:
> I ran into this behavior while sorting table lines but it may happen
> elsewhere too. In a nutshell, I'd like to alphabetical-sort (C-c ^ a)
>
> | alpha |
> | [[file:beta][beta]] |
> | gamma |
>
> into the order shown, but currently the "beta" line sorts less than
> "alpha". I can't claim it's a bug--the behavior is
> understandable--but perhaps the sort function can be enhanced to only
> look at the link description, if present.
Fixed, thanks.
- Carsten
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-04 14:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-08 21:11 Suggestion for org-sort Chris Leyon
2007-12-13 22:08 ` Carsten Dominik
2008-01-04 14:42 ` Carsten Dominik
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).