nmh-workers
[Top] [All Lists]

[Nmh-workers] suppressing display methods

2014-04-21 23:45:56
i've long thought that it wasn't possible for a user's local
configuration to "mask out" a display method configured in
/etc/mhn.defaults.  it turns out that this isn't true, but i can't
find any mention of the mechanism in the docs.  (my particular desire
has always been to locally disable the rendering of text/html parts,
to force display of the plain parts.)

so i'd like to apply this (or a similar) patch to all of the
appropriate man pages (i.e., mhbuild, mhshow, mhstore, mhn, mhfixmsg),
but obviously only if people think the behavior is intentional.

thoughts?  am i the last MH user to realize this is possible?

paul

diff --git a/man/mhshow.man b/man/mhshow.man
index abfcc22..e06892b 100644
--- a/man/mhshow.man
+++ b/man/mhshow.man
@@ -241,6 +241,13 @@ The result will be executed under
 \*(lq/bin/sh\*(rq, with the standard input
 set to the content.
 .PP
+If a display string is empty (i.e., the entry exists, but its value
+consists of nothing more than whitespace) then it will be treated as
+if it didn't exist at all, except that such entries found via a user's
+profile or MHSHOW environment variable will cause non-empty entries
+found in the system-installed profile (%etcdir%/mhn.defaults) to be
+ignored.
+.PP
 The display string may contain the following escapes:
 .PP
 .RS 5


----------------------
 paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 45.0 degrees)

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>