Comments (13)
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.
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.
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.
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.
@bastibe don't worry 😸
Not going to promise, but I might look at this in near future.
from org-journal.
Do you still feel like working on this issue?
from org-journal.
@vkazanov oh sorry, I totally forgot about this one 🐱 I wanted something quick, so I am using org-capture for now.
from org-journal.
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.
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.
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.
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.
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
- 2019 :crypt:
-
Month file could look something like that.
- January, 01/2019 :crypt:
** Wednesday, 02/01/2019
** Thursday, 03/01/2019
- January, 01/2019 :crypt:
-
Week file could look something like that.
- Week 2, 07/01/2019 :crypt:
** Wednesday, 09/01/2019
** Thursday, 10/01/2019
- Week 2, 07/01/2019 :crypt:
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.
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)
- open-current-journal-file does not respect org-extend-today-until HOT 2
- Org Journal new entry does not enter time prefix along with current time for daily files HOT 5
- org-journal test suite failing under emacs 29 HOT 2
- support Daily / Weekly / Monthly journal at the same time
- After a recently upgrade of org, an error of "cannot be used in non-org buffer" raised HOT 4
- journal entries are not carried over when there are file headers HOT 2
- [BUG] Possible "hide entries" behavior bug. HOT 2
- [Question / Discussion] How to have a different `org-jounal-dir` for different projects?
- 'org-journal-new-entry' now seems broken with error: 'org-element-at-point' cannot be used in non-Org buffer HOT 2
- create-entry is brittle on unexpected contents in PROPERTIES blocks HOT 6
- Switch from travis to github actions HOT 1
- The test suite fails: HOT 4
- Write test for `org-extend-today-until` and re-factor references of `org-extend-today-until` into function
- Close issues opened before 2021? HOT 2
- Use Eask HOT 2
- org-journal.el:1984:1:Warning: the function `org--tag-add-to-alist' is not known to be defined -- see github action emacs 26.1 HOT 2
- rename master -> main and develop -> dev HOT 9
- Forum -- a issue open for general discussion about `org-journal` HOT 4
- Replace the caching functionality with`org-persist.el`... HOT 2
- `org-journal-new-entry` insert duplicate header on narrowed journal buffer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org-journal.