Projects STRLCPY neomutt Commits 0bbfc21b
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    compose/functions.c
    skipped 1555 lines
    1556 1556   menu_get_index(shared->adata->menu), true);
    1557 1557  }
    1558 1558   
     1559 +/*
     1560 + * op_attachment_new_mime_before - Compose new attachment using mailcap entry - Implements ::compose_function_t - @ingroup compose_function_api
     1561 + */
     1562 +static int op_attachment_new_mime_before(struct ComposeSharedData *shared, int op)
     1563 +{
     1564 + return compose_new_mime(shared, _("New file to insert before: "),
     1565 + menu_get_index(shared->adata->menu), false);
     1566 +}
     1567 + 
    1559 1568  /**
    1560 1569   * op_attachment_print - Print the current entry - Implements ::compose_function_t - @ingroup compose_function_api
    1561 1570   */
    skipped 552 lines
    2114 2123   { OP_ATTACHMENT_MOVE_UP, op_attachment_move_up },
    2115 2124   { OP_ATTACHMENT_NEW_MIME, op_attachment_new_mime },
    2116 2125   { OP_ATTACHMENT_NEW_MIME_AFTER, op_attachment_new_mime_after },
     2126 + { OP_ATTACHMENT_NEW_MIME_BEFORE, op_attachment_new_mime_before },
    2117 2127   { OP_PIPE, op_attachment_filter },
    2118 2128   { OP_ATTACHMENT_PRINT, op_attachment_print },
    2119 2129   { OP_ATTACHMENT_RENAME_ATTACHMENT, op_attachment_rename_attachment },
    skipped 55 lines
  • ■ ■ ■ ■ ■ ■
    functions.c
    skipped 228 lines
    229 229   { "move-up", OP_ATTACHMENT_MOVE_UP },
    230 230   { "new-mime", OP_ATTACHMENT_NEW_MIME },
    231 231   { "new-mime-after", OP_ATTACHMENT_NEW_MIME_AFTER },
     232 + { "new-mime-before", OP_ATTACHMENT_NEW_MIME_BEFORE },
    232 233   { "pgp-menu", OP_COMPOSE_PGP_MENU },
    233 234   { "pipe-entry", OP_PIPE },
    234 235   { "pipe-message", OP_PIPE },
    skipped 629 lines
    864 865   { OP_ATTACHMENT_MOVE_UP, "-" },
    865 866   { OP_ATTACHMENT_NEW_MIME, "n" },
    866 867   { OP_ATTACHMENT_NEW_MIME_AFTER, "\033A" }, // <Alt-A>
     868 + { OP_ATTACHMENT_NEW_MIME_BEFORE, "\033B" }, // <Alt-B>
    867 869   { OP_EXIT, "q" },
    868 870   { OP_PIPE, "|" },
    869 871   { OP_ATTACHMENT_PRINT, "l" },
    skipped 394 lines
  • ■ ■ ■ ■ ■
    opcodes.h
    skipped 56 lines
    57 57   _fmt(OP_ATTACHMENT_MOVE_UP, N_("move an attachment up in the attachment list")) \
    58 58   _fmt(OP_ATTACHMENT_NEW_MIME, N_("compose new attachment using mailcap entry")) \
    59 59   _fmt(OP_ATTACHMENT_NEW_MIME_AFTER, N_("insert new attachment using mailcap entry after current entry")) \
     60 + _fmt(OP_ATTACHMENT_NEW_MIME_BEFORE, N_("insert new attachment using mailcap entry before current entry")) \
    60 61   _fmt(OP_ATTACHMENT_PIPE, N_("pipe message/attachment to a shell command")) \
    61 62   _fmt(OP_ATTACHMENT_PRINT, N_("print the current entry")) \
    62 63   _fmt(OP_ATTACHMENT_RENAME_ATTACHMENT, N_("send attachment with a different name")) \
    skipped 323 lines
Please wait...
Page is in error, reload to recover