On Mon, Jan 10, 2022 at 04:45:04PM -0800, Dan Fandrich wrote: > On Mon, Jan 10, 2022 at 06:27:04PM -0600, Derek Martin wrote: > > 1. Does anyone have any idea why ubuntu is shipping such an ancient > > version of Mutt? ;-) > > 1.13.2 was the most recent release of mutt at the beginning of 2020 when > Ubuntu > 20.04 went into testing
So it was... I imagined that version was considerably older. A
testament to Kevin's progress. :)
On Mon, Jan 10, 2022 at 05:27:32PM -0800, Kevin J. McCarthy wrote:
> On Mon, Jan 10, 2022 at 06:27:04PM -0600, Derek Martin wrote:
> > 2. It appears that this version of Mutt does not properly honor color
> > commands in headers that are continued in multiple lines. Is this
> > a bug that was found and fixed in a future version?
>
> Derek, I can't recall a recent fix pertaining to that, but perhaps I've
> forgotten.
I went back after I finished what I was working on, and compiled the
latest mutt. I can confirm the bug is still present.
> Can you provide a minimal reproduce of the problem?
I sure can:
set spoolfile = Path/to/coninued/header/message/folder
color normal default default
color header brightgreen default .
color header brightmagenta default ^(subject|from|to|cc|date)
With these, the specified headers will all be magenta. That is,
unless they are continued--then they will be green.
Possibly useful to know: I'm using gnome-terminal, with TERM forced
to xterm (because I don't actually have a use for the 256-color
behavior), and the option to use bright colors for bold (so you can
actually use the top 8 colors) is checked. Although, I just tried it
with my ancient xterm (actual xterm) config and it behaves the same
way there as well. Point is, I'm not using a 256-color config.
> You don't have $header_color_partial set, do you?
No.
-=-=-=-
On a separate note, I tried to compile 2.1.5 with the sidebar enabled,
and I got this mess (which I made no effort to investigate, but I can
later, theoretically, if you like), just FYI:
cc -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\"
-DBINDIR=\"/usr/local/bin\" -DMUTTLOCALEDIR=\"/usr/local/share/locale\"
-DHAVE_CONFIG_H=1 -I. -I. -I. -Wall -pedantic -Wno-long-long -g -O2 -MT
curs_main.o -MD -MP -MF .deps/curs_main.Tpo -c -o curs_main.o curs_main.c
curs_main.c: In function ‘mutt_index_menu’:
curs_main.c:1293:12: error: ‘OP_SIDEBAR_OPEN’ undeclared (first use in this
function)
1293 | case OP_SIDEBAR_OPEN:
| ^~~~~~~~~~~~~~~
curs_main.c:1293:12: note: each undeclared identifier is reported only once for
each function it appears in
curs_main.c:2617:12: error: ‘OP_SIDEBAR_FIRST’ undeclared (first use in this
function)
2617 | case OP_SIDEBAR_FIRST:
| ^~~~~~~~~~~~~~~~
curs_main.c:2618:12: error: ‘OP_SIDEBAR_LAST’ undeclared (first use in this
function)
2618 | case OP_SIDEBAR_LAST:
| ^~~~~~~~~~~~~~~
curs_main.c:2619:12: error: ‘OP_SIDEBAR_NEXT’ undeclared (first use in this
function); did you mean ‘OP_SEARCH_NEXT’?
2619 | case OP_SIDEBAR_NEXT:
| ^~~~~~~~~~~~~~~
| OP_SEARCH_NEXT
curs_main.c:2620:12: error: ‘OP_SIDEBAR_NEXT_NEW’ undeclared (first use in this
function); did you mean ‘OP_MAIN_NEXT_NEW’?
2620 | case OP_SIDEBAR_NEXT_NEW:
| ^~~~~~~~~~~~~~~~~~~
| OP_MAIN_NEXT_NEW
curs_main.c:2621:12: error: ‘OP_SIDEBAR_PAGE_DOWN’ undeclared (first use in
this function)
2621 | case OP_SIDEBAR_PAGE_DOWN:
| ^~~~~~~~~~~~~~~~~~~~
curs_main.c:2622:12: error: ‘OP_SIDEBAR_PAGE_UP’ undeclared (first use in this
function)
2622 | case OP_SIDEBAR_PAGE_UP:
| ^~~~~~~~~~~~~~~~~~
curs_main.c:2623:12: error: ‘OP_SIDEBAR_PREV’ undeclared (first use in this
function)
2623 | case OP_SIDEBAR_PREV:
| ^~~~~~~~~~~~~~~
curs_main.c:2624:12: error: ‘OP_SIDEBAR_PREV_NEW’ undeclared (first use in this
function); did you mean ‘OP_MAIN_PREV_NEW’?
2624 | case OP_SIDEBAR_PREV_NEW:
| ^~~~~~~~~~~~~~~~~~~
| OP_MAIN_PREV_NEW
curs_main.c:2628:12: error: ‘OP_SIDEBAR_TOGGLE_VISIBLE’ undeclared (first use
in this function)
2628 | case OP_SIDEBAR_TOGGLE_VISIBLE:
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:908: curs_main.o] Error 1
make[2]: Leaving directory '/home/demartin/Downloads/mutt-2.1.5'
make[1]: *** [Makefile:928: all-recursive] Error 1
make[1]: Leaving directory '/home/demartin/Downloads/mutt-2.1.5'
make: *** [Makefile:614: all] Error 2
My configure line:
./configure --enable-sidebar --disable-external-dotlock --enable-hcache
--
Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address. Replying to it will result in
undeliverable mail due to spam prevention. Sorry for the inconvenience.
signature.asc
Description: PGP signature
