Code Monkey home page Code Monkey logo

Comments (5)

rougier avatar rougier commented on June 3, 2024

We modified the code a bit because mu4e links are somehow reserved for mu4e. You now have the option to name the link to whatever you want and the default is mu. I think you can set it back to mu4e but it might interfere with mu4e regular links.

from mu4e-dashboard.

jaaved avatar jaaved commented on June 3, 2024

replacine mu with mu4e worked.

A question related to count:
this works
mu:from:[email protected]|%3d

but not this
mu:(date:4w..now AND from:[email protected])|%3d

this displays a "+" symbol instead of count.

Is count is not expected to work with compound queries? @rougier

from mu4e-dashboard.

rougier avatar rougier commented on June 3, 2024

It depens on the count. Since you give %3d for format and if the number is higher, it will display "+++" to indicate that the count is higher. Try with %5d for example. But it seems there's a bug for some peopel (see #19)

from mu4e-dashboard.

jaaved avatar jaaved commented on June 3, 2024

@rougier thanks for the update,

I tried few things , the issue is not about using %5d because my email numbers are not that big. What I found out is

Using braces was the problem

mu:(date:today..now AND from:[email protected])|%3d

this worked:

mu:date:today..now AND from:[email protected]|%3d

Update:

e.g. In this

[[mu:(date:today..now AND from:[email protected])][today]][[mu:(date:today..now AND from:[email protected])|%3d][  0]] 

clicking on today opens expected mu4e buffer with emails as expected but the count part is getting displayed as zero.
Braces works in the link but not in the count.

from mu4e-dashboard.

rougier avatar rougier commented on June 3, 2024

Thanks for the report. I think the braces are interpreted by the shell when we make the call:

$ mu find date:today..now | wc -l
9
$ mu find "(date:today..now)" | wc -l
9
$ mu find (date:today..now) | wc -l
zsh: number expected
0

Can you confirm? If so, it's a matter of surrounding the query with \" in the shell call. Could you make a PR?

from mu4e-dashboard.

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.