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

Re: Status Format; Functions



Hello George,

 On Wednesday, September 15, 2004 at 1:47:03 PM -0700, George wrote:

> I've set 'status_ontop' and unset 'help' so a blank line would go a
> long way to increase legibility.

    I vaguely remember someone made a patch to add blank line(s)
somewhere: You might want to search the archives and experiment.


> mutt does support 'toggling' of certain variables ('toggle help', for
> example), but this doesn't seem to work on a variable like
> 'display_filter'.

    Right: Not directly. But toggle or even cycle behaviour can be
achieved with a set of macros, like the ROT13 feature by David T-G. It
appears to "toggle" $display_filter, so it's a very good example:

| macro pager ,@r13on "<enter-command>set display_filter=/usr/local/bin/rot13 ;\
|       macro pager \\er ,@r13off 'Toggle ROT13 decoding'\
|       <Enter><exit><display-message>"
|
| macro pager ,@r13off "<enter-command>unset display_filter ;\
|       macro pager \\er ,@r13on 'Toggle ROT13 decoding'\
|       <Enter><exit><display-message>"
|
| macro pager \er ,@r13on 'Toggle ROT13 decoding'

    User types only <Esc>r with toggle effect: Nice, isn't it?


Bye!    Alain.
-- 
set honor_followup_to=yes in muttrc is the default value, and makes your
list replies go where the original author wanted them to go: Only to the
list, or with a private copy.