]> 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 2b73408..414f9d7 100644 (file)
@@ -275,18 +275,7 @@ composition file. Note that
 .B nmh
 will not invoke
 .B mhbuild
 .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
 .PP
 .RS 5
 .nf
index 9f0190f..284d8c5 100644 (file)
@@ -156,16 +156,6 @@ EDITOR environment variables.
 (profile, default: vi)
 .RE
 .PP
 (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
 .BR Msg\-Protect :
 600
 .RS 5
index 426795b..abd9dcb 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
 .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
 Finally, you should consider adding this line to your profile:
 .PP
 .RS 5
index c1cac4b..245d45a 100644 (file)
@@ -350,16 +350,7 @@ Note that
 .B nmh
 will not invoke
 .B mhbuild
 .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
 .PP
 .RS 5
 What now? mime
index 3d5806b..c1f735b 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>
 ^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
 ^buildmimeproc:~^Program to translate MIME composition files
 ^fileproc:~^Program to refile the message
 ^lproc:~^Program to list the contents of a message
index e67ad53..6149c12 100644 (file)
@@ -803,19 +803,6 @@ sendfile (char **arg, char *file, int pushsw)
     int i, vecp;
     char *cp, *sp, **vec, *program;
 
     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.
     /*
      * If the sendproc is the nmh command `send', then we call
      * those routines directly rather than exec'ing the command.