Thanks, Brendan.  You were faster than me :-)

Daan

* on Friday, 2017-11-10 13:08 -0800, Brendan Cully <[email protected]> wrote:

> changeset: 7178:fbf01f1c87a3
> user:      Kevin McCarthy <[email protected]>
> date:      Fri Nov 10 13:06:43 2017 -0800
> link:      http://dev.mutt.org/hg/mutt/rev/fbf01f1c87a3
> 
> Add message count to $move quadoption prompt.
> 
> Display the number of messages that will be moved in the quadoption
> prompt, which might prove helpful for some people.
> 
> Thank you to Daan van Rossum for suggesting the improvement.
> 
> diffs (13 lines):
> 
> diff -r 8fac73c931bc -r fbf01f1c87a3 mx.c
> --- a/mx.c    Thu Nov 09 15:06:19 2017 +0100
> +++ b/mx.c    Fri Nov 10 13:06:43 2017 -0800
> @@ -828,7 +828,8 @@
>      if (isSpool && *mbox)
>      {
>        mutt_expand_path (mbox, sizeof (mbox));
> -      snprintf (buf, sizeof (buf), _("Move read messages to %s?"), mbox);
> +      snprintf (buf, sizeof (buf), _("Move %d read messages to %s?"),
> +                read_msgs, mbox);
>        if ((move_messages = query_quadoption (OPT_MOVE, buf)) == -1)
>        {
>       ctx->closing = 0;

Attachment: signature.asc
Description: PGP signature

Reply via email to