Copying text from Mutt viewer also copies trailing space

Vegard Svanberg vegard at svanberg.no
Fri Jan 18 11:02:36 UTC 2019


* mutt at raf.org <mutt at raf.org> [2019-01-02 05:37]:

> > > 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.
> 
> for me it happens when mutt is in tmux or screen in xterm,
> pasting into gvim.
[snip]

Thanks for the useful feedback! I use gnome-terminal at the moment so I
don't have that option, however hunting around the web with my
Go(o)g(g)les on, I found this:

https://mutt-users.mutt.narkive.com/Qw2cfXkS/mutt-gnome-terminal-and-whitespace-fill-issue

So seems this has been discussed before and that it has to do with the
way Mutt sets the background colour, or something like that.

There was a suggestion in there to #undef HAVE_BKGDSET in config.h, but
that didn't make any difference for me. There was also a reference to
the ol' trac at dev.mutt.org, but that site isn't online anymore.

Anyway, will keep hunting - at least this thread confirms I'm not alone. :)

-- 
Vegard Svanberg <vegard at svanberg.no> [*Takapa at IRC (EFnet)]



More information about the Mutt-users mailing list