emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Inverse matching with '/' in agenda view?
@ 2012-04-19  9:51 James Harkins
  2012-04-19 11:16 ` Bernt Hansen
  0 siblings, 1 reply; 7+ messages in thread
From: James Harkins @ 2012-04-19  9:51 UTC (permalink / raw)
  To: emacs-orgmode

Maybe a useful feature request, if it hasn't already been proposed.

I just recently discovered '/' in the agenda view, but sometimes I would like to use it to remove tags from a to do list, e.g.

/ (tab) -Docs

... to show everything in the to-do list that is not about writing documentation. But as far as I can see, it treats "-Docs" as a literal string to match exactly, so all the items are removed.

Currently, it seems my options are:

1. Use the standard todo-tags-match, which doesn't use my custom sorting and block structure.

2. Or, define a new custom agenda command every time I want a different set of tags. (Not so interactive.)

Any tips? Thanks!
James


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

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

* Re: Inverse matching with '/' in agenda view?
  2012-04-19  9:51 Inverse matching with '/' in agenda view? James Harkins
@ 2012-04-19 11:16 ` Bernt Hansen
  2012-04-19 12:57   ` James Harkins
  0 siblings, 1 reply; 7+ messages in thread
From: Bernt Hansen @ 2012-04-19 11:16 UTC (permalink / raw)
  To: James Harkins; +Cc: emacs-orgmode

James Harkins <jamshark70@gmail.com> writes:

> Maybe a useful feature request, if it hasn't already been proposed.
>
> I just recently discovered '/' in the agenda view, but sometimes I would like to use it to remove tags from a to do list, e.g.
>
> / (tab) -Docs
>
> ... to show everything in the to-do list that is not about writing documentation. But as far as I can see, it treats "-Docs" as a literal string to match exactly, so all the items are removed.
>
> Currently, it seems my options are:
>
> 1. Use the standard todo-tags-match, which doesn't use my custom sorting and block structure.
>
> 2. Or, define a new custom agenda command every time I want a different set of tags. (Not so interactive.)
>
> Any tips? Thanks!

Hi James,

Try 

/ - TAB Docs RET

Regards,
Bernt

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

* Re: Inverse matching with '/' in agenda view?
  2012-04-19 11:16 ` Bernt Hansen
@ 2012-04-19 12:57   ` James Harkins
  2012-04-19 14:11     ` Gustav Wikström
  0 siblings, 1 reply; 7+ messages in thread
From: James Harkins @ 2012-04-19 12:57 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

At Thu, 19 Apr 2012 07:16:34 -0400,
Bernt Hansen wrote:
> / - TAB Docs RET

Oh, that's great. I missed that one.

Thanks!
James


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

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

* Re: Inverse matching with '/' in agenda view?
  2012-04-19 12:57   ` James Harkins
@ 2012-04-19 14:11     ` Gustav Wikström
  2012-04-19 14:27       ` Sebastien Vauban
  2012-04-19 14:44       ` Michael Brand
  0 siblings, 2 replies; 7+ messages in thread
From: Gustav Wikström @ 2012-04-19 14:11 UTC (permalink / raw)
  To: James Harkins; +Cc: Bernt Hansen, emacs-orgmode

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

Hi!

I'd like to follow this up with a feature request on inverse matching on
'<', since the inverse of the tag-matching was resolved so fast ;)

It would be neat to be able to hide categories in the agenda as well.

Kind regards
Gustav

On Thu, Apr 19, 2012 at 2:57 PM, James Harkins <jamshark70@gmail.com> wrote:

> At Thu, 19 Apr 2012 07:16:34 -0400,
> Bernt Hansen wrote:
> > / - TAB Docs RET
>
> Oh, that's great. I missed that one.
>
> Thanks!
> James
>
>
> --
> James Harkins /// dewdrop world
> jamshark70@dewdrop-world.net
> http://www.dewdrop-world.net
>
> "Come said the Muse,
> Sing me a song no poet has yet chanted,
> Sing me the universal."  -- Whitman
>
> blog: http://www.dewdrop-world.net/words
> audio clips: http://www.dewdrop-world.net/audio
> more audio: http://soundcloud.com/dewdrop_world/tracks
>
>

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

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

* Re: Inverse matching with '/' in agenda view?
  2012-04-19 14:11     ` Gustav Wikström
@ 2012-04-19 14:27       ` Sebastien Vauban
  2012-04-19 14:44       ` Michael Brand
  1 sibling, 0 replies; 7+ messages in thread
From: Sebastien Vauban @ 2012-04-19 14:27 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Gustav,

Gustav Wikström wrote:
> I'd like to follow this up with a feature request on inverse matching on
> '<', since the inverse of the tag-matching was resolved so fast ;)
>
> It would be neat to be able to hide categories in the agenda as well.

C-u <

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: Inverse matching with '/' in agenda view?
  2012-04-19 14:11     ` Gustav Wikström
  2012-04-19 14:27       ` Sebastien Vauban
@ 2012-04-19 14:44       ` Michael Brand
  2012-04-20 15:47         ` Gustav Wikström
  1 sibling, 1 reply; 7+ messages in thread
From: Michael Brand @ 2012-04-19 14:44 UTC (permalink / raw)
  To: Gustav Wikström; +Cc: emacs-orgmode

Hi Gustav

2012/4/19 Gustav Wikström <gustav.erik@gmail.com>:
> I'd like to follow this up with a feature request on inverse matching on
> '<', since the inverse of the tag-matching was resolved so fast ;)
>
> It would be neat to be able to hide categories in the agenda as well.

Is a resolve in the past enough fast? ;-)

commit bfe8ec1fceaee2d9c5bdf88c574720bebf2e7f7a
Author: Bastien Guerry <bzg@altern.org>
Date:   Tue Apr 10 22:25:53 2012 +0200

    org-agenda.el: Fix inconsistency in `org-agenda-filter-apply' for
category filters.

    * org-agenda.el (org-agenda-filter-make-matcher)
    (org-agenda-filter-apply): Allow filtering entries out by
    category.  Using `C-u <' from the agenda view will redisplay
    the agenda without entries from categories of the current
    line.

    Thanks to John Wiegley for pointing this out.

Michael

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

* Re: Inverse matching with '/' in agenda view?
  2012-04-19 14:44       ` Michael Brand
@ 2012-04-20 15:47         ` Gustav Wikström
  0 siblings, 0 replies; 7+ messages in thread
From: Gustav Wikström @ 2012-04-20 15:47 UTC (permalink / raw)
  To: Michael Brand; +Cc: emacs-orgmode

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

Hi!


Den 19 apr 2012 16:44 skrev "Michael Brand" <michael.ch.brand@gmail.com>:
>> ...
> Is a resolve in the past enough fast? ;-)

It sure is! ;-)

Thanks

/Gustav

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

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

end of thread, other threads:[~2012-04-20 15:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19  9:51 Inverse matching with '/' in agenda view? James Harkins
2012-04-19 11:16 ` Bernt Hansen
2012-04-19 12:57   ` James Harkins
2012-04-19 14:11     ` Gustav Wikström
2012-04-19 14:27       ` Sebastien Vauban
2012-04-19 14:44       ` Michael Brand
2012-04-20 15:47         ` Gustav Wikström

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).