summaryrefslogtreecommitdiffstats
path: root/OPS
AgeCommit message (Collapse)Author
2020-12-06Add <skip-headers> to skip past message headers in pager.Kevin McCarthy
This is based on <skip-quoted>, and is bound to 'H' by default. I've added an error message in case there is no text past the headers, just to cover the logical case. I don't think Mutt allows that to happen for text passed to the pager, but just in case.
2020-12-06abstract some List-* header processingdgc
List-Post parsing is inline in the List-Post header handler. This moves it to some separate functions so that we can use it for other purposes.
2020-11-22Add <view-pager> function to attachment menu.Kevin McCarthy
This uses a copiousoutput mailcap entry, or falls back to raw text. The existing functions do not provide a way to use copiousoutput mailcap entries exclusively. The default <view-attach> will use one for internally supported types if auto_view is configured, but there is no way to do so for other mime types (such as application/pdf).
2020-02-29Add background compose menu and $background_format config var.Kevin McCarthy
List the backgrounded sessions. Allow the user to resume one, or exit the menu. Bind to 'B' by default in the index and pager menus. Remove the "<mail>" function autoresuming functionality, instead invoke the menu to resume backgrounded sessions.
2020-01-23Add move-up and move-down functions to compose menu.Kevin McCarthy
This adds the ability to rearrange the order of the attachments, including swapping the first attachment if desired. The compose menu doesn't support nested attachments, but since data structures and code are shared with recvattach, the new functions use the v2r and try to behave sensibly with respect to parent pointer adjustments. However, the functions do restrict movement to be between siblings. Adding code to support cross-tree movement would be more complicated for no current purpose.
2019-11-13allow autoview preview of multipart/alternative contentmadroach
add view-alt function, so now we have * view-alt "v" * view-alt-text "Esc v" * view-alt-mailcap "V"
2019-11-01Add ability to generate multipart/alternative using a filter script.Kevin McCarthy
Create config variables $send_multipart_alternative (a quadoption) and $send_multipart_alternative_filter. The filter script expects output to be the mime type, a blank line, then the content. Add ability to preview alternative from compose menu. <view-alt-text> forces viewing as text. <view-alt-mailcap> forces using the mailcap. Bind them to 'v' and 'V', respectively. Improve <resend-message> so a multipart/alternative is stripped out, which would just confuse the compose menu. Currently this preserves the first alternative. Allow alternative generation in batch mode, as long as the quadoption is set to 'yes'.
2019-10-11Add new browse-mailboxes function in index and pager.Kevin McCarthy
This allows direct access to the mailboxes list in the folder menu. This is useful, for instance, if $browser_sticky_cursor is set and the current directory does not contain the open mailbox. The macro version will lose the current mailbox while toggling to the mailboxes list.
2019-08-03Basic autocrypt account menu.Kevin McCarthy
Provide ability to create, delete, and toggle the prefer-encrypt and enabled flag for an account. Hook into the index via 'A' <autocrypt-acct-menu>.
2019-08-03Add autocrypt line to the compose menu.Kevin McCarthy
Remove the hardcoded HDR_ATTACH offset calcuation, and add an explicit enum for the "-- Attachments" line to make loops and padding array sizes easier. Add security and recommendataion fields on the line. Add mutt_autocrypt_ui_recommendation, following the autocrypt spec guidelines.
2019-02-06Create <group-chat-reply> function.Kevin McCarthy
This function differs from <group-reply> only in that it preserves To recipients in the original email as To recipients in the reply. The merits of this function aren't without controversy; therefore it is left unbound by default. Those who care about such things are free to bind it. Combine reply operation handlers in the pager and curs_main, since the code was the same with the exception of the flags used.
2019-02-06corrected typo from dad0eb255fddbef5f14772b85b32acf6f2ca7996Vincent Lefevre
2019-01-31Allow descending into maildir and mh directories in file browserCorey Minyard
Some (maybe most) IMAP mail systems allow folders to be nested inside folders, so you can have, say, an Inbox with more folders inside it. However, in the file browser, mutt will only open a maildir/mh directory as a mailbox, there is no way to get to the child mailboxes. This change adds a function <descend-directory> that forces mutt to descend into the directory. It is unbound by default. Signed-off-by: Corey Minyard <minyard@acm.org>
2018-08-22Add compose-to-sender functionality.Kevin McCarthy
This patch is loosely based on the NeoMutt feature, but adds in support for the attach menu, reuses functionality in send.c, and has proper mode checks. Thanks to Enno for the opening the ticket requesting the port.
2018-06-28Add check-stats function to calculate mailbox statistics.Anton Lindqvist
This allows the statistics to be updated without setting $mail_check_stats or before $mail_check_stats_interval has passed.
2018-04-22Add Error History function and config var.Kevin McCarthy
<error-history>, by default unbound, shows a list of the recent error messages displayed by Mutt via mutt_message() or mutt_error(). $error_history sets the size of the history ring. For now, I've decided to include mutt_message() messages too. If this is too chatty, we can restrict it to mutt_error() easily in the future.
2018-02-03Add history-search function, bound to ctrl-r.Kevin McCarthy
Create a very basic "search history" functionality in the line editor. It uses the current input, and searches backward through history. If there is one match, it immediately uses that otherwise it pops up a simple menu of matches.
2017-09-04Remove 'really' from the purge-message help description.Kevin McCarthy
This made it sound to the translators like a question.
2017-01-28Adds capability to edit x-labels inside mutt, and to sort by label.David Champion
2016-12-13Remove unused OPSRichard Russon
OP_MAIN_FIRST_MESSAGE and OP_MAIN_LAST_MESSAGE were added to the code 19 years ago. They weren't used then; they haven't been used since.
2016-11-18Fix mark-message translation and keybind menu.Kevin McCarthy
Move the OP_MARK_MESSAGE and hotkey macro from MENU_GENERIC to the MENU_MAIN keymap. Putting the macro under generic prevents it from overriding a keybinding in the index (even if the function is bound to noop). Additionally, the macro can only be executed from the index, so it doesn't make sense as a generic keybinding. Use the term "hotkey" in both the OPS and km_bind description. Mark the km_bind description translatable. Add L10N messages for the new translation strings.
2016-11-17Adds <mark-message> binding to create "hotkeys" for messages.David Champion
<mark-message>foo<enter> will create a new macro "'foo" which will return to the current message by searching for that message's message id. The initial character of the macro is defined by $mark_macro_prefix, and defaults to "'" for verisimilitude vs. vi. Pushed by Kevin McCarthy with a minor fix.
2016-11-07compose: add operation to rename an attachmentDamien Riegel
As opposed to rename-file, which actually renames the underlying file of the attachment, rename-attachment puts a value in d_filename, which is used in the Content-Disposition header.
2016-10-19Add root-message function to jump to root message in thread.Kevin McCarthy
This seems like a useful feature that was brought up for discussion on mutt-users. Proposed solutions involved collapsing/uncollapsing threads, but it's not hard to modify the mutt_parent_message() function to return the root instead.
2016-07-17Add purge-message patch.Kevin McCarthy
This is based on the patch by Cedric Duval. Modifications are: * Use the exising M_PURGE flag from the trash folder patch, rather than adding a separate flag. * Undelete operations are already handled by the trash folder patch.
2010-02-20Add imap-logout-all to log out of all IMAP connections. Closes #2880.Gregory Shapiro
2009-05-12Fix description for <save-message>Rocco Rutte
2007-05-07Rename next-folder to next-unread-mailbox. Remove default binding.Brendan Cully
2007-05-02Add next-folder commandN.J. Mann
2006-09-08Clean up some text. Closes: #2466.Malcolm Parsons
2005-07-24Add thread editing commands.Cedric Duval
2005-02-17New function: rename-mailbox (bound to 'r' by default).Brendan Cully
The lack of a rename-mailbox command for IMAP finally got too annoying. It's a bit of a cut-and-paste job, but I've put my dreams of cleaning up the IMAP codebase on hold. Gotta grow up some time.
2003-07-04Introduce tag-prefix-cond and end-cond. This makes simpleNicolas Rachinsky
conditional execution of parts of macros possible.
2002-12-17Experimental: Introduce {next,previous}-new-then-unread. TheseThomas Roessler
functions behave like {next,previous}-new as long as new messages are visible. When no new messages are visibuel any more, there's a fall-back to {next,prev}-unread. Memo to self: Impose a weekly quota on the use of goto statements.
2002-12-09This patch adds two features to mutt:Michael Elkins
- you can now specify the octal code of a key in a bind or macro function, using the syntax <NNN>. Eg, bind index <541> show-version This allows you to bind to a function key for which Mutt doesn't have a friendly name associated with it. - adds a what-key function which allows you to press a key and have mutt show you the decimal/octal value. (not bound to anything by default)
2002-09-09Add a buffy-list function, and display more information when newRudi Chiarito
mail arrives. With some modifications from tlr.
2002-04-25attached are fixes for some little mistakes :Cedric Duval
* history-down -> scroll _down_, not up * functions decode-(save|copy) do not exist in the attach menu. * gettext oversight in pattern.c * inconsistency between "printf-like sequences" used all over the place and "escape sequences" for the description of $attribution.
2001-01-27Add collapsing to the receive-attach menu, and improve digestThomas Roessler
handling that way.
2000-12-31Experimental patch to add an imap-fetch-mail function.Thomas Roessler
2000-10-27Add capitalize-word, upcase-word, downcase-word functions to theThomas Roessler
editor. Bindings follow the Emacs conventions (i.e., M-c, M-u, M-d).
2000-08-21patch-bac.createplus-1Thomas Roessler
2000-06-16patch-1.3.3.tlr.change_charset.1Thomas Roessler
2000-06-14Remove recode-attachment, and the "decoder" API. (EGE)Thomas Roessler
2000-05-17Add forward-word and backward-word functions to the editor.Thomas Roessler
2000-05-17Add a kill-eow function to the line editor.Thomas Roessler
2000-05-16Add a transpose-character function to the editor. From Aaron Schrab.Thomas Roessler
2000-02-15Fix a typo.Thomas Roessler
2000-02-15Change the documentation string for OP_MAIN_PREV_UNDELETED - it mayThomas Roessler
be confusing.
2000-02-15Remove the OP_PAGER_EXIT opcode, and change it to OP_EXIT.Thomas Roessler
2000-01-29Michael Elkins' content-disposition patch, with some small changes.Thomas Roessler