+2009-05-31 11:32 +0200 Rocco Rutte <pdmef@gmx.net> (68ee7fe4aa49)
+
+ * handler.c, init.h, rfc3676.c: f=f: Strip trailing spaces for
+ interoperability. Closes #3001.
+
+ If we make a fixed reply to a flowed message we remove trailing
+ spaces and can now safely allow $indent_string to be used which is
+ what users expect.
+
+ Second, if we make a flowed reply to a fixed message we also strip
+ trailing spaces since from format=fixed we assume all lines are
+ fixed (i.e. we don't want to errorneously make fixed lines flowed).
+
+2009-05-31 10:40 +0200 Rocco Rutte <pdmef@gmx.net> (03ea7644f71b)
+
+ * ChangeLog, handler.c, init.h, mutt.h: Add $honor_disposition to not
+ display attachments inline. Closes #3170.
+
+ Previously all MIME parts were displayed inline regardless of the
+ Content-Disposition header (if present). With $honor_disposition
+ set, only inline parts are displayed inline, attachments can only be
+ viewed from the attachments menu.
+
2009-04-25 01:56 -0400 Dan Loewenherz <daniel.loewenherz@yale.edu> (c1b947f60ea6)
* init.h: Disables the insecure SSLv2 protocol. Closes #3192.
struct q_class_t *QuoteList = NULL;
int i, j, ch = 0, rc = -1, hideQuoted = 0, q_level = 0, force_redraw = 0;
int lines = 0, curline = 0, topline = 0, oldtopline = 0, err, first = 1;
- int r = -1, wrapped = 0;
+ int r = -1, wrapped = 0, searchctx = 0;
int redraw = REDRAW_FULL;
FILE *fp = NULL;
LOFF_T last_pos = 0, last_offset = 0;
{
wrapped = 0;
+ if (PagerContext > 0 && PagerContext < LINES - 2 - option (OPTHELP) ? 1 : 0)
+ searchctx = PagerContext;
+ else
+ searchctx = 0;
+
search_next:
if ((!SearchBack && ch==OP_SEARCH_NEXT) ||
(SearchBack &&ch==OP_SEARCH_OPPOSITE))
{
/* searching forward */
- for (i = wrapped ? 0 : topline + 1; i < lastLine; i++)
+ for (i = wrapped ? 0 : topline + searchctx + 1; i < lastLine; i++)
{
if ((!hideQuoted || lineInfo[i].type != MT_COLOR_QUOTED) &&
!lineInfo[i].continuation && lineInfo[i].search_cnt > 0)
else
{
/* searching backward */
- for (i = wrapped ? lastLine : topline - 1; i >= 0; i--)
+ for (i = wrapped ? lastLine : topline + searchctx - 1; i >= 0; i--)
{
if ((!hideQuoted || (has_types &&
lineInfo[i].type != MT_COLOR_QUOTED)) &&
}
if (lineInfo[topline].search_cnt > 0)
+ {
SearchFlag = M_SEARCH;
+ /* give some context for search results */
+ if (topline - searchctx > 0)
+ topline -= searchctx;
+ }
break;
}
mutt_error _("Not found.");
}
else
+ {
SearchFlag = M_SEARCH;
+ /* give some context for search results */
+ if (PagerContext > 0 && PagerContext < LINES - 2 - option (OPTHELP) ? 1 : 0)
+ searchctx = PagerContext;
+ else
+ searchctx = 0;
+ if (topline - searchctx > 0)
+ topline -= searchctx;
+ }
+
}
redraw = REDRAW_BODY;
break;