Making changes by edit-type persistent

2013-01-20 Thread Suvayu Ali
Hi Mutt users, Often I receive attachments with bad MIME types (usually application/octet-stream). I have the following config to deal with these attachments: mime_lookup application/octet-stream But sometimes the attachments are files of uncommon types without entries in my ~/mime.types file

256 colors, autoview and control codes

2013-01-20 Thread Patrice Levesque
Hi. I'm happily using gentoo's mutt-1.5.21 with a 256-color terminal, mostly under tmux. My mutt colorscheme uses 256 colors and they are showed perfectly. I'd like to display image previews using unicode block characters, in the mutt pager, using somethi

Re: 256 colors, autoview and control codes

2013-01-20 Thread Stefan Wimmer
* Patrice Levesque [2013-01-20 16:33]: I'm happily using gentoo's mutt-1.5.21 with a 256-color terminal, mostly under tmux. My mutt colorscheme uses 256 colors and they are showed perfectly. I'd like to display image previews using unicode block characters, in the mutt pager, using something l

Re: Making changes by edit-type persistent

2013-01-20 Thread s. keeling
Incoming from Suvayu Ali: > Hi Mutt users, Hi yourself. Still suffering the after-effects of last night here, so this may be no help. But I'm trying! :-) > Often I receive attachments with bad MIME types (usually > application/octet-stream). I have the following config to deal with > these at

Re: 256 colors, autoview and control codes

2013-01-20 Thread Patrice Levesque
> Is your mutt compiled with ncurses or slang? I experienced that mutt > can handle ANSI code better if it's compiled with slang ... ncurses; the official gentoo ebuild does not give any compilation flag to switch between slang and ncurses (plus the gentoo patchset seems to assume ncurses is sel

Re: 256 colors, autoview and control codes

2013-01-20 Thread Stefan Wimmer
* Patrice Levesque [2013-01-20 22:14]: Is your mutt compiled with ncurses or slang? I experienced that mutt can handle ANSI code better if it's compiled with slang ... ncurses; the official gentoo ebuild does not give any compilation flag to switch between slang and ncurses (plus the gentoo pa

Re: 256 colors, autoview and control codes

2013-01-20 Thread Patrice Levesque
>>> Is your mutt compiled with ncurses or slang? I experienced that mutt >>> can handle ANSI code better if it's compiled with slang ... Unfortunately, though your ebuild works fine in other regards, the switch to slang did not fix nor help the 256-color ANSI-display issue. Thanks for trying. Sh

Re: Making changes by edit-type persistent

2013-01-20 Thread s. keeling
Incoming from Stephen Keeling: > Incoming from Suvayu Ali: > > Hi Mutt users, > > ... > > But sometimes the attachments are files of uncommon types without > > entries in my ~/mime.types file. I would like to edit the types of Dunno if it helps, but "apt-file search mime.types" produces some inte

Re: Making changes by edit-type persistent

2013-01-20 Thread Derek Martin
On Sun, Jan 20, 2013 at 10:33:27AM +0100, Suvayu Ali wrote: > But sometimes the attachments are files of uncommon types without > entries in my ~/mime.types file. I would like to edit the types of > these attachments and write it back to disk (I use Maildir) for the > future. Is that possible som