Comments (6)
probably pulling the data needed from sqlite directly and recreating the org file just for the needed days would probably be more functional.
That's an interesting idea. It's not exactly related to this, but I have a prototype Org indexer package for Emacs that indexes Org entries into a SQLite database, based on John Kitchin's work he published on his blog. If you'd find it helpful in some way, let me know and I'll post it.
from memacs.
from memacs.
@JayDugger You can see the code here: https://github.com/alphapapa/helm-org-rifle/tree/org-rifle/sandbox It's very messy, pre-prototype code, but maybe you can get something out of it. It does work, but it's not organized to work as a package with user-facing commands, so you have to eval the code manually.
Note as well that much of it is directly copied from John Kitchin's blog post. I also haven't touched it for a while, so take it for what it's worth. :)
from memacs.
P.S. I guess the place to start is here, which appears to be approximately where I left off: https://github.com/alphapapa/helm-org-rifle/blob/org-rifle/sandbox/org-rifle-indexer1.el
from memacs.
from memacs.
Hi @kidd,
Well, my answer won't make you happy I guess.
My memacs agenda is slow.
Stats on my memacs files alone:
710528 headings in 1507643 total lines
1859 task headings
708669 non-task headings
217 open tasks:
TODO: 108
STARTED: 107
WAITING: 2
1642 finished tasks:
CANCELLED: 1
DONE: 1641
... where those task headings within memacs files are part of archived very old files and not related to my daily workflows any more.
Read about (early) performance measurements and optimizations: https://github.com/novoid/Memacs/blob/master/docs/performance.org
Probably more of interest is https://github.com/novoid/Memacs/blob/master/docs/FAQs_and_Best_Practices.org which describes some mitigation stuff I did.
The work of Kitchin where he moved things into SQL is quite interesting. I did not try this on my own. I rarely use my memacs agenda and therefore I accept the bad performance.
I'm going to close the issue for now. Please report back on any insights - others may want to know.
from memacs.
Related Issues (20)
- Difference to Orger + plans for a Hypothesis module HOT 1
- memacs_firefox output does not include url title HOT 7
- Updating to Python 3.9 results in 'HTMLParser' object has no attribute 'unescape' error HOT 4
- memacs/ical fails to parse valid iCalendar files & generally mishandles timezones HOT 1
- memacs_filenametimestamps exclude multiple directories not working HOT 1
- Can't parse timestamp HOT 1
- suggest: screencast examples HOT 5
- memacs_csv: help parameter is not working HOT 3
- implement sub-packages to install only selected module dependencies HOT 6
- suggest revision installation via pip, provision of test/reference data HOT 2
- a few links in `README.org` are dysfunctional HOT 1
- suggest: extension of general README.org (though pending revision) HOT 1
- Project dependencies may have API risk issues HOT 1
- redirecting Memacs std output to file causes broken Orgdown format (instead of using -o parameter) HOT 8
- Add optional parameter for body text
- Feature Request: Matrix Module HOT 1
- --add-to-time-stamps doesn't work at least with filenametimestamp module
- AttributeError: type object 'OrgFormat' has no attribute 'datetime' - after ubuntu update HOT 3
- kodi: probable issue with content of row (OrderedDict) HOT 3
- filenametimestamps exclusion not working if excluded directory contains "bad files" HOT 1
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 memacs.