Comments (4)
Thanks for the quick answer! Indeed if I have an open buffer it seems to works fine. The value of
helm-org-rifle-close-unopened-file-buffers
ist
(default value), but if I set it tonil
it all works even if the buffer isn't open.
Yep, that's how it's supposed to work.
However I also tried to use
let
to locally set the variable inside thehelm-org-rifle-open-in-brain
function, but that didn't seem to work.
That's not the correct scope in which to bind the variable. It must be bound around the search command, not the action command.
I've actually fiddled a little bit with
org-ql
too. It seems like a really nice package, and I've thought about the possibility of using it as the "search engine" fororg-brain
since that would probably declutter the code. Howeverorg-brain
has this concept of "file entries" (the part above the first headline in a file) whichorg-ql
(andorg-mode
in general) doesn't seem to handle very well.
org-ql
is intended to search outlines, not pre-outline matter in a file.
@Whil- has submitted a patch to
org-mode
which in my understanding will allow files to have an ID, properties, etc. That would probably make headlines and "file entries" more equal.
Yes, we've been discussing Gustav's proposal on the mailing list. Suffice it to say here that opinions are mixed. ;)
Another aspect is that I try to have few dependencies to other packages, but I'm starting to think that may be stubborn and dumb :)
For packages intended to be put in Emacs/Org core, that makes sense, but for MELPA packages, IMO it makes sense to use the available tools to simplify one's code.
I tried using
org-sidebar
to make a sidebar fororg-brain
(using theorg-sidebar
function withorg-ql
items). One issue here was that the sidebar seems to be infundamental-mode
, which seems odd to me.
The sidebar buffers have no natural major mode at this time; they aren't Org buffers, nor are they Agenda buffers. fundamental-mode
is the default major mode for Emacs buffers.
I'll probably be rewriting org-sidebar
's buffers to use more of org-ql
, in which case they'll be org-ql-view
buffers in org-agenda-mode
.
from org-rifle.
From my understanding the package (helm-org-rifle) seems to work as intended. I had just missed the helm-org-rifle-close-unopened-file-buffers
variable. Thank you for your help!
from org-rifle.
Hi Erik,
No problem, it might be a bug that needs to be fixed.
What's your setting for helm-org-rifle-close-unopened-file-buffers
? Does it happen if you try to use the action on a candidate that's in a buffer which was already open when you called the helm-org-rifle-brain
command?
BTW, you might also be interested in trying org-ql
as a backend, since it's more powerful and faster than helm-org-rifle
. Basically, the only advantage of helm-org-rifle
at the moment is the way it displays context, which is a feature I may add to org-ql
in the future.
from org-rifle.
Thanks for the quick answer! Indeed if I have an open buffer it seems to works fine. The value of helm-org-rifle-close-unopened-file-buffers
is t
(default value), but if I set it to nil
it all works even if the buffer isn't open. However I also tried to use let
to locally set the variable inside the helm-org-rifle-open-in-brain
function, but that didn't seem to work.
I've actually fiddled a little bit with org-ql
too. It seems like a really nice package, and I've thought about the possibility of using it as the "search engine" for org-brain
since that would probably declutter the code. However org-brain
has this concept of "file entries" (the part above the first headline in a file) which org-ql
(and org-mode
in general) doesn't seem to handle very well. @Whil- has submitted a patch to org-mode
which in my understanding will allow files to have an ID, properties, etc. That would probably make headlines and "file entries" more equal. Another aspect is that I try to have few dependencies to other packages, but I'm starting to think that may be stubborn and dumb :)
I tried using org-sidebar
to make a sidebar for org-brain
(using the org-sidebar
function with org-ql
items). One issue here was that the sidebar seems to be in fundamental-mode
, which seems odd to me.
from org-rifle.
Related Issues (20)
- Creating process pipe: Too many open files HOT 16
- tag inheritance and/or file matching HOT 1
- don't truncate headings HOT 3
- Changing value of helm-org-rifle-fontify-headings to nil causes helm-org-rifle-org-directory to stop working HOT 3
- org-narrow-to-subtree: prevents showing other parts of file, still shows from other files
- command-line client HOT 1
- Search gives up on small strings HOT 6
- Prioritising heading matches HOT 2
- Wrong number of arguments error with helm-org-rifle--refile HOT 1
- Req: Indication of status (progress, no results, which files have been searched?) HOT 1
- Req: Results in current file displayed first HOT 1
- helm-collect-matches error HOT 1
- Is there a way to do a exact match? HOT 1
- Disabling helm-org-rifle-fontify-headings breaks helm-org-rifle-agenda-files HOT 6
- helm-org-rifle-directories: how to add many directories? HOT 1
- Limit candidates to those with certain properties HOT 1
- Fix warning "Helm source <file>: after-init-hook Should be defined as a symbol HOT 1
- Docstring length warnings HOT 1
- Returned search results not always respecting sort order HOT 1
- Warning (emacs): ... after-init-hook Should be defined as a symbol HOT 5
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-rifle.