Code Monkey home page Code Monkey logo

Comments (8)

flatcap avatar flatcap commented on June 15, 2024 1

@emtiu
Sorry about that.
Thanks for the detailed bug report.
I'm working on it and I'll make a release as I can.

from neomutt.

emtiu avatar emtiu commented on June 15, 2024 1

Sure, don't worry and take your time, these things happen :) Let me know if I can help further.

from neomutt.

flatcap avatar flatcap commented on June 15, 2024 1

@ragu-manjegowda
Hmm... I'm surprised that ever worked :-)

There's a 10 (one zero) in the middle of your set index_format... that shouldn't be there.
If I remove that, it works correctly in 2024-04-25, 2024-04-16 and 2024-03-29
(I've also upgrade the %M and %Y conditions to use the modern %<X?Y&Z> format.

folder-hook Inbox 'set index_format=" %4C %zc %zs %zt  | %-35.35L   %@attachment_info@  %<M?~(%1M) >%-30.50s %> %<Y?%Y > %(!%a %d %h %H:%M)"'

index-format-hook attachment_info '~M text/calendar ~X > 0' ' '
index-format-hook attachment_info '~M text/calendar' "  "
index-format-hook attachment_info '~X > 0' "  "
index-format-hook attachment_info '~A' "   "

set attach_format = "%u%D  %T%-75.75d %<T?&   > %5s · %m/%M"

from neomutt.

ragu-manjegowda avatar ragu-manjegowda commented on June 15, 2024 1

@ragu-manjegowda Hmm... I'm surprised that ever worked :-)

There's a 10 (one zero) in the middle of your set index_format... that shouldn't be there. If I remove that, it works correctly in 2024-04-25, 2024-04-16 and 2024-03-29 (I've also upgrade the %M and %Y conditions to use the modern %<X?Y&Z> format.

folder-hook Inbox 'set index_format=" %4C %zc %zs %zt  | %-35.35L   %@attachment_info@  %<M?~(%1M) >%-30.50s %> %<Y?%Y > %(!%a %d %h %H:%M)"'

index-format-hook attachment_info '~M text/calendar ~X > 0' ' '
index-format-hook attachment_info '~M text/calendar' "  "
index-format-hook attachment_info '~X > 0' "  "
index-format-hook attachment_info '~A' "   "

set attach_format = "%u%D  %T%-75.75d %<T?&   > %5s · %m/%M"

Thank you so much :) You are the best!

from neomutt.

ragu-manjegowda avatar ragu-manjegowda commented on June 15, 2024

I am running into same issue, refraining from upgrading for now.

This is what I have and it works fine with NeoMutt 20240329

folder-hook Inbox 'set index_format=" %4C %zc %zs %zt  | %-35.35L   %@attachment_info@  %?M10?~(%1M) ?%-30.50s %> %?Y?%Y ? %(!%a %d %h %H:%M)"'

index-format-hook attachment_info '~M text/calendar ~X > 0' ' '
index-format-hook attachment_info '~M text/calendar' "  "
index-format-hook attachment_info '~X > 0' "  "
index-format-hook attachment_info '~A' "   "

set attach_format = "%u%D  %T%-75.75d %<T?&   > %5s · %m/%M"

Similar to op, I have this since 3 years and no idea how they work.

from neomutt.

Tonus1 avatar Tonus1 commented on June 15, 2024

Just hitted something similar.

This worked since several years and broke in last 2024-04-25 version :

set index_format="%4C|%=11y| %<[y?%<[m?%<[d?%-10.10[%H:%M]&%-10.10[%d %a]>&%-10.10[%d %b]>&%-10.10[%b %Y]> | %-25.25L|%?X?A&-?| %Z |%?M?#%-2.2M >>>&? %s%> |%=8c"

The >>> seems to be the culprit as changed with ··· like this worked :

set index_format="%4C|%=11y| %<[y?%<[m?%<[d?%-10.10[%H:%M]&%-10.10[%d %a]>&%-10.10[%d %b]>&%-10.10[%b %Y]> | %-25.25L|%?X?A&-?| %Z |%?M?#%-2.2M ···&? %s%>  |%=8c"

If that can help...

from neomutt.

flatcap avatar flatcap commented on June 15, 2024

@Tonus1
Yes, that's the same problem.
The parser is working on a conditional %<X?... then finds some plain text > that looks like its end marker.

from neomutt.

anufrievroman avatar anufrievroman commented on June 15, 2024

I have the same error message but for this line:

set status_format = " %f • %l • %m messages%?n? • %n new ?%?d? • %d to delete ?%?t?"

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.