emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* stable links to gnus messages?
@ 2012-08-14  7:09 Alan Schmitt
  2012-08-14  7:43 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Schmitt @ 2012-08-14  7:09 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I'm starting to play with org-store-link, and I've noticed that if I
create a link to a gnus message, this link will be broken if I move the
message to another mailbox. Is it possible to have a stable link that
would survive such a move?

Thanks,

Alan

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

* Re: stable links to gnus messages?
  2012-08-14  7:09 stable links to gnus messages? Alan Schmitt
@ 2012-08-14  7:43 ` Bastien
  2012-08-14  9:21   ` Alan Schmitt
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2012-08-14  7:43 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: emacs-orgmode

Hi Alan,

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> I'm starting to play with org-store-link, and I've noticed that if I
> create a link to a gnus message, this link will be broken if I move the
> message to another mailbox. Is it possible to have a stable link that
> would survive such a move?

You might want to use gnus-registry and the nnregistry backend.

-- 
 Bastien

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

* Re: stable links to gnus messages?
  2012-08-14  7:43 ` Bastien
@ 2012-08-14  9:21   ` Alan Schmitt
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Schmitt @ 2012-08-14  9:21 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@gnu.org> writes:

> Hi Alan,
>
> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
>> I'm starting to play with org-store-link, and I've noticed that if I
>> create a link to a gnus message, this link will be broken if I move the
>> message to another mailbox. Is it possible to have a stable link that
>> would survive such a move?
>
> You might want to use gnus-registry and the nnregistry backend.

Thanks, that worked great. The only part I'm still trying to figure out
is to find in which group the mail is in (nnregistry is finding it, and
displaying it, but the modeline mentions the old group and not the one
where the message has been moved to). I guess this is also why
displaying the thread does not work.

For the record, here is the settings I've used:

#+begin_src elisp
;; Registry, to allow the finding of messages
;; From http://www.gnu.org/software/emacs/manual/html_node/gnus/The-Gnus-Registry.html#The-Gnus-Registry

(setq
 gnus-registry-split-strategy 'majority
 gnus-registry-ignored-groups '(("Junk" t)
                                ("TrainSpam" t)
                                ("notmuch" t)
                                ("Trash" t)
                                ("Chats" t)
                                ("Contacts" t)
                                ("Emailed Contacts" t)
                                ("Notes" t))
 gnus-registry-max-entries nil
 ;; this is the default
 gnus-registry-track-extra '(sender subject))

(gnus-registry-initialize)

(setq gnus-refer-article-method
      '(current
        (nnregistry)))
#+end_src

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

end of thread, other threads:[~2012-08-14  9:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-14  7:09 stable links to gnus messages? Alan Schmitt
2012-08-14  7:43 ` Bastien
2012-08-14  9:21   ` Alan Schmitt

Code repositories for project(s) associated with this 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).