all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* agenda-view: match tags: Sorting by number of tags matched?
@ 2020-06-03 10:39 Budiman Snowman
  2020-06-04  4:30 ` Kyle Meyer
  0 siblings, 1 reply; 3+ messages in thread
From: Budiman Snowman @ 2020-06-03 10:39 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1985 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-04 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-03 10:39 agenda-view: match tags: Sorting by number of tags matched? Budiman Snowman
2020-06-04  4:30 ` Kyle Meyer
2020-06-04 15:22   ` Budiman Snowman

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.