[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Integration of Org mode and Gnus

From: Tassilo Horn
Subject: [Orgmode] Re: Integration of Org mode and Gnus
Date: Wed, 18 Jul 2007 13:55:30 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

"Georg C. F. Greve" <address@hidden> writes:

Hi Georg,

>  th> Would that help?
> Yes, I think so.
> Although I think the function supports moving several marked articles,
> so the return value should technically be a list.

As far as I can see it can only move several articles to exactly one

>  th> This could be implemented very easy.
> If you could do that and submit it back to Gnus, that would be great.

I just found out that this is not needed. You can use the
`gnus-summary-article-move-hook'. Each function of that hook will be run
with the arguments

    - action: move/copy/respool/crosspost
    - Some data vector, dunno its use...
    - original group
    - destination group
    - select method

So you could write a delegate function that first add-hooks a function
that sets a custom variable to the destination group. Then it calls
`gnus-summary-move-article'. When that returns you can create the
org-link and remove the function from the hook again.

No person,  no idea, and no  religion deserves to be  illegal to insult,
not even the Church of Emacs. (Richard M. Stallman)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]