Re: index macros don't work when current mailbox empty

2013-01-12 Thread Christian Ebert
* Marco on Friday, January 11, 2013 at 20:12:11 +0100 > I think the result will be ugly anyway, so I just have to put up the > fact that I have long line in my muttrc. As long as you put the line breaks in the right spot without additional white space multi line macros work fine: macro pager F "

Re: index macros don't work when current mailbox empty

2013-01-12 Thread Jamie Paul Griffin
* Marco [2013-01-11 20:12:11 +0100]: > On 2013–01–11 Michael Elkins wrote: > > > On Fri, Jan 11, 2013 at 07:10:45PM +0100, Marco wrote: > > >>The problem is all the extra spaces you included in the macro > > >>string. > > > > > >I would never have thought of this! Still, I don't understand why i

Re: index macros don't work when current mailbox empty

2013-01-11 Thread Marco
On 2013–01–11 Michael Elkins wrote: > On Fri, Jan 11, 2013 at 07:10:45PM +0100, Marco wrote: > >>The problem is all the extra spaces you included in the macro > >>string. > > > >I would never have thought of this! Still, I don't understand why it > >only works with a non-empty mailbox. Either spac

Re: index macros don't work when current mailbox empty

2013-01-11 Thread Michael Elkins
On Fri, Jan 11, 2013 at 07:10:45PM +0100, Marco wrote: The problem is all the extra spaces you included in the macro string. I would never have thought of this! Still, I don't understand why it only works with a non-empty mailbox. Either spaces are allowed and it should work, or spaces are an e

Re: index macros don't work when current mailbox empty

2013-01-11 Thread Marco
On 2013–01–11 Michael Elkins wrote: > On Fri, Jan 11, 2013 at 09:12:42AM +0100, Marco wrote: > > macro index ,, \ > > 'unset wait_key \ > > vim ~/.mutt/muttrc ~/.mailfilter ~/.mutt/mailcap \ > > source ~

Re: index macros don't work when current mailbox empty

2013-01-11 Thread Michael Elkins
On Fri, Jan 11, 2013 at 09:12:42AM +0100, Marco wrote: macro index ,, \ 'unset wait_key \ vim ~/.mutt/muttrc ~/.mailfilter ~/.mutt/mailcap \ source ~/.mutt/muttrc' \ 'edi

Re: index macros don't work when current mailbox empty

2013-01-11 Thread Marco
On 2013–01–10 Michael Elkins wrote: > If your macros contain an operation on a message, they will fail as > you describe. But if they do not contain operations on a message, > it should work. They are not supposed to operate on a message. Maybe I did something wrong. > You'd have to post your m

Re: index macros don't work when current mailbox empty

2013-01-10 Thread Michael Elkins
On Thu, Jan 10, 2013 at 09:04:02PM +0100, Marco wrote: when the current mailbox is empty my index macros don't work. When I press the corresponding shortcut mutt displays “There are no messages”. Is that a bug or a misconfiguration in my muttrc? If your macros contain an operation on a message

index macros don't work when current mailbox empty

2013-01-10 Thread Marco
Hi, when the current mailbox is empty my index macros don't work. When I press the corresponding shortcut mutt displays “There are no messages”. Is that a bug or a misconfiguration in my muttrc? Marco signature.asc Description: Digital signature