From: Nelson Jose dos Santos Ferreira <Nelson.Ferreira@inesc.pt>
Subject: Context sensitive gnus-summary-copy-article
Date: 03 Aug 1997 14:41:14 +0100 [thread overview]
Message-ID: <87n2mzqt8l.fsf@sourcebase.linux.pt> (raw)
Hi all.
How do I make 'B c' know which group to copy archives depending on the current
group ?
I guess I'll have to write a gnus-summary-njsf-copy-article which if
TO-NEWSGROUP is not present, examines either a local variable or a group
parameter (I'd like to set the default destination on the group parameters...)
and if it's set copy to there... Otherwise the behaviour is as in
gnus-summary-copy-article.
I need help writing this, I really hadn't had the time to dive in Elisp
(altough I have the desire... :) )
Is it someting like :
(defun gnus-summary-njsf-copy-article (&optional n to-newsgroup select-method)
"Use the local gnus-summary-default-copy-to variable as default for
destination of gnus-summary-njsf-copy-article."
(
(interactive "P")
(if (eq to-newsgroup nil)
(setq to-newsgroup gnus-summary-njsf-copy-article))
(gnus-summary-copy-article n to-newsgroup select-method)))
Then I'd just have to add a
(gnus-summary-njsf-copy-article . "nnfolder+archive:theArchive")
to the groups parameters.
Of course I'd have to change the bindings...
It's on gnus-summary-map right ?
Is there an easier way ?
Thanks in advance,
Nelson.
---
Nelson Jose dos Santos Ferreira | . . . | INESC/PT-SVC Lisbon,PORTUGAL
| |. / / . | PT-Servicos
mailto:Nelson.Ferreira@inesc.pt |.||\| | / | Phone:+351 (1) 3100063
http://ccae-sv.inesc.pt/~njsf | .|<:/ \. | Fax :+351 (1) 3100008
next reply other threads:[~1997-08-03 13:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-03 13:41 Nelson Jose dos Santos Ferreira [this message]
1997-08-04 9:59 ` Kai Grossjohann
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87n2mzqt8l.fsf@sourcebase.linux.pt \
--to=nelson.ferreira@inesc.pt \
/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.
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 NNTP newsgroup(s).