On Tue, Mar 13, 2018 at 02:20:19PM +0000, David Woodfall wrote: > I have a couple of binds to change charset between UTF-8/ISO-8859-1. > The problem is that I need to exit from the pager and then reopen the > message to see the changes, so I added those commands to the macro, > which works fine. > > However, this doesn't work in the index, so is there a way to redraw > the screen after a charset change? I don't see anything in the manual > about it.
I think the mailbox may need to be reopened for mutt to reprocess the headers, because they are stored in memory. In version 1.8.0 and higher, the <mark-message> function can be used to save your place, and the value in $mark_macro_prefix to restore it: macro index ,r "<mark-message>a<enter><change-folder>^<enter>'a" -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
