Postponed Emails Functions. More...
#include "config.h"#include <stdbool.h>#include <stddef.h>#include "mutt/lib.h"#include "config/lib.h"#include "email/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "mutt.h"#include "functions.h"#include "key/lib.h"#include "menu/lib.h"#include "pattern/lib.h"#include "module_data.h"
Include dependency graph for functions.c:Go to the source code of this file.
Functions | |
| void | postponed_init_keys (struct NeoMutt *n, struct SubMenu *sm_generic) |
| Initialise the Postponed Keybindings - Implements ::init_keys_api. | |
| static int | postpone_add_selection (struct EmailArray *ea, struct Menu *menu, struct Mailbox *m, bool tagged, int count) |
| Build a working set of Emails for an action. | |
| static void | postpone_apply_set_deleted (struct Mailbox *m, struct EmailArray *ea, bool deleted) |
| Apply the deleted flag to a working set of Emails. | |
| static int | op_delete (struct PostponeData *pd, const struct KeyEvent *event) |
| Delete the current entry - Implements postpone_function_t -. | |
| static int | op_exit (struct PostponeData *pd, const struct KeyEvent *event) |
| Exit this menu - Implements postpone_function_t -. | |
| static int | op_generic_select_entry (struct PostponeData *pd, const struct KeyEvent *event) |
| Select the current entry - Implements postpone_function_t -. | |
| static int | op_search (struct PostponeData *pd, const struct KeyEvent *event) |
| Search for a regular expression - Implements postpone_function_t -. | |
| int | postpone_function_dispatcher (struct MuttWindow *win, const struct KeyEvent *event) |
| Perform a Postpone function - Implements function_dispatcher_t -. | |
| struct MailboxView * | postponed_get_mailbox_view (struct MuttWindow *dlg) |
| Extract the Mailbox from the Postponed Dialog. | |
Variables | |
| static const struct MenuFuncOp | OpPostponed [] |
| Functions for the Postpone Menu. | |
| static const struct MenuOpSeq | PostponedDefaultBindings [] |
| Key bindings for the Postpone Menu. | |
| static const struct PostponeFunction | PostponeFunctions [] |
| All the NeoMutt functions that the Postpone supports. | |
Postponed Emails Functions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file functions.c.
Initialise the Postponed Keybindings - Implements ::init_keys_api.
Definition at line 72 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Build a working set of Emails for an action.
| ea | Empty EmailArray to populate |
| menu | Postpone Menu |
| m | Mailbox |
| tagged | Use tagged emails (tag-prefix) |
| count | Repeat-count (0 or 1 == just the current selection) |
| num | Number of emails added |
If tagged is true, the array is filled with the tagged emails and count is ignored.
Otherwise the array is filled with the current selection and the next count - 1 emails. Overruns are silently capped at the end of the list.
Definition at line 103 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Apply the deleted flag to a working set of Emails.
| m | Mailbox |
| ea | Working set of Emails |
| deleted | true to mark as deleted, false to undelete |
Also updates the postponed message count.
Definition at line 147 of file functions.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct MailboxView * postponed_get_mailbox_view | ( | struct MuttWindow * | dlg | ) |
Extract the Mailbox from the Postponed Dialog.
| dlg | Postponed Dialog |
| ptr | Mailbox view |
Definition at line 337 of file functions.c.
Here is the caller graph for this function:
|
static |
Functions for the Postpone Menu.
Definition at line 49 of file functions.c.
|
static |
Key bindings for the Postpone Menu.
Definition at line 60 of file functions.c.
|
static |
All the NeoMutt functions that the Postpone supports.
Definition at line 275 of file functions.c.