Wrapping on internal pager

2010-04-11 Thread Camaleón
Hello, I am having troubles for displaying messages with long lines in Mutt (1.5.18). They get wrapped, yes, but in strange manner. For example: *** Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod +tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veni

Re: Wrapping on internal pager

2010-04-11 Thread Patrick Shanahan
* Camaleón [04-11-10 08:18]: > Hello, > > I am having troubles for displaying messages with long lines in Mutt > (1.5.18). They get wrapped, yes, but in strange manner. > > For example: > > *** > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod > +tempor incididunt ut la

Re: Wrapping on internal pager

2010-04-11 Thread Camaleón
On Sun, 11 Apr 2010 09:11:21 -0400, Patrick Shanahan wrote: > * Camaleón [04-11-10 08:18]: >> I am having troubles for displaying messages with long lines in Mutt >> (1.5.18). They get wrapped, yes, but in strange manner. >> >> For example: >> >> *** >> Lorem ipsum dolor sit amet, consectetur

Re: Wrapping on internal pager

2010-04-11 Thread Michael Ludwig
Camaleón schrieb am 11.04.2010 um 13:22:52 (+): > On Sun, 11 Apr 2010 09:11:21 -0400, Patrick Shanahan wrote: > > in ~/.muttrc > > unset markers > > > > note that proper syntax may be: > > set markers=no > > That just removes the "+" (plus) mark, but the text wrapping is still > badly format

Re: Wrapping on internal pager

2010-04-11 Thread Camaleón
On Sun, 11 Apr 2010 15:59:03 +0200, Michael Ludwig wrote: > Camaleón schrieb am 11.04.2010 um 13:22:52 (+): >> On Sun, 11 Apr 2010 09:11:21 -0400, Patrick Shanahan wrote: > >> > in ~/.muttrc >> > unset markers >> > >> > note that proper syntax may be: >> > set markers=no >> >> That just rem

Re: Wrapping on internal pager

2010-04-11 Thread Michael Ludwig
Camaleón schrieb am 11.04.2010 um 14:14:34 (+): > I tested with: > > *** > set smart_wrap > set wrapmargin = 2 > *** > > And also: > > *** > set wrapmargin = 2 > *** > > But still get broken lines at the middle of the text. Then the text has line breaks in the middle. Mutt can't know that

Re: Wrapping on internal pager

2010-04-11 Thread Camaleón
On Sun, 11 Apr 2010 16:38:02 +0200, Michael Ludwig wrote: > Camaleón schrieb am 11.04.2010 um 14:14:34 (+): > >> I tested with: >> >> *** >> set smart_wrap >> set wrapmargin = 2 >> *** >> >> And also: >> >> *** >> set wrapmargin = 2 >> *** >> >> But still get broken lines at the middle of

Re: Wrapping on internal pager

2010-04-11 Thread Michael Ludwig
Camaleón schrieb am 11.04.2010 um 14:53:51 (+): > On Sun, 11 Apr 2010 16:38:02 +0200, Michael Ludwig wrote: > > Then the text has line breaks in the middle. > > The funny thing is that not. I also thought that something in the code > could be the culprit of this mess but reviewing the code o

Re: Wrapping on internal pager

2010-04-11 Thread Camaleón
On Sun, 11 Apr 2010 17:11:10 +0200, Michael Ludwig wrote: > Camaleón schrieb am 11.04.2010 um 14:53:51 (+): (...) >> But, how the viewer can mix/interact with the pager? Is that possible? >> I thought they were two separate settings (one for editing new messages >> and one for displaying mes

Re: Wrapping on internal pager

2010-04-11 Thread Tim Gray
On Apr 11, 2010 at 12:16 PM +, Camaleón wrote: I am having troubles for displaying messages with long lines in Mutt (1.5.18). They get wrapped, yes, but in strange manner. Sounds like a problem of the formatting of the underlying text. Don't hard wrap in your text editor and mutt should d

Re: Wrapping on internal pager

2010-04-11 Thread Camaleón
On Sun, 11 Apr 2010 12:14:18 -0400, Tim Gray wrote: > On Apr 11, 2010 at 12:16 PM +, Camaleón wrote: >> I am having troubles for displaying messages with long lines in Mutt >> (1.5.18). They get wrapped, yes, but in strange manner. > > Sounds like a problem of the formatting of the underlying

Re: Wrapping on internal pager

2010-04-11 Thread Michael Ludwig
Camaleón schrieb am 11.04.2010 um 17:17:51 (+): > I get an unusable pager *but* long lines do not wrap. So I think the > problem relies in built-in pager, not editor :-? Is it just one message that's broken? Or is it a general problem affecting every message? You could save the message to an

Re: Wrapping on internal pager

2010-04-11 Thread Paul
On Sun, Apr 11, 2010 at 12:16:30PM +, Camaleón wrote: I am having troubles for displaying messages with long lines in Mutt (1.5.18). They get wrapped, yes, but in strange manner. wrapmargin is deprecated in 1.5.18. Try setting wrap to -1. You may have to re-view the email if you change the

Re: Wrapping on internal pager

2010-04-11 Thread Camaleón
On Sun, 11 Apr 2010 19:33:21 +0200, Michael Ludwig wrote: On Sun, 11 Apr 2010 19:33:21 +0200, Michael Ludwig wrote: > Camaleón schrieb am 11.04.2010 um 17:17:51 (+): > >> I get an unusable pager *but* long lines do not wrap. So I think the >> problem relies in built-in pager, not editor :-?

Re: Wrapping on internal pager

2010-04-11 Thread Charlie Kester
On Sun 11 Apr 2010 at 05:16:30 PDT Camale?n wrote: Note 3: I've noted this behaviour happens when e-mail comes from Yahoo! webmail service and Thunderbird. Does not happen when e-mail comes from another MUA (Kmail, Alpine...). From other things you've said I would guess not, but just to confir

Re: Wrapping on internal pager

2010-04-11 Thread Tim Gray
On Apr 11, 2010 at 06:17 PM +, Camaleón wrote: Only some! That is what makes me puzzle :-) E-mails coming from Kmail, Alpine or even Gmail webmail (text based format) are fine, they wrap as they should. I have problems with Yahoo! webmail e-mails and Thunderbird (also tested with Outlook an

Re: Wrapping on internal pager

2010-04-11 Thread Michael Elkins
On Sun, Apr 11, 2010 at 06:17:24PM +, Camaleón wrote: > - Image sample of failing e-mail (it will be auto-deleted in 7 days): > http://picpaste.com/20100411_mutt_pager_wrapping.png > > - Raw code sample of failing e-mail (it will be auto-deleted in 1 day): > http://pastebin.com/4t4kPSrh > > (

Re: Wrapping on internal pager

2010-04-11 Thread Camaleón
On Sun, 11 Apr 2010 14:29:58 -0400, Tim Gray wrote: > On Apr 11, 2010 at 06:17 PM +, Camaleón wrote: >> Only some! That is what makes me puzzle :-) >> >> E-mails coming from Kmail, Alpine or even Gmail webmail (text based >> format) are fine, they wrap as they should. >> >> I have problems wit

Re: Wrapping on internal pager

2010-04-11 Thread Camaleón
On Sun, 11 Apr 2010 11:32:11 -0700, Michael Elkins wrote: > On Sun, Apr 11, 2010 at 06:17:24PM +, Camaleón wrote: >> - Image sample of failing e-mail (it will be auto-deleted in 7 days): >> http://picpaste.com/20100411_mutt_pager_wrapping.png >> >> - Raw code sample of failing e-mail (it will

Re: Wrapping on internal pager

2010-04-11 Thread Michael Ludwig
Camaleón schrieb am 11.04.2010 um 18:17:24 (+): > Nothing! The e-mail is clean. Just a bunch of text words, nothing in > between, no rare characters. So all is well. > - Image sample of failing e-mail (it will be auto-deleted in 7 days): > http://picpaste.com/20100411_mutt_pager_wrapping.png

Re: Wrapping on internal pager

2010-04-11 Thread Michael Elkins
On Sun, Apr 11, 2010 at 06:57:04PM +, Camaleón wrote: > I would expect the text auto-wraps to fit the terminal windows, with no > marks indicating the break line at all. > > That was a test sample I made for you to view the problem. The real > problem is that I get that same behaviour from st

Re: Wrapping on internal pager

2010-04-12 Thread Camaleón
On Sun, 11 Apr 2010 17:24:30 -0700, Michael Elkins wrote: > On Sun, Apr 11, 2010 at 06:57:04PM +, Camaleón wrote: (...) >> But the message indeed was set to use "format=flowed" as seen in the >> code sample I sent before. > > In that example there was nowhere to break the line because there

Re: Wrapping on internal pager

2010-04-12 Thread Nicolas Williams
On Sun, Apr 11, 2010 at 06:17:24PM +, Camaleón wrote: > - Image sample of failing e-mail (it will be auto-deleted in 7 days): > http://picpaste.com/20100411_mutt_pager_wrapping.png > > - Raw code sample of failing e-mail (it will be auto-deleted in 1 day): > http://pastebin.com/4t4kPSrh (For

Re: Wrapping on internal pager

2010-04-12 Thread Brian Ryans
Quoting Camaleón on 2010-04-11 09:53:51: > Or you mean I can setup the pager to use Vim as internal source? You can use vim as your pager. This [1] is a script to use vim as a pager. It essentially emulates 'less', but has vim's highlighting. May be what you're looking for, from what I'm reading.