From: markus schnalke Date: Wed, 4 Jan 2012 09:06:51 +0000 (+0100) Subject: Globally defined the names for the standard sequences. X-Git-Tag: mmh-thesis-end~434 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=83bc095e820728da7dfe22d2f95962660c79de03;hp=b25e57753f3f4fb3fdde4240e0f617ef8dbea043 Globally defined the names for the standard sequences. I'll rework the whole code to use them and not have hard-coded names anymore. The `new' sequence will be called `beyond' sequence (`b') from now on. The `unseen' sequence will be set by default to `u' from now on. The sequence negation will be set by default to `!' from now on. --- diff --git a/config/config.c b/config/config.c index fb21602..6a1e0b1 100644 --- a/config/config.c +++ b/config/config.c @@ -74,11 +74,22 @@ char *mhlforward = "mhl.forward"; /* forw -filter */ char *defaultfolder = "+inbox"; char *draftfolder = "+drafts"; +char *inbox = "Inbox"; /* profile entry name to specify the default folder */ +char *curfolder = "Current-Folder"; + /* name of current message "sequence" */ char *current = "cur"; -char *inbox = "Inbox"; /* profile entry name to specify the default folder */ -char *curfolder = "Current-Folder"; +char *seq_all = "a"; +char *seq_beyond = "b"; /* the previous `new' sequence */ +char *seq_cur = "c"; +char *seq_first = "f"; +char *seq_last = "l"; +char *seq_next = "n"; +char *seq_prev = "p"; +char *seq_unseen = "u"; +char *seq_neg = "!"; + char *usequence = "Unseen-Sequence"; char *psequence = "Previous-Sequence"; char *nsequence = "Sequence-Negation"; diff --git a/h/mh.h b/h/mh.h index 12bb985..5d72178 100644 --- a/h/mh.h +++ b/h/mh.h @@ -338,6 +338,15 @@ extern char *replgroupcomps; extern char *rmmproc; extern char *sendmail; extern char *sendproc; +extern char *seq_all; +extern char *seq_beyond; +extern char *seq_cur; +extern char *seq_first; +extern char *seq_last; +extern char *seq_next; +extern char *seq_prev; +extern char *seq_unseen; +extern char *seq_neg; extern char *showmimeproc; extern char *showproc; extern char *usequence;