Re: sedit format command

[email protected]
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
On Fri, 06 Oct 2006 07:38:14 PDT, Rick Baartman said:
> I have a strange behavior for the sedit format command. If I invoke it on the
> first line of the body (below the 8 dashes), the text gets formatted without the
> linebreak at the end of the 8 dashes. IOW, it pops up one line. If I send it
> this way, the first line is lost since it is actually on the separator line
> between header and body. 
> 
> If I start with a line break, this doesn't happen. It's a small thing, but
> annoying after a while.

This is apparently a special case of a more general 'format' failure, where the
line preceeding a paragraph gets munched.  It *seems* to be connected to whether
or not you actually entered the newline - if you hit enter and created it,
it works OK, while a newline that was left there all by itself via other
means causes the error.  For example, I did a 'select' and 'delete' on the
text following "after a while", leaving the newline after the period.  When
I hit 'format', the newline got munched.  Going back and inserting the
newline and selecting 'format' again, it didn't get munched.

In your case, the newline after the dashes was provided by the comps file,
not your input - thus the glitch.

My guess is that there's an off-by-one error setting a 'tag' on some text,
but I've never understood tk/tcl tags well enough to hunt this one down....

_______________________________________________
Exmh-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-users
signature.asc (application/pgp-signature, 226 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQFFJnTvcC3lWbTT17ARAnt2AKDIhHj/1TMgJu2HQ3W011WiCX1hpQCg8dFU
U7mb636JG5QrcRdrlIT5stU=
=PRPy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.