nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] repl -annotate

2005-12-12 12:17:38
Dear Workers,

According to the archives, this bug was reported early in
2004, but I haven't seen a response.

The very useful '-' in a scan listing (as a result of repl
-annotate) doesn't appear using the newer NMH versions.  It
works on nmh-1.0.4-18, but not on nmh-1.1-11.fc3.

Is someone working on it?

I have discovered the problem here, but I need someone who understand the
newish attachment handling bits.  I can find no documentation on how the
new attachment handling works and don't with to break anything with this
patch.

diff -a -u -r1.6 sendsbr.c
--- sendsbr.c   12 Oct 2004 20:41:34 -0000      1.6
+++ sendsbr.c   12 Dec 2005 14:39:04 -0000
@@ -1020,7 +1020,7 @@
        if (is_selected(mp, msgnum)) {
            if (debugsw)
                advise (NULL, "annotate message %d", msgnum);
-           annotate (m_name (msgnum), annotext, cp, inplace, 1, -1, 0);
+           annotate (m_name (msgnum), annotext, cp, inplace, 1, -2, 0);
        }
     }

It would seem the overloading of annotate() seems to be the problem here.
Can someone who understands the header attachment bits comment on this, and
possibly point me at some docs?

Thanks.

-- 
    JB


_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

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