[prev in list] [next in list] [prev in thread] [next in thread]
List: mutt-dev
Subject: [PATCH]: patch-1.5.4.lpr.signin
From: Lukas Ruf <ruf () rawip ! org>
Date: 2003-05-26 9:14:20
[Download RAW message or body]
please find attached the
signin patch
against latest mutt 1.5.4 (cvs co mutt a couple of minutes ago).
Reading from init.h:
+ ** Create a ``signin'' setting. This will be preprended to ougoing
+ ** messages right after the header. Newlines may be included.
I make use of it with
set signin="\nHallo Du\n"
Of coure, this setting may be configured in any hook (please correct
me if I am wrong).
wbr,
Lukas
--
Lukas Ruf | Wanna know anything about raw |
<http://www.lpr.ch> | IP? <http://www.rawip.org> |
["patch-1.5.4.lpr.signin" (text/plain)]
--- mutt/PATCHES 2002-12-09 18:44:54.000000000 +0100
+++ mutt-signin/PATCHES 2003-05-26 10:55:25.000000000 +0200
@@ -0,0 +1 @@
+patch-1.5.4.lpr.signin Lukas P. Ruf <lukas.ruf@lpr.ch>
--- mutt/globals.h 2003-03-07 08:52:49.000000000 +0100
+++ mutt-signin/globals.h 2003-05-26 10:40:25.000000000 +0200
@@ -99,6 +99,7 @@
WHERE char *SendCharset;
WHERE char *Sendmail;
WHERE char *Shell;
+WHERE char *Signin;
WHERE char *Signature;
WHERE char *SimpleSearch;
WHERE char *Spoolfile;
--- mutt/init.h 2003-04-14 11:09:53.000000000 +0200
+++ mutt-signin/init.h 2003-05-26 10:43:08.000000000 +0200
@@ -2269,6 +2269,12 @@
** assumed that filename is a shell command and input should be read from
** its stdout.
*/
+ { "signin", DT_STR, R_NONE, UL &Signin, 0},
+ /*
+ ** .pp
+ ** Create a ``signin'' setting. This will be preprended to ougoing
+ ** messages right after the header. Newlines may be included.
+ */
{ "simple_search", DT_STR, R_NONE, UL &SimpleSearch, UL "~f %s | ~s %s" },
/*
** .pp
--- mutt/send.c 2003-04-14 11:09:53.000000000 +0200
+++ mutt-signin/send.c 2003-05-26 10:46:30.000000000 +0200
@@ -1223,6 +1223,8 @@
if (option (OPTHDRS))
process_user_header (msg->env);
+ if (Signin)
+ fputs(Signin, tempfp);
if (option (OPTSIGONTOP) && (! (flags & (SENDMAILX | SENDKEY)) && Editor && \
mutt_strcmp (Editor, "builtin") != 0)) append_signature (tempfp);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic