emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sven Bretfeld" <sven.bretfeld@gmx.ch>
To: emacs-org <emacs-orgmode@gnu.org>
Subject: org-link and gnus-registry
Date: 23 Nov 2012 14:37:36 +0100	[thread overview]
Message-ID: <878v9sxwwv.fsf@rub.de> (raw)

Hi to all

I'm trying to setup gnus-registry for use with org-link. What I want to
do is reading emails (nnimap) in the INBOX, create a todo with
org-remember containing a link to this email, then move the email to
another group.

As was discussed before in this list, gnus-register is the way to do
this. Otherwise org-link will not find the message after it has gone to
another group. 

This is not working for me. It might have to do with how org-store-links
creates the link. For me the links look like this:

[[gnus:Stuff#BLU162-ds55E622A1EF424D0BD1F57C95A0@phx.gbl][Email from
Yongbin: Re: Visit]]

"Stuff" is the name of my INBOX. This means the message-ID contains the
name of the original group. If the message is moved to another group, it
won't be found. It seems that either org-store-link or org-follow-link
does not respect gnus-registry.

I cannot find the mistake. Can somebody help me?

This is my setup (Emacs 23.4.1, Ubuntu 12.10):

,----
| .gnus.el:
`----

(setq gnus-registry-install t)

(setq
 gnus-registry-split-strategy 'majority
 gnus-registry-ignored-groups '(("nnrs" t)
                                ("expired-spool" t)
                                ("out-spool" t)
                                ("deleted-messages" t)
                                ("nndraft" t)
                                ("spamassassined" t)
                                ("spam" t)
                                ("UCE-TMP" t))

 gnus-registry-max-entries 2500
 ;; this is the default
 gnus-registry-use-long-group-names t)

(gnus-registry-initialize)

(setq gnus-refer-article-method
      '(current
        (nnregistry)))

Thanks for help,

Sven

             reply	other threads:[~2012-11-23 13:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 13:37 Sven Bretfeld [this message]
2012-11-23 15:11 ` org-link and gnus-registry Alan Schmitt
2012-11-24 19:19   ` Sven Bretfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878v9sxwwv.fsf@rub.de \
    --to=sven.bretfeld@gmx.ch \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).