Re: [Nmh-workers] Help! Beginning of Messages snipped off

2014-11-22 Thread norm
Ken Hornstein  writes:

>
>I will note preSend contains a bunch of NUL characters on the last line;
>we probably do poorly with that (and are not valid in email).
>

In the unlikely event that anybody cares, the nuls were inserted by a bug in
norms-cool-editor. The bug was exercised by a script I wrote, to convert
quotedPrintable. As it happens, no other script exercised that bug.

Again, thank you your help.

Norman Shapiro

___
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers


Re: [Nmh-workers] Help! Beginning of Messages snipped off

2014-11-20 Thread norm
Ken Hornstein  writes:
>>I am having a problem with one one particular correspondent. When I reply
>>to his messages, the beginning of the body of my messages is snipped off.
>>
>>As an example, I am attaching:
>>
>>[...]
>>  preSend: My draft before I sent it.
>>  afterSend: What get sent
>
>These two ... do not seem to line up?  Specifically, "afterSend" contains
>lines that do not appear in preSend:
>
>This is line 4 of my reply.
>This is line 5 of my reply.
>
>I'm willing to believe we might be eating lines somewhere, but I have a
>hard time believing we're inserting them :-)

Obviously I was somehow confused. I don't know how.

>I will note preSend contains a bunch of NUL characters on the last line;
>we probably do poorly with that (and are not valid in email).

Yes, they were the culprit. When I get rid of them. All works. Thank
you very much, indeed.

They got inserted as part of a kludge I use to deal with replies, when
the message I am replying to has quotedPrintable.


Norman Shapiro

___
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers


Re: [Nmh-workers] Help! Beginning of Messages snipped off

2014-11-20 Thread Ken Hornstein
>I am having a problem with one one particular correspondent. When I reply
>to his messages, the beginning of the body of my messages is snipped off.
>
>As an example, I am attaching:
>
>[...]
>   preSend: My draft before I sent it.
>   afterSend: What get sent

These two ... do not seem to line up?  Specifically, "afterSend" contains
lines that do not appear in preSend:

This is line 4 of my reply.
This is line 5 of my reply.

I'm willing to believe we might be eating lines somewhere, but I have a
hard time believing we're inserting them :-)

I will note preSend contains a bunch of NUL characters on the last line;
we probably do poorly with that (and are not valid in email).  Also,
there seems to be some character set conversion that happened along the
way; the outgoing draft (preSend) looks like it's in windows-1252 rather
than the final message which is in UTF-8. mhbuild won't do that (it
assumes the character set is correct) so I think something else had it's
hands on "preSend" before nmh's "send" got ahold of it.

--Ken

___
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers


[Nmh-workers] Help! Beginning of Messages snipped off

2014-11-20 Thread norm
I am having a problem with one one particular correspondent. When I reply
to his messages, the beginning of the body of my messages is snipped off.

As an example, I am attaching:

messageRepliedTo: The test message I replied to.
preSend: My draft before I sent it.
afterSend: What get sent
.mh_profile my mh_profile

Although I used norms-cool-editor to prepare the draft, I do not believe
that it touched the draft between preSend and afterSend.

Norman Shapiro
--- Begin Message ---
 of my reply.
This is line 3 of my reply.
This is line 4 of my reply.
This is line 5 of my reply.

"Jeff Rothenberg"  writes:
>This message has been generated using Apple’s Mail program, Version 7.3
>(1878.6), under Mac OS-X 10.9.5. Since the Mail program apparently uses a
>non-ASCII apostrophe, I include one above as the possessive “Apple” as well
>as open & close single quotes (here surrounding ‘single quotes’) and open &
>close double quotes (here surrounding "double quotes”). 
Norman Shapiro
--- End Message ---
Replied: Thu, 20 Nov 2014 08:32:51 -0800
Replied: "Jeff Rothenberg" 
Replied: n...@dad.org
Return-Path: 
X-Original-To: norm@localhost
Delivered-To: n...@localhost.dad.org
Received: from lad.dad.org (localhost [IPv6:::1])
	by lad.dad.org (Postfix) with ESMTP id 98A7F612C4
	for ; Thu, 20 Nov 2014 08:22:02 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.rawbw.com
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_HELO_PASS,SPF_SOFTFAIL
	autolearn=disabled version=3.3.1
Received: from imap.rawbw.com [198.144.192.43]
	by lad.dad.org with IMAP (fetchmail-6.3.17)
	for  (single-drop); Thu, 20 Nov 2014 08:22:05 -0800 (PST)
Received: from ns2.adzone.com (ns2.adzone.com [96.247.50.174])
	by mail1.rawbw.com (8.14.2/8.14.2) with ESMTP id sAKGJVfF062015
	for ; Thu, 20 Nov 2014 08:19:36 -0800 (PST)
	(envelope-from SRS0+OFbw+14+acm.org=jeff_rothenb...@4securemail.com)
Received: from mail.4securemail.com (mail.4securemail.com [64.34.211.28])
	by ns2.adzone.com (8.14.4/8.14.5) with ESMTP id sAKGJ4vQ021240
	for ; Thu, 20 Nov 2014 08:19:05 -0800
From: "Jeff Rothenberg" 
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Subject: Example message to test Reply truncation bug
Date: Thu, 20 Nov 2014 08:19:18 -0800
Message-Id: <0a79c4c8-4f12-424a-a841-b5a5c38a5...@acm.org>
Cc: Jeff Rothenberg 
To: Norman Shapiro 
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)

This message has been generated using Apple=92s Mail program, Version =
7.3 (1878.6),
under Mac OS-X 10.9.5.  Since the Mail program apparently uses a =
non-ASCII
apostrophe, I include one above as the possessive =93Apple=94 as well as =
open & close
single quotes (here surrounding =91single quotes=92) and open & close =
double quotes
(here surrounding "double quotes=94).=


preSend
Description: preSend
MH-Profile-Version: 1.0
Path: Mail
editor: neo
Aliasfile: aliases
repl:  -filter cite -nocc me -cc to -cc cc -anno
#: repl:  -nocc me -cc to -cc cc -anno
#: formatproc: /home/norm/lib/replyfilter
mhstore: -auto -clobber ask
nmh-storage: /t/Mime
sortm: -check -noall
Draft-folder: wind
send: -draftfolder +wind  -server smtp.tsoft.com
#:
#: All sequences are private, i.e. recorded in context
mh-sequences:
#:
Sequence-Negation: not
unseen-sequence: unseen
#:
#postproc:  /usr/local/nmh/lib/post
mhl: -width 1000
moreproc: mhless
mhshow-show-text/html:  google-chrome && google-chrome %F && sleep 4
refile: -retainsequences
Alternate-Mailboxes:
   acte...@dad.org, americanhomeshi...@dad.org, cleanersup...@dad.org,
   staroff...@dad.org, thinkm...@dad.org, u...@dad.org, westernun...@dad.org,
   yout...@dad.org, ama...@dad.org, a...@dad.org, associated...@dad.org,
   beansh...@dad.org, brownad...@dad.org, c...@dad.org, d...@dad.org,
   et...@dad.org, exab...@dad.org, firecrac...@dad.org, fl...@dad.org,
   goo...@dad.org, h...@dad.org, installshi...@dad.org, i...@dad.org,
   kitc...@dad.org, kitchen...@dad.org, la...@dad.org, networkwo...@dad.org,
   n...@dad.dad.org, n...@dad.org, n...@gad.dad.org, n...@smtp.rawbw.com,
   o...@dad.org, og...@dad.org, p...@dad.org, rbl...@dad.org, red...@dad.org,
   rei...@dad.org, safe...@dad.org, s...@dad.org, s...@tsoft.com,
   sourcefo...@dad.org, spamassas...@dad.org, t...@dad.org, ubta...@dad.org,
   v...@dad.org, walgre...@dad.org, weat...@dad.org, wellsfa...@dad.org,
   your...@dad.org, empowe...@dad.org
___
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers