Projects STRLCPY neomutt Commits 648a95c7
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    compose/functions.c
    skipped 1547 lines
    1548 1548  }
    1549 1549   
    1550 1550  /**
     1551 + * op_attachment_new_mime_after - Insert new attachment using mailcap entry after current entry - Implements ::compose_function_t - @ingroup compose_function_api
     1552 + */
     1553 +static int op_attachment_new_mime_after(struct ComposeSharedData *shared, int op)
     1554 +{
     1555 + return compose_new_mime(shared, _("New file to insert after: "),
     1556 + menu_get_index(shared->adata->menu), true);
     1557 +}
     1558 + 
     1559 +/**
    1551 1560   * op_attachment_print - Print the current entry - Implements ::compose_function_t - @ingroup compose_function_api
    1552 1561   */
    1553 1562  static int op_attachment_print(struct ComposeSharedData *shared, int op)
    skipped 550 lines
    2104 2113   { OP_ATTACHMENT_MOVE_DOWN, op_attachment_move_down },
    2105 2114   { OP_ATTACHMENT_MOVE_UP, op_attachment_move_up },
    2106 2115   { OP_ATTACHMENT_NEW_MIME, op_attachment_new_mime },
     2116 + { OP_ATTACHMENT_NEW_MIME_AFTER, op_attachment_new_mime_after },
    2107 2117   { OP_PIPE, op_attachment_filter },
    2108 2118   { OP_ATTACHMENT_PRINT, op_attachment_print },
    2109 2119   { OP_ATTACHMENT_RENAME_ATTACHMENT, op_attachment_rename_attachment },
    skipped 55 lines
  • ■ ■ ■ ■ ■ ■
    functions.c
    skipped 227 lines
    228 228   { "move-down", OP_ATTACHMENT_MOVE_DOWN },
    229 229   { "move-up", OP_ATTACHMENT_MOVE_UP },
    230 230   { "new-mime", OP_ATTACHMENT_NEW_MIME },
     231 + { "new-mime-after", OP_ATTACHMENT_NEW_MIME_AFTER },
    231 232   { "pgp-menu", OP_COMPOSE_PGP_MENU },
    232 233   { "pipe-entry", OP_PIPE },
    233 234   { "pipe-message", OP_PIPE },
    skipped 628 lines
    862 863   { OP_ATTACHMENT_MOVE_DOWN, "+" },
    863 864   { OP_ATTACHMENT_MOVE_UP, "-" },
    864 865   { OP_ATTACHMENT_NEW_MIME, "n" },
     866 + { OP_ATTACHMENT_NEW_MIME_AFTER, "\033A" }, // <Alt-A>
    865 867   { OP_EXIT, "q" },
    866 868   { OP_PIPE, "|" },
    867 869   { OP_ATTACHMENT_PRINT, "l" },
    skipped 394 lines
  • ■ ■ ■ ■ ■
    opcodes.h
    skipped 55 lines
    56 56   _fmt(OP_ATTACHMENT_MOVE_DOWN, N_("move an attachment down in the attachment list")) \
    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 + _fmt(OP_ATTACHMENT_NEW_MIME_AFTER, N_("insert new attachment using mailcap entry after current entry")) \
    59 60   _fmt(OP_ATTACHMENT_PIPE, N_("pipe message/attachment to a shell command")) \
    60 61   _fmt(OP_ATTACHMENT_PRINT, N_("print the current entry")) \
    61 62   _fmt(OP_ATTACHMENT_RENAME_ATTACHMENT, N_("send attachment with a different name")) \
    skipped 323 lines
Please wait...
Page is in error, reload to recover