On p, nov 29, 2013 at 12:24:33 +0100, Martin Vegter wrote:
> hello,
> 
> could somebody please advise on the following issues?
> 
> when in run mutt in terminal emulator, it reacts to the scroll wheel of my
> mouse. Is it possible to disable mouse entirely? There is no mention of the
> word "mouse" in man mutt.

Well, not sure if this is Mutt specific, but terminal emulator specific.
If you're on a tty, perhaps gpm is running? If you're on a pseudo
terminal, just disable the mouse input in your terminal emulator (xterm,
urxvt etc... see their corresponding manuals).

> What is the correct way to cancel an operation? For example, when I press
> 'm' in index by mistake, how do I exit from the 'new mail operation'. When I
> pres 'CTRL+c' mutt asks 'Exit mutt?' (with default yes), so I have to press
> n all the time. Is there no better way to undo a wrong key press?

To cancel a question or anything that had put you into the Mutt command
input, just press CTRL+g.
Not sure what you mean by the new mail operation, but you can back out
from the composer by exiting your editor, and exiting from the 'compose'
screen (answering no to "postpone this message", if you wish).
On any screen, just use the question mark to invoke the online key
bingind help to figure out how to exit.


> I have a macro to move message to my archive folder:
>     macro index,pager S "<save-message>=archive<enter>" "move messages"
> it works, but there are two small problems:
> 1) It operates only on one (the current) message, not on all tagged
> messages.

There is a generic binding:
;       tag-prefix      apply next function to tagged messages

Pressing ';' before 'S' would execute 'S' on every tagged message.
btw, this works with any function, of course.

> 2) it actually does not move the message immediately. It copies it to
> archive and tags it as deleted in the inbox. Is there a way to execute the
> "move" immediately (without having them in inbox selected as deleted)?

This is how it works. You must sync the mailbox to purge the messages
that were being marked for deletion. You can append the <sync-mailbox>
function to the macro (but then 'S' will of course purge any other
messages marked for delete and all-in-all do everything that eg. '$'
would have done).


> thanks,
> Martin

No problem, hope this helps; enjoy Mutt! :)


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

Reply via email to