all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* The meaning of / inverted in the agenda
@ 2023-04-25 20:28 John Wiegley
  2023-04-25 21:05 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: John Wiegley @ 2023-04-25 20:28 UTC (permalink / raw)
  To: emacs-orgmode

In previous version of Org-mode, I was used to "/ t" showing me only entries
that matched the tag keyed by 't'. Now it hides them instead. I was able to
fix this using:

modified   lisp/org-agenda.el
@@ -8578,7 +8578,7 @@ also press `-' or `+' to switch between filtering and excluding."
       (org-agenda-filter-show-all-tag)
       (setq tag (car a))
       (setq org-agenda-tag-filter
-	    (cons (concat (if exclude "-" "+") tag)
+	    (cons (concat (if exclude "+" "-") tag)
                  (if accumulate current nil)))
       (org-agenda-filter-apply org-agenda-tag-filter 'tag expand))
      (t (error "Invalid tag selection character %c" char)))))

The documentation for '/' says that "Keep only those lines in the agenda
buffer that have a specific tag.", so I'm pretty sure the current behavior is
a bug?

--
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2


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

end of thread, other threads:[~2023-04-26 11:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-25 20:28 The meaning of / inverted in the agenda John Wiegley
2023-04-25 21:05 ` Ihor Radchenko
2023-04-25 21:34   ` John Wiegley
2023-04-25 21:47     ` Ihor Radchenko
2023-04-25 22:29       ` John Wiegley
2023-04-26 11:50         ` Esteban Ordóñez

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.