+2008-11-30 20:28 +0100 Rocco Rutte <pdmef@gmx.net> (cb251bde7fc1)
+
+ * addrbook.c, browser.c, compose.c, crypt-gpgme.c, curs_main.c,
+ init.c, menu.c, mutt_menu.h, mutt_ssl.c, mutt_ssl_gnutls.c, pager.c,
+ pgpkey.c, postpone.c, query.c, recvattach.c, remailer.c, smime.c:
+ Manage last search pattern outside of menu lifecycle
+
+ Previously, the pattern was thrown away during menu destruction. For
+ the next search, mutt then can't provide a good suggestion. The new
+ behaviour is to manage the pattern outside the lifecyle to always
+ provide the last pattern as suggestion.
+
+2008-11-30 20:23 +0100 Rocco Rutte <pdmef@gmx.net> (927a1d30a44e)
+
+ * ChangeLog, query.c: Start numbering query results with 1 instead of
+ 0
+
2008-11-24 11:44 -0800 Brendan Cully <brendan@kublai.com> (fd555f9fcb03)
* doc/manual.xml.tail, main.c: Belatedtly acknowledge Rocco's
{ "iso-ir-157", "iso-8859-10" },
{ "latin6", "iso-8859-10" }, /* this is not a bug */
{ "l6", "iso-8859-10" },
- { "csISOLatin6" "iso-8859-10" },
+ { "csISOLatin6", "iso-8859-10" },
{ "csKOI8r", "koi8-r" },
static struct history History[HC_LAST];
static int OldSize = 0;
-#define GET_HISTORY(CLASS) ((CLASS < 0 || CLASS >= HC_LAST) ? NULL : &History[CLASS])
+#define GET_HISTORY(CLASS) ((CLASS >= HC_LAST) ? NULL : &History[CLASS])
static void init_history (struct history *h)
{
snprintf (err->data, err->dsize, \
_("Not available in this menu.")); \
return (-1); \
- } else
+ }
typedef struct myvar
{
char *name;
int (*func) (BUFFER *, BUFFER *, unsigned long, BUFFER *);
unsigned long data;
- unsigned long data1;
};
struct command_t Commands[] = {
static int eat_range (pattern_t *pat, BUFFER *, BUFFER *);
static int patmatch (const pattern_t *pat, const char *buf);
-struct pattern_flags
+static struct pattern_flags
{
int tag; /* character used to represent this op */
int op; /* operation to perform */
int class;
int (*eat_arg) (pattern_t *, BUFFER *, BUFFER *);
}
-static Flags[] =
+Flags[] =
{
{ 'A', M_ALL, 0, NULL },
{ 'b', M_BODY, M_FULL_MSG, eat_regexp },