summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2017-11-08 14:18:45 -0700
committerEduardo Chappa <chappa@washington.edu>2017-11-08 14:18:45 -0700
commitf77dcb38620a334fffbd8153605f7943107dd28e (patch)
treec79bcfd605602f40520e614897f650bcd1d141e5
parent992045e7f3da4519e0820502bb78513ba373d903 (diff)
downloadalpine-f77dcb38620a334fffbd8153605f7943107dd28e.tar.xz
* When colors are edited from the main setup configuration screen, some
color settings are not updated until Alpine is restarted. Reported by Andrew Hill.
-rw-r--r--alpine/confscroll.c18
-rw-r--r--pith/pine.hlp13
2 files changed, 28 insertions, 3 deletions
diff --git a/alpine/confscroll.c b/alpine/confscroll.c
index 9b139083..9f2c98b5 100644
--- a/alpine/confscroll.c
+++ b/alpine/confscroll.c
@@ -5662,6 +5662,24 @@ fix_side_effects(struct pine *ps, struct variable *var, int revert)
pretty_var_name(var->name));
}
}
+ else if(var == &ps->vars[V_NORM_FORE_COLOR] ||
+ var == &ps->vars[V_NORM_BACK_COLOR] ||
+ var == &ps->vars[V_REV_FORE_COLOR] ||
+ var == &ps->vars[V_REV_BACK_COLOR] ||
+ var == &ps->vars[V_TITLE_FORE_COLOR] ||
+ var == &ps->vars[V_TITLE_BACK_COLOR] ||
+ var == &ps->vars[V_TITLECLOSED_FORE_COLOR] ||
+ var == &ps->vars[V_TITLECLOSED_BACK_COLOR] ||
+ var == &ps->vars[V_STATUS_FORE_COLOR] ||
+ var == &ps->vars[V_STATUS_BACK_COLOR] ||
+ var == &ps->vars[V_KEYLABEL_FORE_COLOR] ||
+ var == &ps->vars[V_KEYLABEL_BACK_COLOR] ||
+ var == &ps->vars[V_KEYNAME_FORE_COLOR] ||
+ var == &ps->vars[V_KEYNAME_BACK_COLOR]){
+ set_current_color_vals(ps);
+ ClearScreen();
+ ps->mangled_screen = 1;
+ }
else if(var == &ps->vars[V_KW_COLORS] ||
var == &ps->vars[V_INDEX_TOKEN_COLORS] ||
var == &ps->vars[V_IND_PLUS_FORE_COLOR] ||
diff --git a/pith/pine.hlp b/pith/pine.hlp
index c1262866..7e67079f 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 224 2017-10-27 19:58:37
+Alpine Commit 225 2017-11-08 14:18:33
============= h_news =================
<HTML>
<HEAD>
@@ -209,6 +209,10 @@ Bugs that have been addressed include:
<LI> When the locale is not set up to UTF-8, alpine might determine the
width of a character incorrectly. Reported by Alexandre Fedotov.
+
+ <LI> When colors are edited from the main setup configuration screen, some
+ color settings are not updated until Alpine is restarted. Reported by
+ Andrew Hill.
</UL>
<P>
@@ -17320,9 +17324,12 @@ folder is one of your incoming folders, it may be the nickname you've given
the folder.
Here are a couple samples of specific folder names:
<P>
-<CENTER><SAMP>{monet.art.example.com}mail/art-class</SAMP></CENTER>
+<CENTER><SAMP>{monet.art.example.com/user=vincent}mail/art-class</SAMP></CENTER>
<P>
-<CENTER><SAMP>{news.example.com/nntp}#news.comp.mail.pine</SAMP></CENTER>
+<CENTER><SAMP>{news.example.com/nntp/user=peter}#news.comp.mail.pine</SAMP></CENTER>
+<P>
+Observe that in order for an external folder (IMAP, POP, News) to be a match,
+you must also add the /user= option in the definition of the incoming folder.
<P>
The easiest way to fill in the &quot;Folder List&quot; field is to use
the &quot;T&quot; command that is available when the &quot;Folder List&quot; line is