I recently posted multiple patches. --- /dev/null Sat May 22 21:00:00 2004 +++ PATCHES Sat May 22 21:00:00 2004 @@ -1,0 +1 @@ +patch-1.5.6.tamo.builtin+browser+keymap+unlimit.1 Date: Fri, 7 May 2004 16:23:57 +0900 Subject: Re: Using the builtin editor Message-ID: <20040507072357.GA71050%ttakah@lapis.plala.or.jp> --- compose.c~ Tue Apr 13 09:01:33 2004 +++ compose.c Fri May 7 16:10:37 2004 @@ -733,7 +733,7 @@ /* fall through */ case OP_COMPOSE_EDIT_HEADERS: if (op == OP_COMPOSE_EDIT_HEADERS || - (op == OP_COMPOSE_EDIT_MESSAGE && option (OPTEDITHDRS))) + (op == OP_COMPOSE_EDIT_MESSAGE && option (OPTEDITHDRS) && (mutt_strcmp ("builtin", Editor) != 0))) { char *tag = NULL, *err = NULL; mutt_env_to_local (msg->env); Date: Sat, 15 May 2004 14:34:40 +0900 Subject: Re: [BETTER PATCH] Re: Bug#237426: Mutt segfaults on unreadable directories Message-ID: <20040515053440.GA48435%ttakah@lapis.plala.or.jp> --- browser.c.old Wed Nov 5 18:41:31 2003 +++ browser.c Sat May 15 14:29:52 2004 @@ -944,21 +944,21 @@ { if (S_ISDIR (st.st_mode)) { - strfcpy (LastDir, buf, sizeof (LastDir)); destroy_state (&state); - if (examine_directory (menu, &state, LastDir, prefix) == 0) - { - menu->current = 0; - menu->top = 0; - init_menu (&state, menu, title, sizeof (title), buffy); - } + if (examine_directory (menu, &state, buf, prefix) == 0) + strfcpy (LastDir, buf, sizeof (LastDir)); else { mutt_error _("Error scanning directory."); - destroy_state (&state); - mutt_menuDestroy (&menu); - goto bail; + if (examine_directory (menu, &state, LastDir, prefix) == -1) + { + mutt_menuDestroy (&menu); + goto bail; + } } + menu->current = 0; + menu->top = 0; + init_menu (&state, menu, title, sizeof (title), buffy); } else mutt_error (_("%s is not a directory."), buf); Date: Thu, 20 May 2004 12:33:44 +0900 Subject: bug#1880: mutt-1.5.6i: deference between noop and unbound Message-ID: <20040520033343.GA65847%ttakah@lapis.plala.or.jp> --- keymap.c~ Wed May 19 23:46:11 2004 +++ keymap.c Thu May 20 12:15:32 2004 @@ -443,6 +443,9 @@ if (LastKey != map->keys[pos]) return (retry_generic (menu, map->keys, pos, LastKey)); + if (map->op == OP_NULL) + return (retry_generic (menu, map->keys, pos, LastKey)); + if (++pos == map->len) { Subject: bug#1854: mutt-1.5.5.1+cvs20040105i: No intuitive way to undo 'l' ("limit") command Message-ID: <20040507100915.GA1898%ttakah@lapis.plala.or.jp> Index: pattern.c =================================================================== RCS file: /home/roessler/cvs/mutt/pattern.c,v retrieving revision 3.11 diff -u -r3.11 pattern.c --- pattern.c 12 Apr 2004 19:34:45 -0000 3.11 +++ pattern.c 7 May 2004 10:00:47 -0000 @@ -1117,8 +1117,14 @@ int i; strfcpy (buf, NONULL (Context->pattern), sizeof (buf)); - if (mutt_get_field (prompt, buf, sizeof (buf), M_PATTERN | M_CLEAR) != 0 || !buf[0]) + if (mutt_get_field (prompt, buf, sizeof (buf), M_PATTERN | M_CLEAR) != 0) return (-1); + if (!buf[0]) { + if (op == M_LIMIT) + strfcpy (buf, "~A", sizeof (buf)); + else + return (-1); + } mutt_message _("Compiling search pattern...");