Copying text from Mutt viewer also copies trailing space

Felix Finch felix at crowfix.com
Wed Jan 2 00:01:43 UTC 2019


I just used X select to select two lines from your message, running inside tmux, and paste them into emacs.  It pasted in the two lines with no extraneous spaces on either line.  The selection highlighted the full width of both lines, 210 columns.  I don't know what I am doing differently, but there are no extraneous spaces for me.

On 20190101, Vegard Svanberg wrote:
> Hi,
> 
> Happy New Year!
> 
> I have a problem that's been bugging me for years:
> 
> Let's say the terminal window is appr. 120 characters wide. The email
> I'm reading is ~80 chars wide. In other words, columns 80-120 are blank.
> 
> When I copy text from Mutt into whatever else (vim, text editor, browser
> textarea... doesn't matter), the paste includes the (trailing) spaces
> (\s) from column 80-120, so I have to manually remove them.
> 
> This seems to only happen when I run Mutt inside screen or tmux.
> However, I use screen/tmux extensively and I only observe this
> phenomenon inside the Mutt viewer.
> 
> If I, say, edit the email so it opens in vim (like esc-e or hitting
> reply), this does not occur.
> 
> How can I find out what causes this and (more importantly) fix it?

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & wood chipper / felix at crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o


More information about the Mutt-users mailing list