emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

agenda-view: match tags: Sorting by number of tags matched?


From: Budiman Snowman
Subject: agenda-view: match tags: Sorting by number of tags matched?
Date: Wed, 3 Jun 2020 17:39:04 +0700

Suppose I have this document:

* topic1                                               :tag1:tag2:tag3:
* topic2                                               :tag1:tag2:tag4:
* topic3                                               :tag1:tag3:tag4:
* topic4                                               :tag2:tag3:tag4:
* topic5                                               :tag1:tag2:
* topic6                                               :tag1:tag4:
* topic7                                               :tag3:tag4:
* topic8                                               :tag1:

And I turn on org-agenda m, then search for tag1|tag3|tag4. Emacs will then show the results (all entries match) in the above order. Is there a way for Emacs to show based on the number of tags matched ("sort based on relevance"), e.g.:

* topic2                                               :tag1:tag2:tag4:
* topic1                                               :tag1:tag2:tag3:
* topic3                                               :tag1:tag3:tag4:
* topic4                                               :tag2:tag3:tag4:
* topic6                                               :tag1:tag4:
* topic5                                               :tag1:tag2:
* topic7                                               :tag3:tag4:
* topic8                                               :tag1:

Regards,
BS



reply via email to

[Prev in Thread] Current Thread [Next in Thread]