Code Monkey home page Code Monkey logo

Comments (8)

flatcap avatar flatcap commented on June 7, 2024 1

Thanks, @bmclean2 that's very helpful.
The 'Assertion failure' is expected -- the code was undergoing some major changes in that side-branch.

Please can I ask that you do some different bisection, now -- that of your config.
First, please check that the basic NeoMutt works; zero config:

neomutt -n -F /dev/null

If that works, and I really hope it does, please can you comment out half of your config and start up NeoMutt.
If that works, try the other half.
Then repeat with smaller blocks.

One or more config lines is causing NeoMutt to get into a loop.
If you can find one, I can fix it.

Thanks ❤️

from neomutt.

bmclean2 avatar bmclean2 commented on June 7, 2024 1

Can confirm that the original problem is rectified by %> .

from neomutt.

roccoblues avatar roccoblues commented on June 7, 2024

Hi, to clarify: the title says "Latest release ...". Is it only happening with 20240416? If you switch back to a previous version this does not happen?

from neomutt.

bmclean2 avatar bmclean2 commented on June 7, 2024

20240329 starts up normally. I compiled it with the same options as the homebrew version except truecolor—couldn't figure out how to turn that on. So yes, only with 20240416

from neomutt.

roccoblues avatar roccoblues commented on June 7, 2024

Sorry about that. Are you maybe able to bisect the issue to a specific commit? Also can you try with the latest main?

I'm also on macOS, these are my usual configure options:

./configure --notmuch --with-notmuch=/opt/homebrew/opt/notmuch --disable-doc --disable-nls --lmdb --zlib --idn2 --with-idn=/opt/homebrew/opt/libidn2 --with-iconv=/opt/homebrew/opt/libiconv --with-ncurses=/opt/homebrew/opt/ncurses

truecolor depends on the ncurses version, afaik.

from neomutt.

bmclean2 avatar bmclean2 commented on June 7, 2024

The bisect found 9325596 as the problematic commit. Worth mentioning that while I was bisecting, 7520d13 printed this to the screen: Assertion failed: (DTYPE(he_base->type) == DT_STRING), function cs_subset_string, file helpers.c, line 301.

Edit (flatcap) unquote commits so that GitHub links them

from neomutt.

bmclean2 avatar bmclean2 commented on June 7, 2024

@flatcap, I did some more playing around on 20240416. This line is the culprit:

folder-hook . "set index_format='%3C %4Z %?X?& ? %D %-20.20F %.70s (%-4.4c) %>'"

Specifically, if I change the %4Z to %4z, it works. I'm not sure if this is a bug or a feature. The docs state that %Z should work, and indeed it worked in previous versions.

from neomutt.

flatcap avatar flatcap commented on June 7, 2024

Great find! (but I don't think %Z is to blame)
There's a mistake at the end of your format string.
The %> (hard padding) expando is missing the pad character.
It should read %> (percent, greater-than, space).

The parser ought to catch this.
For now, I've changed the code to default to (space).

Please can you give branch [devel/padding] a try (#4277)

Thanks

from neomutt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.