* sort “on-the-fly” in org-agenda-view
[not found] <232987521.1934428.1618777364986.ref@mail.yahoo.com>
@ 2021-04-18 20:22 ` A A
2021-04-19 12:55 ` Ben Sima
0 siblings, 1 reply; 3+ messages in thread
From: A A @ 2021-04-18 20:22 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
I am aware that ~org-agenda-sorting-strategy~ allows one to define view(s) with desired sort preferences. However, I'm wondering if there is a more "on-the-fly" method for sorting in org-agenda.
For example, I open my agenda in day view. Suppose I want to sort the list of TODOs by priority. Then, I want to sort by tags. The analogy in a non-Emacs environment is to click on the column heading of a table-view. For example, in macOS Finder (or Windows Explorer), one can click on Name or Date or Kind to sort the list of files in various ways.
I am imagining a key to toggle sort, much like the one we have for filter using /.
~org-sort-entries~ and ~org-sort-list~ work on subtrees and lists. Is there something equivalent within org-agenda? I especially like the ~org-sort-entries~ interface: it provides an option to sort by several criteria and in ascending vs descending order.
[-- Attachment #2: Type: text/html, Size: 1205 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sort “on-the-fly” in org-agenda-view
2021-04-18 20:22 ` sort “on-the-fly” in org-agenda-view A A
@ 2021-04-19 12:55 ` Ben Sima
2021-05-24 14:51 ` Daniel Clemente
0 siblings, 1 reply; 3+ messages in thread
From: Ben Sima @ 2021-04-19 12:55 UTC (permalink / raw)
To: A A, emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 244 bytes --]
Heh, I just found myself wanting to do this. I often use C-c ^ to sort
subtrees by creation date, and I wanted to do that with my global TODO
list just now, but couldn't figure out how.
So, imo there is at least a small need for this feature.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 503 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sort “on-the-fly” in org-agenda-view
2021-04-19 12:55 ` Ben Sima
@ 2021-05-24 14:51 ` Daniel Clemente
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Clemente @ 2021-05-24 14:51 UTC (permalink / raw)
To: Ben Sima; +Cc: emacs-orgmode@gnu.org, A A
[-- Attachment #1: Type: text/plain, Size: 518 bytes --]
Sorry for the late reply.
You can press M-up / M-down to manually sort agenda items once the agenda
view is open.
It's just a convenient way to do minor adjustments. No files are actually
changed.
On Mon, Apr 19, 2021 at 12:55 PM Ben Sima <ben@bsima.me> wrote:
> Heh, I just found myself wanting to do this. I often use C-c ^ to sort
> subtrees by creation date, and I wanted to do that with my global TODO
> list just now, but couldn't figure out how.
>
> So, imo there is at least a small need for this feature.
>
[-- Attachment #2: Type: text/html, Size: 848 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-24 14:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <232987521.1934428.1618777364986.ref@mail.yahoo.com>
2021-04-18 20:22 ` sort “on-the-fly” in org-agenda-view A A
2021-04-19 12:55 ` Ben Sima
2021-05-24 14:51 ` Daniel Clemente
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).