bind tag-prefix when display message
Hi there, I have a little problem configuring mutt. When displaying a message mutt shows 15 index lines above the pager. Unfortunately it is not possible in the pager-view to use ";" (tag-prefix), e.g. to move all tagged messages to another folder. If I try to add this keybinding by adding this line to my .muttrc: bind pager ";" tag-prefix this error message shows up when starting mutt: "Error in ~/.muttrc, line 58: tag-prefix: function unknown" (Maybe it is slightly different because I translated it from german). Is there any way to enable the function tag-prefix when in pager-view? Cheers, -- Marco signature.asc Description: Digital signature
Re: bind tag-prefix when display message
On 25.01.16 13:26, Marco Dickert wrote: > If I try to add this keybinding by adding this line to my .muttrc: > >bind pager ";" tag-prefix > > this error message shows up when starting mutt: > > "Error in ~/.muttrc, line 58: tag-prefix: function unknown" > In a macro, such as the one above, it seems that tag-prefix-cond needs to be used instead. From the manual: » In macros or push commands, you can use the operator. If there are no tagged messages, Mutt will “eat” the rest of the macro to abort it's execution. Mutt will stop “eating” the macro when it encounters the operator; after this operator the rest of the macro will be executed as normal. « Does that work? Erik
Re: bind tag-prefix when display message
> In a macro, such as the one above, it seems that tag-prefix-cond needs > to be used instead. [...] > > Does that work? I don't know if I get you right, but I tried it that way: macro pager ";" This generates no error at startup, but does not work either (error: key not bound). -- Marco signature.asc Description: Digital signature
Copy unread message to folder
Hi, I'm using 3 accounts with mutt (and isync/mbsync for getting emails via imap). Now, I was wondering whether it is possible to copy unread messages to a special (lets call it 'unread') folder. For my different accounts I have different configs, so I thought the best solution to this would be sort of making a symlink of the unread message to the unread folder. This symlink should be deleted after reading/answering. When I answer the mail it should automatically use the accounts config. Anyone got an idea of how to do that? I couldn't find anything online in regard to that. I'm open to alternative solutions if this is not possible (or not good). Thanks in advance
Re: bind tag-prefix when display message
On 25.01.16 14:14, Marco Dickert wrote: > > In a macro, such as the one above, it seems that tag-prefix-cond needs > > to be used instead. [...] > > > > Does that work? > > I don't know if I get you right, but I tried it that way: > > macro pager ";" Since my bindings work without the angle brackets, they appear to be a documentation peculiarity. I grok their use for containing keyboard chords, but they don't make much sense for a literal function name. > This generates no error at startup, but does not work either (error: key not > bound). Hmm, even without <>, we get: tag-prefix-cond: no such function in map when in the split index/pager view. Looks a bit like a hint that it won't work there? Erik
Re: Copy unread message to folder
On 25.01.16 14:31, famfop wrote: > Hi, > I'm using 3 accounts with mutt (and isync/mbsync for getting emails > via imap). Now, I was wondering whether it is possible to copy unread > messages to a special (lets call it 'unread') folder. ... > Anyone got an idea of how to do that? I couldn't find anything > online in regard to that. I'm open to alternative solutions if this is > not possible (or not good). In mutt: T~U# Now all unread mails in the current mailbox are tagged. ;C /tmp/fred # Now they're all copied to where you want them. Using bind to make that a single keystroke macro, I leave to the student. ;-) If you have different .muttrc in the different accounts, then just ensure that the key chosen is not already used. Erik
Macro for goto next in thread and then go back out to inbox
When reading long threads in mailing lists I often feel it might be convenient to have the following functionality in the pager: Instead of working my way through a thread using or I would like to press some key and it takes me to the next message in the thread like but when I reach the last mail in the thread and press again it takes me back out to the current inbox index. I'm pretty much a noob but I'm wondering if it might be possible to define this as a macro? Any help would be highly appreciated! -- Jonas Hedman XMPP:n...@jabber.at PGP Key: 0x5c3989e0616bb08c Fingerprint: 8F72 C5BE AAFA B4BA 8F46 9185 5C39 89E0 616B B08C signature.asc Description: Digital signature
Re: bind tag-prefix when display message
> Since my bindings work without the angle brackets, they appear to be a > documentation peculiarity. I grok their use for containing keyboard > chords, but they don't make much sense for a literal function name. Well, if I omit the angle brackets my mutt interprets this macro as a series of keystrokes, i.e. it marks the current message (t) and tries to save the senders address (a). At this point I can break the macro. > Looks a bit like a hint that it won't work there? Seems to be. For now I stop investigating on this "problem" since it would be a "nice-to-have" feature. Thank you anyway :) -- Marco signature.asc Description: Digital signature
Re: Copy unread message to folder
On 25/01/16 14:52, Erik Christiansen wrote: In mutt: T~U# Now all unread mails in the current mailbox are tagged. ;C /tmp/fred # Now they're all copied to where you want them. Using bind to make that a single keystroke macro, I leave to the student. ;-) Thanks for this tip, although it doesn't totally fit my needs. What I actually want is not a macro but an automized process. I've been thinking about it today... maybe its not mutts but isyncs job.
Need passphrase for unencrypting but not for signing
Hello all, I have set up gpg signing, encrypting, and I also have to decrypt when someone send an encrypted message to me. However, I find it curious that in order to decrypt a message I need to put my passphrase in. But for signing, I do not need to. Is this normal? It is the same passphrase. I'm not sure which settings I set in order to achive this. I'm curious and hoping to understand how I achieved the above possibility. Kind regards, Xu