Giter VIP home page Giter VIP logo

Comments (13)

d12frosted avatar d12frosted commented on August 21, 2024 1

For a proper solution, I would need to add a setting for daily/weekly/monthly diaries. I guess that's doable, but it will take a while.

I think it would be nicer to just add support of using one file for more than one day. So that lets user to configure daily/weekly/monthly or any other behaviour on file name level. org-journal should properly insert date if it's missing and show journaled days in calendar. Oh and probably search should be checked for proper behaviour (never actually used this functionality from org-journal).

from org-journal.

bastibe avatar bastibe commented on August 21, 2024

Thank you, that's a very interesting proposition!

You could add the current day to your org-journal-time-format and org-journal-time-prefix. This would reproduce your first example, but would add the day to every time heading.

For a proper solution, I would need to add a setting for daily/weekly/monthly diaries. I guess that's doable, but it will take a while. If you want to try implementing it, I would be happy to merge that as well.

from org-journal.

BrianZbr avatar BrianZbr commented on August 21, 2024

My elisp skills are very minimal so I doubt I'll manage to implement this myself. I've got the day added to org-journal-time-prefix for now. I'm keeping this open with an updated title, as a feature request for the future... thanks!

from org-journal.

bastibe avatar bastibe commented on August 21, 2024

I have to be honest here: I have no idea what my time frame for this is going to be or if I will ever come around to doing this. I'll try, but I can't promise anything.

If anyone else wants to take a stab at this, I'd be very grateful.

from org-journal.

d12frosted avatar d12frosted commented on August 21, 2024

@bastibe don't worry 😸

Not going to promise, but I might look at this in near future.

from org-journal.

vkazanov avatar vkazanov commented on August 21, 2024

@d12frosted

Do you still feel like working on this issue?

from org-journal.

d12frosted avatar d12frosted commented on August 21, 2024

@vkazanov oh sorry, I totally forgot about this one 🐱 I wanted something quick, so I am using org-capture for now.

from org-journal.

 avatar commented on August 21, 2024

Maybe a better Idea would be to aggregate all of a (time) daily's into a monthly or weekly file. this would help with agenda loading hundreds of files looking for todo/ and todone

from org-journal.

bastibe avatar bastibe commented on August 21, 2024

This would break the calendar integration, in that journal entries would no longer show for each individual day, but only once per week or month.

from org-journal.

casch-at avatar casch-at commented on August 21, 2024

This issue sounds very similuar to what I have created a todo for.

* TODO: org-journal: combine journals to week/month/year for faster encryption/decryption/searching
** NEXT: Study the code and make notes about a possible implementation 

This would break the calendar integration, in that journal entries would no longer show for each individual day, but only once per week or month.

If the week/month/year file contains a well defined header for each day entry it would be possible to create calendar entries, wouldn't it?

Requirements:

  • defcustom to set daily/weekly/monthly/yearly journal file
  • code to transform journals to daily/weekly/monthly/yearly
  • code which extracts the daily journals from daily/weekly/monthly/yearly journals for calendar integration
  • ...

What else?

from org-journal.

bastibe avatar bastibe commented on August 21, 2024

If the week/month/year file contains a well defined header for each day entry it would be possible to create calendar entries, wouldn't it?

The "header" is defined by org-journal-date-format and org-journal-date-prefix. You would have to grep for a regex created from the format. And you would need to do so in fundamental mode. Org-mode can not be loaded for bulk operations as it is way too slow to load.

code to transform journals to daily/weekly/monthly/yearly

Honestly, I would leave that up to the user.

from org-journal.

casch-at avatar casch-at commented on August 21, 2024

Honestly, I would leave that up to the user.

Perfect :-D

What about the file format of the daily/weekly/monthly/yearly file.
Create just a top most header with the weekly/monthly/yearly date, and create another header below it with the usual daily header?

  • Year file could look something like that.

    • 2019 :crypt:
      ** Wednesday, 02/01/2019
      ** Thursday, 03/01/2019
  • Month file could look something like that.

    • January, 01/2019 :crypt:
      ** Wednesday, 02/01/2019
      ** Thursday, 03/01/2019
  • Week file could look something like that.

    • Week 2, 07/01/2019 :crypt:
      ** Wednesday, 09/01/2019
      ** Thursday, 10/01/2019

Or should we also create a month, and week header for the year file, and a week header for the month file, respectively?

from org-journal.

bastibe avatar bastibe commented on August 21, 2024

I agree with your first proposal: Create one main headline per file, and only daily headlines beyond that (which should probably re-use the existing daily formatting rules, but a different prefix).

Maybe we could actually use the file format, and check if it contains the %Y, %m, and %d markers, to decide whether it will create daily, monthly, or annual files. We should then add new monthly and annual format strings.

from org-journal.

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.