]> diplodocus.org Git - nmh/commitdiff
Remove automimeproc functionality; it's redundant now.
authorKen Hornstein <kenh@pobox.com>
Thu, 23 Jan 2014 05:32:18 +0000 (00:32 -0500)
committerKen Hornstein <kenh@pobox.com>
Thu, 23 Jan 2014 05:32:18 +0000 (00:32 -0500)
man/forw.man
man/mh-profile.man
man/mhbuild.man
man/repl.man
man/whatnow.man
uip/whatnowsbr.c

index 2b73408a5a542745064494a3c234bdd606fe9f87..414f9d7d6dea6c0edb893b28f972902620a27c02 100644 (file)
@@ -275,18 +275,7 @@ composition file. Note that
 .B nmh
 will not invoke
 .B mhbuild
-automatically, unless you
-add this line to your
-.I \&.mh\(ruprofile
-file:
-.PP
-.RS 5
-.nf
-automimeproc: 1
-.fi
-.RE
-.PP
-Otherwise, you must specifically give the command
+automatically; you must specifically give the command
 .PP
 .RS 5
 .nf
index 9f0190f56d89b06adbc64a90da324d6c5e214eb9..284d8c57113abce6a50a39e699e72e61d500030e 100644 (file)
@@ -156,16 +156,6 @@ EDITOR environment variables.
 (profile, default: vi)
 .RE
 .PP
-.BR automimeproc :
-.RS 5
-If defined and set to 1, then the
-.B whatnow
-program will automatically
-invoke the buildmimeproc (discussed below) to process each message as a MIME
-composition draft before it is sent.
-(profile, no default)
-.RE
-.PP
 .BR Msg\-Protect :
 600
 .RS 5
index 426795bf59a739f760e6a89b425150cf5b816315..abd9dcbca88cb0caeb3fe8c9a08877f38fbe44fb 100644 (file)
@@ -555,20 +555,6 @@ switch will cause
 .B mhbuild
 to exit without error if the input file already has valid MIME headers.
 .PP
-It is also possible to have the
-.B whatnow
-program invoke
-.B mhbuild
-automatically when a message is sent.  To do this, you must add the line
-.PP
-.RS 5
-automimeproc: 1
-.RE
-.PP
-to your
-.I \&.mh\(ruprofile
-file.
-.PP
 Finally, you should consider adding this line to your profile:
 .PP
 .RS 5
index c1cac4bfe8c73526ea9db176dd1f2daa2a369baa..245d45aeb68cf8b94f61bbca7c5f085b412a4747 100644 (file)
@@ -350,16 +350,7 @@ Note that
 .B nmh
 will not invoke
 .B mhbuild
-automatically, unless you
-add this line to your
-.I \&.mh\(ruprofile
-file:
-.PP
-.RS 5
-automimeproc: 1
-.RE
-.PP
-Otherwise, you must specifically give the command
+automatically; you must specifically give the command
 .PP
 .RS 5
 What now? mime
index 3d5806bf1916e5c1b2a096cf2faa048d5f950468..c1f735b9fec144d31cdeb2b310e87c2b3752515b 100644 (file)
@@ -225,9 +225,6 @@ commands for managing MIME attachments.
 ^Editor:~^To override the default editor
 ^<lasteditor>\-next:~^To name an editor to be used after exit
 ^~^from <lasteditor>
-^automimeproc:~^If value is 1, and the draft is a MIME
-^~^composition file, then automatically call
-^~^buildmimeproc prior to sending.
 ^buildmimeproc:~^Program to translate MIME composition files
 ^fileproc:~^Program to refile the message
 ^lproc:~^Program to list the contents of a message
index e67ad53a97abe8fcfc91e1b5fd136a6d96b21be8..6149c125f57d379e8f8f03e421068b459d8645a8 100644 (file)
@@ -803,19 +803,6 @@ sendfile (char **arg, char *file, int pushsw)
     int i, vecp;
     char *cp, *sp, **vec, *program;
 
-    /* Translate MIME composition file, if necessary */
-    if ((cp = context_find ("automimeproc"))
-           && (!strcmp (cp, "1"))
-           && check_draft (file)
-           && (buildfile (NULL, file) == NOTOK))
-       return 0;
-
-    /* For backwards compatibility */
-    if ((cp = context_find ("automhnproc"))
-           && check_draft (file)
-           && (i = editfile (&cp, NULL, file, NOUSE, NULL, NULL, NULL, 0, 0)))
-       return 0;
-
     /*
      * If the sendproc is the nmh command `send', then we call
      * those routines directly rather than exec'ing the command.