Jim Henderson posted on Tue, 11 Jun 2024 15:40:54 -0000 (UTC) as
excerpted:

> On Tue, 11 Jun 2024 00:19:26 -0000 (UTC), David Chmelik wrote:
> 
>> On each, pan2 removed my newlines and messed up formatting.
> 
> Press 'w' when viewing it to turn off line wrapping.  You'll likely find
> that it is formatted correctly.
> 
> The line wrapping mechanism when viewing posts treats a single newline
> as something that can be wrapped with the previous line, for some
> reason.
> 
> A double newline will show it just fine, as will viewing the posts with
> line wrap turned off.

[Addressing Dave]

Expanding on that...

At least your post here had the lists formatted one item per line, and I 
imagine it was the same on the alt list post.

What you're seeing is pan's display with wrap turned on.  Turn it off and 
it should display as sent.

There's a reason there's a hotkey for the wrap-toggle, as one post might 
have real long raw lines that need wrapped, while the next might have a 
list or computer code or something that needs verbatim line-formated.  
Then of course there's the posts that have both in one post!

Some other clients may wrap differently too, but the double-line (so one 
blank), should always force display on a new line, on any (normal, I'm 
sure there's abnormal exceptions, maybe special-purpose clients of some 
sort) client, regardless of its idiosyncrasies.  So when posting a list if 
the context allows it I'll often double-space it, just to be sure each 
item gets its own line.  Then I'll triple-space (so two blank lines) after 
the list, and before it too if I'm not introducing it with a colon or the 
like.  Similarly, when I'm dealing with several multi-paragraph subjects, 
I'll often single-blank between paragraphs then double-blank between 
subjects (where one might use "meanwhile..." to indicate the subject 
change... as I'm about to do here).


Meanwhile, it's worth noting that should you ever want to see the "raw" 
(aka "line format") of a message  (yours or others), the "manual" method 
is:

1) Hit "view headers" and note the content of the Message-ID header.

2) Look in pan's "article-cache" subdir for a file with that message-id as 
a file name (with special characters legal in message-ids that may not be 
legal in filenames, depending on your filesystem, escaped) and the msg 
extension suffixed.

3) Open that file in your preferred text editor.


I *believe* you get the same thing using pan's save-article... as text... 
option, then opening the result in your text editor, at least if it's a 
single-segment article.  That is, I /think/ pan simply copies the cached 
file to wherever you're saving the text, but I've never actually verified 
that, either by direct comparison or by actually reading pan's source code 
to see. 

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to