From 27610b5617b89af69a7e343864daa280862432a4 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Sun, 21 Aug 2016 10:02:27 +0200 Subject: [PATCH 1/5] Attach multiple files by tagging This allows you to attach multiple files by pressing 'a' in the compose menu, pressing or '?' to browse a directory and select the file by tagging and press 'q'. --- browser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/browser.c b/browser.c index 15eccc5..4650709 100644 --- a/browser.c +++ b/browser.c @@ -881,6 +881,8 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, int *num if (menu->tagged) { + /* XXX: make mutt_compose_menu recoginze that there are tagged files */ + f[0] = 1; *numfiles = menu->tagged; tfiles = safe_calloc (*numfiles, sizeof (char *)); for (i = 0, j = 0; i < state.entrylen; i++) -- 2.1.4