* What's the prefix of message-send used for?
@ 2011-10-08 4:24 XeCycle
0 siblings, 0 replies; 2+ messages in thread
From: XeCycle @ 2011-10-08 4:24 UTC (permalink / raw)
To: info-gnus-english
[-- Attachment #1.1: Type: text/plain, Size: 647 bytes --]
Hello, I want to write a wrapper to call `message-send-and-exit', and
I'm confused how should I deal with that &optional arg.
Indeed I wanted a better way of signing my messages, and came up with
this idea: C-c C-c to send a signed message, and C-u C-c C-c to send an
unsigned message. However I don't know if this conflicts with any Gnus
feature, and the &optional arg is not fully documented. Is it used for
something? If so how should I pass the arg to it?
--
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
[-- Attachment #1.2: Type: application/pgp-signature, Size: 489 bytes --]
[-- Attachment #2: Type: text/plain, Size: 162 bytes --]
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: What's the prefix of message-send used for?
[not found] <mailman.5575.1318047907.939.info-gnus-english@gnu.org>
@ 2011-11-03 21:35 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-11-03 21:35 UTC (permalink / raw)
To: XeCycle; +Cc: info-gnus-english
XeCycle <xecycle@gmail.com> writes:
> Hello, I want to write a wrapper to call `message-send-and-exit', and
> I'm confused how should I deal with that &optional arg.
>
> Indeed I wanted a better way of signing my messages, and came up with
> this idea: C-c C-c to send a signed message, and C-u C-c C-c to send an
> unsigned message. However I don't know if this conflicts with any Gnus
> feature, and the &optional arg is not fully documented. Is it used for
> something? If so how should I pass the arg to it?
I've now added a doc string to that function.
You can pass &optional args to functions just like you would any other.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-03 21:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-08 4:24 What's the prefix of message-send used for? XeCycle
[not found] <mailman.5575.1318047907.939.info-gnus-english@gnu.org>
2011-11-03 21:35 ` Lars Magne Ingebrigtsen
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).