emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* gnus-summary-move-article and org-store-link
@ 2014-05-13 22:31 Esben Stien
  2014-05-15  9:42 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Esben Stien @ 2014-05-13 22:31 UTC (permalink / raw)
  To: emacs-orgmode

In gnus, I often move articles out of my inbox into other gnus
directories, but at the same time, I want to make a link to the email if
I want to bring it up again. 

I do M-x gnus-summary-move-article on an article and then I M-x
org-store-link. Of course, this link points to the already moved
article, so it really shouldn't work, but it does for some strange
reason. Only until I restart gnus maybe?

Anyway, I really want the link to point to the article at the new
location without exiting the current summary buffer and then entering
the group where the article now resides only to make a link to it. If I
want to move 10 emails that's quite a few key combinations.

Any way I could do this?

-- 
Esben Stien is b0ef@e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n

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

* Re: gnus-summary-move-article and org-store-link
  2014-05-13 22:31 gnus-summary-move-article and org-store-link Esben Stien
@ 2014-05-15  9:42 ` Bastien
  2014-05-18  1:34   ` Esben Stien
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2014-05-15  9:42 UTC (permalink / raw)
  To: Esben Stien; +Cc: emacs-orgmode

Hi Esben,

Esben Stien <b0ef@esben-stien.name> writes:

> Any way I could do this?

You can use this in .gnus.el:

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

this way, following Gnus links will find the message-id based
on the registry, and you can safely move articles around.

-- 
 Bastien

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

* Re: gnus-summary-move-article and org-store-link
  2014-05-15  9:42 ` Bastien
@ 2014-05-18  1:34   ` Esben Stien
  0 siblings, 0 replies; 3+ messages in thread
From: Esben Stien @ 2014-05-18  1:34 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@gnu.org> writes:

> (gnus-registry-initialize)
> (setq gnus-refer-article-method '(current (nnregistry)))
>
> this way, following Gnus links will find the message-id based
> on the registry, and you can safely move articles around.

Perfect; Thanks;)

-- 
Esben Stien is b0ef@e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n

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

end of thread, other threads:[~2014-05-18  1:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 22:31 gnus-summary-move-article and org-store-link Esben Stien
2014-05-15  9:42 ` Bastien
2014-05-18  1:34   ` Esben Stien

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