In edit.c, function mutt_builtin_editor():

        case 'b':
          msg->env->bcc = mutt_parse_adrlist(msg->env->bcc, p);
          msg->env->bcc = mutt_expand_aliases(msg->env->bcc);
          break;
        case 'c':
          msg->env->cc = mutt_parse_adrlist(msg->env->cc, p);
          msg->env->cc = mutt_expand_aliases(msg->env->cc);
          break;
[...]
        case 't':
          msg->env->to = rfc822_parse_adrlist(msg->env->to, p);
          msg->env->to = mutt_expand_aliases(msg->env->to);
          break;

Why is there a difference between 'b'/'c' and 't'?

Similarly in the help strings, one has "addresses" for ~b/~c
and "users" for ~t:

static char *EditorHelp1 = N_("\
~~              insert a line beginning with a single ~\n\
~b addresses    add addresses to the Bcc: field\n\
~c addresses    add addresses to the Cc: field\n\
~f messages     include messages\n\
~F messages     same as ~f, except also include headers\n\
~h              edit the message header\n\
~m messages     include and quote messages\n\
~M messages     same as ~m, except include headers\n\
~p              print the message\n");

static char *EditorHelp2 = N_("\
~q              write file and quit editor\n\
~r file         read a file into the editor\n\
~t users        add users to the To: field\n\
~u              recall the previous line\n\
~v              edit message with the $visual editor\n\
~w file         write message to file\n\
~x              abort changes and quit editor\n\
~?              this message\n\
.               on a line by itself ends input\n");

I can't find anything about this in the manual.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to