Code Monkey home page Code Monkey logo

Comments (12)

lfos avatar lfos commented on July 30, 2024

Probably not. I get notifications for recurrent items. Which calcurse version are you using? What does the item (line in the data file) look like?

from calcurse.

rgc69 avatar rgc69 commented on July 30, 2024

Hi, calcurse version 4.2.2. The line for a recurrent appointments looks like:
02/08/2017 @ 18:30 -> 02/08/2017 @ 19:15 {1D -> 03/01/2017} |Blacklist
Notify-bar (& notifications) works great with "normal" apointments:
02/14/2017 @ 09:00 -> 02/14/2017 @ 09:30|San Valentino

from calcurse.

lfos avatar lfos commented on July 30, 2024

Works fine for me. Can you try to reproduce the issue on a stock configuration? And maybe a data file which contains nothing but the recurrent item in question?

from calcurse.

rgc69 avatar rgc69 commented on July 30, 2024

I think I got it. It's a problem with notification.notifyall, and the '!' flag. Even if notification.notifyall=all (as far as I understand, in this way all the events are notified), only If I put a '!' on the recursive event, the remaining time to the recursive event is visible inside the notify-bar. And no matter what is the value of notification.notify ('all', 'flagged' or 'unflagged'), only the "normal" items (i.e. not the recurrent one's) are notified according to the value, and visible in the notify-bar. Just to be clear, with the recursive one, no matter the value of notification.notify, I have to put (or remove) the '!' flag (it's like a trick), and then I can see the remaining time in the notify-bar (but no notification in the end).

EDIT: as for the notification, I use notify-send, and with the recursive appointments I only see an empty bubble. I think it's a problem regarding the {} brackets of the recursive events. Try:
notify-send "calcurse -n" works fine with normal appointments ( 02/08/2017 @ 22:34 -> 02/08/2017 @ 22:35|Test) , and return an empty bubble with recursive one's ( 02/08/2017 @ 22:34 -> 02/08/2017 @ 22:35 {1D}| Test

from calcurse.

lfos avatar lfos commented on July 30, 2024

I think I was able to debug and fix this, seems like it is not related to flagging at all. Could you please check the commit on current master and see whether it fixes the issue?

from calcurse.

lfos avatar lfos commented on July 30, 2024

Also, could you please open another ticket for the (unrelated) notify-send issue? Thanks!

from calcurse.

rgc69 avatar rgc69 commented on July 30, 2024

Now everything's fine, notify-bar and notify-send issues! Thank you very much!

from calcurse.

chaosmonk1 avatar chaosmonk1 commented on July 30, 2024

I have this problem with 4.3.0. Recurring events are not returned by calcurse -n

from calcurse.

lhca avatar lhca commented on July 30, 2024

Can you confirm that at the time of your query the event were to happen after midnight (belonging to tomorrow)? If so, it will appear after midnight!

from calcurse.

chaosmonk1 avatar chaosmonk1 commented on July 30, 2024

Thanks, you're right. After midnight the event appeared. Is there a way to override this behavior so that recurring events appear 24 hours in advance like non-recurring events do?

from calcurse.

lhca avatar lhca commented on July 30, 2024

No. It's a bug, unfortunately. If you are not building calcurse yourself, you will have to wait for the next release.

If you do build calcurse yourself, you can have a look at my cloned repository. The first commit of the branch notify-review contains a fix (lhca@4cc6a55).

from calcurse.

chaosmonk1 avatar chaosmonk1 commented on July 30, 2024

from calcurse.

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.