nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] mhshow display bug


From: Ken Hornstein
Subject: Re: [Nmh-workers] mhshow display bug
Date: Sat, 12 Apr 2014 23:59:21 -0400

>OK, I can reproduce it now.  "%%l" obviously works in the common case
>but I don't if it should be changed all the time, or not used when
>there's a ct->c_termproc, i.e.,
>
>    if (concatsw  &&  ! ct->c_termproc)
>
>Or if parse_display_string() show look for the empty buffer when
>appending c_termproc?  (Definitely my last choice.)

Okay, I think I understand the problem now.

With -concat, it's assumed that things aren't going to do their own
pagination (like I said earlier, the interface here is sort-of changed)
So defaulting back to "%lmoreproc" seems wrong if -concat is set but
c_termproc is also set.  But how about:

if (concatsw)
   if (ct->c_termproc)
        buffer = "%lcat"
   else
        buffer = "%l"
else
   ...

Seem reasonable?

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]