<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2988: Mutt should recognize tab (width)



#2988: Mutt should recognize tab (width)

Comment (by agriffis):

 IMHO pdmef's patch is the best approach for now.  Trying to pervasively
 track absolute starting column for the sake of calculating tabstops would
 require a very invasive patch.  It should be sufficient to pretend that a
 tab will consume 8 spaces.  That means some lines might wrap *early* but
 at least they won't wrap *late*.

 Regarding Derek's suggestion to s/tab/space/g for display, sure that would
 "fix" the wrapping but it would break lots of text display, for example
 inline code with tab indentation.  pdmef's approach will allow tabs to be
 rendered correctly by the terminal.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2988#comment:6>