projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
curs_main.c
diff --git
a/curs_main.c
b/curs_main.c
index
23604af
..
45952ef
100644
(file)
--- a/
curs_main.c
+++ b/
curs_main.c
@@
-1066,7
+1066,7
@@
CHECK_IMAP_ACL(IMAP_ACL_DELETE);
break;
}
break;
}
- if (query_quadoption (OPT_QUIT, _("Quit Mutt?")) == M_YES)
+ if (query_quadoption (OPT_QUIT, _("Quit Mutt
-ng
?")) == M_YES)
{
int check;
{
int check;
@@
-1439,11
+1439,6
@@
CHECK_IMAP_ACL(IMAP_ACL_DELETE);
if ((Sort & SORT_MASK) != SORT_THREADS)
mutt_error _("Threading is not enabled.");
if ((Sort & SORT_MASK) != SORT_THREADS)
mutt_error _("Threading is not enabled.");
-
-#if defined (USE_IMAP) && ! defined (IMAP_EDIT_THREADS)
- else if (Context->magic == M_IMAP)
- mutt_error _("Compile Mutt with --enable-imap-edit-threads for break-thread support");
-#endif
else
{
{
else
{
{
@@
-1475,12
+1470,6
@@
CHECK_IMAP_ACL(IMAP_ACL_DELETE);
if ((Sort & SORT_MASK) != SORT_THREADS)
mutt_error _("Threading is not enabled.");
if ((Sort & SORT_MASK) != SORT_THREADS)
mutt_error _("Threading is not enabled.");
-
-#if defined (USE_IMAP) && ! defined (IMAP_EDIT_THREADS)
- else if (Context->magic == M_IMAP)
- mutt_error _("Compile Mutt with --enable-imap-edit-threads for link-threads support");
-#endif
-
else if (!CURHDR->env->message_id)
mutt_error _("No Message-ID: header available to link thread");
else if (!tag && (!Context->last_tag || !Context->last_tag->tagged))
else if (!CURHDR->env->message_id)
mutt_error _("No Message-ID: header available to link thread");
else if (!tag && (!Context->last_tag || !Context->last_tag->tagged))
@@
-2326,7
+2315,11
@@
CHECK_IMAP_ACL(IMAP_ACL_SEEN);
case OP_FORWARD_TO_GROUP:
CHECK_ATTACH;
case OP_FORWARD_TO_GROUP:
CHECK_ATTACH;
- if (op != OP_FOLLOWUP || !CURHDR->env->followup_to ||
+ if ((op == OP_FOLLOWUP || op == OP_FORWARD_TO_GROUP) &&
+ Context && Context->msgcount == 0) {
+ mutt_error (_("There are no messages."));
+ sleep (2);
+ } else if (op != OP_FOLLOWUP || !CURHDR->env->followup_to ||
mutt_strcasecmp (CURHDR->env->followup_to, "poster") ||
query_quadoption (OPT_FOLLOWUPTOPOSTER,_("Reply by mail as poster prefers?")) != M_YES)
{
mutt_strcasecmp (CURHDR->env->followup_to, "poster") ||
query_quadoption (OPT_FOLLOWUPTOPOSTER,_("Reply by mail as poster prefers?")) != M_YES)
{