From: "Georg C. F. Greve" <greve@fsfeurope.org>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Integration of Org mode and Gnus
Date: Wed, 18 Jul 2007 14:25:05 +0200 [thread overview]
Message-ID: <m3ir8hc31a.fsf@cerebro.fsfeurope.org> (raw)
In-Reply-To: <87ps2qexjh.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Wed, 18 Jul 2007 13:55:30 +0200")
[-- Attachment #1.1: Type: text/plain, Size: 1953 bytes --]
On Wed, 18 Jul 2007 13:55:30 +0200
Tassilo Horn <tassilo@member.fsf.org> wrote:
>> Although I think the function supports moving several marked
>> articles, so the return value should technically be a list.
th> As far as I can see it can only move several articles to exactly
th> one group.
Yes, exactly.
>> If you could do that and submit it back to Gnus, that would be
>> great.
th> I just found out that this is not needed. You can use the
th> `gnus-summary-article-move-hook'. Each function of that hook will
th> be run with the arguments
th> - action: move/copy/respool/crosspost
th> - Some data vector, dunno its use...
th> - original group
th> - destination group
th> - select method
th> So you could write a delegate function that first add-hooks a
th> function that sets a custom variable to the destination group. Then
th> it calls `gnus-summary-move-article'. When that returns you can
th> create the org-link and remove the function from the hook again.
I think I don't quite understand how this solves the problem.
This sounds like I should set the target group dynamically in the hook
when moving the article. But I can determine the group simply by calling
(gnus-summary-move-article nil "<GROUP>")
So I know which group the articles end up in, but I don't know which
article number they got in that group -- but that is the basic
prerequisite to be able to link to them.
I'm sorry to ask a question that may be stupid, but how would I get the
article number(s) of the message(s) that have been moved by doing the
above?
Regards,
Georg
--
Georg C. F. Greve <greve@fsfeurope.org>
Free Software Foundation Europe (http://fsfeurope.org)
Join the Fellowship and protect your freedom! (http://www.fsfe.org)
What everyone should know about DRM (http://DRM.info)
[-- Attachment #1.2: Type: application/pgp-signature, Size: 306 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2007-07-18 12:25 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-17 19:22 Integration of Org mode and Gnus Georg C. F. Greve
2007-07-18 0:22 ` Jason F. McBrayer
2007-07-18 8:03 ` Georg C. F. Greve
2007-07-18 10:04 ` Bastien
2007-07-18 10:29 ` Georg C. F. Greve
2007-07-20 16:08 ` Integration of Org mode and mairix (was: ... and Gnus) Adam Spiers
2007-07-22 23:15 ` Integration of Org mode and mairix Georg C. F. Greve
2007-07-23 2:24 ` Is it any function similar to appoinment alert in the planner mode? brianjiang
2007-07-23 12:38 ` Bernt Hansen
2007-07-25 19:15 ` Bastien Guerry
2007-07-26 7:23 ` Bastien
2007-07-27 5:17 ` brianjiang
2007-08-07 0:05 ` Bastien
2007-08-07 17:13 ` Bastien
2007-08-21 2:37 ` william
2007-07-24 14:38 ` Integration of Org mode and mairix Bastien
2007-07-30 14:02 ` Georg C. F. Greve
2007-07-30 16:02 ` Bastien
2007-07-30 16:31 ` Leo
2007-07-30 17:26 ` Bastien
2007-08-05 1:32 ` Xiao-Yong Jin
2007-07-31 15:52 ` Jason F. McBrayer
2007-07-31 16:56 ` Xiao-Yong Jin
2007-07-31 17:19 ` Georg C. F. Greve
2007-08-05 1:40 ` Xiao-Yong Jin
2007-07-31 18:43 ` Bastien
2007-08-01 14:52 ` Jason F. McBrayer
2007-08-01 16:59 ` Bastien
2007-08-05 1:44 ` Xiao-Yong Jin
2007-08-05 10:20 ` Georg C. F. Greve
2007-08-07 17:54 ` Bastien
2007-08-10 6:56 ` Carsten Dominik
2007-08-14 11:29 ` Adam Spiers
2007-08-15 17:46 ` Carsten Dominik
2007-08-21 12:38 ` Carsten Dominik
2007-08-14 22:54 ` Steven Lumos
2007-08-15 17:46 ` Carsten Dominik
2007-08-16 18:48 ` Steven Lumos
2007-09-23 15:44 ` Georg C. F. Greve
2007-09-23 18:12 ` Carsten Dominik
2007-09-23 21:50 ` Georg C. F. Greve
2007-09-23 22:05 ` Carsten Dominik
2007-09-24 17:38 ` Georg C. F. Greve
2007-09-25 14:41 ` Carsten Dominik
2007-09-25 22:25 ` Georg C. F. Greve
2007-09-25 22:38 ` Carsten Dominik
2007-07-18 11:04 ` Integration of Org mode and Gnus Jason F. McBrayer
2007-07-18 12:01 ` Bastien
2007-07-18 12:57 ` Jason F. McBrayer
2007-07-18 13:08 ` Georg C. F. Greve
2007-07-18 15:39 ` Bastien
2007-07-18 19:39 ` Georg C. F. Greve
2007-07-18 22:06 ` Bastien
2007-07-19 15:29 ` Georg C. F. Greve
2007-07-18 21:54 ` Carsten Dominik
2007-07-19 15:41 ` Bastien
2007-07-18 10:20 ` Tassilo Horn
2007-07-18 10:35 ` Georg C. F. Greve
2007-07-18 11:55 ` Tassilo Horn
2007-07-18 12:25 ` Georg C. F. Greve [this message]
2007-07-18 12:54 ` Tassilo Horn
2007-07-18 13:18 ` Georg C. F. Greve
2007-07-18 13:32 ` Tassilo Horn
2007-07-18 0:55 ` Bastien
2007-07-18 7:53 ` Georg C. F. Greve
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=m3ir8hc31a.fsf@cerebro.fsfeurope.org \
--to=greve@fsfeurope.org \
--cc=emacs-orgmode@gnu.org \
--cc=tassilo@member.fsf.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).