emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* gnus org and tags
@ 2016-10-12  8:42 Uwe Brauer
  2016-10-12 19:10 ` Eric Abrahamsen
  0 siblings, 1 reply; 9+ messages in thread
From: Uwe Brauer @ 2016-10-12  8:42 UTC (permalink / raw)
  To: emacs-orgmode

Hi

I would like to add to certain messages (which I read via gnus and the
imap protocol) tags so that searching is simplified. Is there a way to
do that using the org tags engine? Gnorb would be a candidate but that
feature is listed in the TODO list.

Regards

Uwe Brauer 

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

* Re: gnus org and tags
  2016-10-12  8:42 gnus org and tags Uwe Brauer
@ 2016-10-12 19:10 ` Eric Abrahamsen
  2016-10-13 11:11   ` Uwe Brauer
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Abrahamsen @ 2016-10-12 19:10 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> Hi
>
> I would like to add to certain messages (which I read via gnus and the
> imap protocol) tags so that searching is simplified. Is there a way to
> do that using the org tags engine? Gnorb would be a candidate but that
> feature is listed in the TODO list.

Yup, I haven't gotten to it, mostly because message tagging is one part
of a much larger new feature set that I haven't had time to implement
yet. That, and most of my hacking time has been taken up by a new
version of BBDB I'm working on -- still part of the larger Gnorb
project.

My idea was to use the Gnus registry to record Org tags, which means
that searching would have to be done via the registry, not the usual
nnir search interface. Would that be acceptable to you, or would you
rather somehow store the tags in IMAP itself?

Eric

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

* Re: gnus org and tags
       [not found] <d0bee8fd76144d01aca1878f3bb5fbb4@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-10-13  8:14 ` Eric S Fraga
  2016-10-13 11:10   ` Uwe Brauer
  0 siblings, 1 reply; 9+ messages in thread
From: Eric S Fraga @ 2016-10-13  8:14 UTC (permalink / raw)
  To: emacs-orgmode

On Wednesday, 12 Oct 2016 at 08:42, Uwe Brauer wrote:
> Hi
>
> I would like to add to certain messages (which I read via gnus and the
> imap protocol) tags so that searching is simplified. Is there a way to
> do that using the org tags engine? Gnorb would be a candidate but that
> feature is listed in the TODO list.

Might not be what you want but I turn this inside out and use org
capture to create notes, with tags, that link back to the email
message.  I then use org to search etc. with C-c C-o to get back to the
email.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.1.1, Org release_8.3.6-1207-g91e263

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

* Re: gnus org and tags
  2016-10-13  8:14 ` Eric S Fraga
@ 2016-10-13 11:10   ` Uwe Brauer
  2016-10-13 16:02     ` Nick Dokos
       [not found]     ` <4b55752816294d39b6537391ad54a2b1@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Uwe Brauer @ 2016-10-13 11:10 UTC (permalink / raw)
  To: emacs-orgmode

>>> "Eric" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:

   > On Wednesday, 12 Oct 2016 at 08:42, Uwe Brauer wrote:
   >> Hi
   >> 
   >> I would like to add to certain messages (which I read via gnus and the
   >> imap protocol) tags so that searching is simplified. Is there a way to
   >> do that using the org tags engine? Gnorb would be a candidate but that
   >> feature is listed in the TODO list.

   > Might not be what you want but I turn this inside out and use org
   > capture to create notes, with tags, that link back to the email
   > message.  I then use org to search etc. with C-c C-o to get back to the
   > email.

Yes I sometimes to that as well but then I tend to forgot where I put
that information etc. So I really prefer the other way around.

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

* Re: gnus org and tags
  2016-10-12 19:10 ` Eric Abrahamsen
@ 2016-10-13 11:11   ` Uwe Brauer
  0 siblings, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2016-10-13 11:11 UTC (permalink / raw)
  To: emacs-orgmode


   > Uwe Brauer <oub@mat.ucm.es> writes:

   > Yup, I haven't gotten to it, mostly because message tagging is one part
   > of a much larger new feature set that I haven't had time to implement
   > yet. That, and most of my hacking time has been taken up by a new
   > version of BBDB I'm working on -- still part of the larger Gnorb
   > project.

   > My idea was to use the Gnus registry to record Org tags, which means
   > that searching would have to be done via the registry, not the usual
   > nnir search interface. Would that be acceptable to you, or would you
   > rather somehow store the tags in IMAP itself?

Definitely it would, I tried to play around with the registry myself but
right now had a problem. I am really looking forward to see such a
feature. Thanks

Uwe 

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

* Re: gnus org and tags
  2016-10-13 11:10   ` Uwe Brauer
@ 2016-10-13 16:02     ` Nick Dokos
       [not found]     ` <4b55752816294d39b6537391ad54a2b1@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Nick Dokos @ 2016-10-13 16:02 UTC (permalink / raw)
  To: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

>>>> "Eric" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>    > On Wednesday, 12 Oct 2016 at 08:42, Uwe Brauer wrote:
>    >> Hi
>    >> 
>    >> I would like to add to certain messages (which I read via gnus and the
>    >> imap protocol) tags so that searching is simplified. Is there a way to
>    >> do that using the org tags engine? Gnorb would be a candidate but that
>    >> feature is listed in the TODO list.
>
>    > Might not be what you want but I turn this inside out and use org
>    > capture to create notes, with tags, that link back to the email
>    > message.  I then use org to search etc. with C-c C-o to get back to the
>    > email.
>
> Yes I sometimes to that as well but then I tend to forgot where I put
> that information etc. So I really prefer the other way around.
>
>
>
I have a single notes.org file (not an agenda file), where I do exactly what
Eric described and I have defined keys to get to it fast: no more "where did I
put that scrap of information" - well, not true: if I were perfectly disciplined
that would be the case, but since I am not, I sometimes have to go hunt down that
scrap; but the process is painful enough that once I find it, it goes into notes.org,
no ifs, ands or buts ;-)

-- 
Nick

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

* Re: gnus org and tags
       [not found]     ` <4b55752816294d39b6537391ad54a2b1@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-10-14  7:57       ` Eric S Fraga
  2016-10-15 13:14         ` Uwe Brauer
       [not found]         ` <2c9fee5d1491480280cb0c85ebda9352@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Eric S Fraga @ 2016-10-14  7:57 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode@gnu.org

On Thursday, 13 Oct 2016 at 16:02, Nick Dokos wrote:

[...]

> I have a single notes.org file (not an agenda file), where I do exactly what
> Eric described and I have defined keys to get to it fast: no more "where did I

As do I.  I guess this is a key part of this use case: it must be easy
to find those notes.  My (abridged) capture template looks like this:

#+begin_src emacs-lisp
  (setq org-capture-templates
        '(
          ("m" "Mail options")
          ("mt" "mailtodo"
           entry (file+datetree "~/s/notes/tasks.org")
           "* TODO %^{Task} : %:subject %^G\nSCHEDULED: %t\n- From :: %:from\n- Subject :: %:subject\n- Email :: %a\n\n%?" :kill-buffer t)
          ("mn" "mailnote"
           entry (file+headline "~/s/notes/notes.org" "general notes and tasks")
           "* %^{Title} : %:subject %^G\n- From :: %:from\n- Subject :: %:subject\n- Email :: %a\n\n%?\n\n%U")
          ))
#+end_src

Tag search etc. in org makes finding the notes relatively painless.  

As a bonus, the "mt" template is to allow me to get to INBOX 0 by making
sure I don't leave emails lying around unread or ticked.  If they need
further processing, an appropriate TODO task is created which links back
to the email.  This task is scheduled for immediate action by default
but obviously easily changed during the capture, very often by
unscheduling but adding a deadline, for instance.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.2.50.1, Org release_8.3.6-1184-g29830f

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

* Re: gnus org and tags
  2016-10-14  7:57       ` Eric S Fraga
@ 2016-10-15 13:14         ` Uwe Brauer
       [not found]         ` <2c9fee5d1491480280cb0c85ebda9352@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2016-10-15 13:14 UTC (permalink / raw)
  To: emacs-orgmode

>>> "Eric" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:

   > On Thursday, 13 Oct 2016 at 16:02, Nick Dokos wrote:
   > [...]

   >> I have a single notes.org file (not an agenda file), where I do exactly what
   >> Eric described and I have defined keys to get to it fast: no more "where did I

   > As do I.  I guess this is a key part of this use case: it must be easy
   > to find those notes.  My (abridged) capture template looks like this:

   > #+begin_src emacs-lisp
   >   (setq org-capture-templates
   >         '(
   >           ("m" "Mail options")
   >           ("mt" "mailtodo"
   >            entry (file+datetree "~/s/notes/tasks.org")
   >            "* TODO %^{Task} : %:subject %^G\nSCHEDULED: %t\n- From :: %:from\n- Subject :: %:subject\n- Email :: %a\n\n%?" :kill-buffer t)
   >           ("mn" "mailnote"
   >            entry (file+headline "~/s/notes/notes.org" "general notes and tasks")
   >            "* %^{Title} : %:subject %^G\n- From :: %:from\n- Subject :: %:subject\n- Email :: %a\n\n%?\n\n%U")
   >           ))
   > #+end_src

Ok that is relatively cool.


   > Tag search etc. in org makes finding the notes relatively painless.  

How do you search, starting where?

   > As a bonus, the "mt" template is to allow me to get to INBOX 0 by making
   > sure I don't leave emails lying around unread or ticked.  If they need
   > further processing, an appropriate TODO task is created which links back
   > to the email.  This task is scheduled for immediate action by default
   > but obviously easily changed during the capture, very often by
   > unscheduling but adding a deadline, for instance.

For the imap backend?

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

* Re: gnus org and tags
       [not found]         ` <2c9fee5d1491480280cb0c85ebda9352@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-10-15 14:15           ` Eric S Fraga
  0 siblings, 0 replies; 9+ messages in thread
From: Eric S Fraga @ 2016-10-15 14:15 UTC (permalink / raw)
  To: emacs-orgmode

On Saturday, 15 Oct 2016 at 13:14, Uwe Brauer wrote:
>>>> "Eric" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>    > Tag search etc. in org makes finding the notes relatively painless.  
>
> How do you search, starting where?

Typically, using the agenda tags search: C-c a m
and, if that fails, the more general search: C-c a s
where "C-c a" has been bound to org-agenda.

Less frequently, org-sparse-tree (C-c /) within a specific org file.

>    > As a bonus, the "mt" template is to allow me to get to INBOX 0 by making
>    > sure I don't leave emails lying around unread or ticked.  If they need
>    > further processing, an appropriate TODO task is created which links back
>    > to the email.  This task is scheduled for immediate action by default
>    > but obviously easily changed during the capture, very often by
>    > unscheduling but adding a deadline, for instance.
>
> For the imap backend?

Yes, sorry, very much for IMAP.  Probably possible with other backends
but I only use IMAP because of wanting to access my emails from various
devices.

HTH,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.2.50.1, Org release_8.3.6-1184-g29830f

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

end of thread, other threads:[~2016-10-15 14:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12  8:42 gnus org and tags Uwe Brauer
2016-10-12 19:10 ` Eric Abrahamsen
2016-10-13 11:11   ` Uwe Brauer
     [not found] <d0bee8fd76144d01aca1878f3bb5fbb4@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-10-13  8:14 ` Eric S Fraga
2016-10-13 11:10   ` Uwe Brauer
2016-10-13 16:02     ` Nick Dokos
     [not found]     ` <4b55752816294d39b6537391ad54a2b1@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-10-14  7:57       ` Eric S Fraga
2016-10-15 13:14         ` Uwe Brauer
     [not found]         ` <2c9fee5d1491480280cb0c85ebda9352@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-10-15 14:15           ` Eric S Fraga

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