David Maus <dm...@ictsoc.de> writes:

> This function could work for Gnus to push the message id of a message
> to kill-ring and clipboard:

BTW, when you read messages in Gnus, you can simply call
`org-store-link', which will generate a link.  Depending on
`org-gnus-prefer-web-links' and the prefix arg, that will be a web link.

,----[ C-h f org-store-link RET ]
| org-store-link is an interactive compiled Lisp function in `org.el'.
| 
| It is bound to C-c o l.
| 
| (org-store-link ARG)
| 
| Store an org-link to the current location.
| This link is added to `org-stored-links' and can later be inserted
| into an org-buffer with C-c C-l.
| 
| For some link types, a prefix arg is interpreted:
| For links to usenet articles, arg negates `org-gnus-prefer-web-links'.
| For file links, arg negates `org-context-in-file-links'.
`----

,----[ C-h v org-gnus-prefer-web-links RET ]
| org-gnus-prefer-web-links is a variable defined in `org-gnus.el'.
| Its value is t
| 
| Documentation:
| Non-nil means `org-store-link' will create web links to Google groups.
| When nil, Gnus will be used for such links.
| Using a prefix arg to the command C-c o l (`org-store-link')
| negates this setting for the duration of the command.
| 
| You can customize this variable.
`----

Oh, the docs mention only Google groups, but it does the trick also for
Gmane.

Bye,
Tassilo


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to