Comments (6)
Hi! Glad you like it!
- The resource is opened using
org-open-link-from-string
, which then usesorg-link-open
. That function has optional arguments to open files in emacs. Perhaps I could make it soC-u r
opens the resource in Emacs... - If I remember correctly there is no way of editing existing resources from
org-brain-visualize
. It would be nice, but I believe I looked into it and it was rather complicated to implement. - A lot of users have had problems with polymode, I'm not sure why. It is working for me, but I'm not using
org-brain
from MELPA but instead use my local development file. If you have a look at the open issues there are discussions about polymode, perhaps those could help you?
from org-brain.
Hi,
Thank you so much for the quick response.
- Do you think the config like
(add-hook 'org-mode-hook
'(lambda ()
(add-to-list 'org-file-apps '("\.pdf\'" . "xdg-open %s"))
may make a solution?
However I don't know how to specify open program with pdf-tools, currently as you can see I use xdg-open, basically let system determines. However, in dired or other mode, I can directly open PDF with pdf-tools - I got it. As I have played around org-brain last night, I got a lot of fun and found that open org file to edit it directly is also effective. :-)
- Okay, thank you! I may try original github version later. :-)
Actually I got additional questions,
- What does NICKNAME for? I tried to add nickname, but I don't know what is the use case for it.
- When I use "t" to change a node's title, it seems it just add a entry with new title ID in node's org file. I also tried to add #+TITLE: in org file, but nothing changed in visualized mode. I just wonder if I can do something like
- add a node(child or something) with name "a", that means there will generate a file named a.org
- then I changed its nickname or title whatever, then the name shown in visualized mode of that node will be the property I set. However such action may not add any entry or list in the a.org, just a real nickname.
from org-brain.
I didn't know about org-file-apps
. After reading the documetation, this works for me:
(add-to-list 'org-file-apps '("pdf" . emacs))
You don't need to add it in a hook.
Regarding your new questions:
- Nicknames can be used to give multiple names to the same entry when searching for it. If you have en entry with the title "Woods" you could also give it a nickname "Forest". Then if you use
M-x org-brain-visualize
or other commands both "Woods" and "Forest" will lead to the same entry. - Pressing
t
should not add a new entry. If it is a file entry it should add/change the#+TITLE
and if it is a headline entry it should change the headline itself. If you create an entry "a.org" and then visualize it and presst Hello RET
the entry name being visualized should be "Hello".
from org-brain.
(add-to-list 'org-file-apps '("pdf" . emacs)) works! Thank you so much!
- Do you mean, if I give entry a nickname, when I use M-x org-brain-visualize to open entry, I don't need to input a long name like a/b::c but short nickname instead? I tried it. If a entry a/b::c has nickname d, I still need input entry a/b::d. If it is what is, Yes, I confirmed it. :-)
- When I use MELPA version, t does not change anything, now I use github version, t changes entry's name, but leave #+TITLE no touched. :-(
Best regards,
from org-brain.
- May I suggest you use a completion package in Emacs which allows fuzzy matching? There are lots of them, I myself currently use selectrum but
ivy
andvertico
(and perhaps also the builtinido
, I can't remember) are good alternatives. Then you could write the title of the entry and it will match, not only at the beginning of the string. - It sounds very strange. Not sure why this is the case.
from org-brain.
Thank you so much for your patient reply.
I am still learning org-brain, and getting used to using it in my everyday work. Great work!
from org-brain.
Related Issues (20)
- Latex in a node title HOT 1
- single document use-case HOT 5
- help needed: enabling org-cite/citar actions in visualized buffer HOT 5
- [Q] org-brain-ensure-ids-in-buffer respecting a :noid: tag would be nice HOT 2
- Opening an entry instead creates a new file named after entry ID HOT 4
- Invalide function: define-hostmode HOT 2
- Show only description of links in text area HOT 4
- Can't add new nodes to the brain HOT 3
- Symbol’s value as variable is void: org-brain-poly-hostmode when ein:jupyter-server-start HOT 10
- Formating org data at Entry section HOT 1
- Not possible to overwrite mode-keymap HOT 1
- Symbol's value as variable is void: Org-capture-templates HOT 3
- The last grandchild(test level 3'') is showed under the "test level 1" HOT 4
- Is it possible to display all hierarchical under visualize-mind-map? HOT 1
- No more polymode? HOT 2
- Org-brain relationship adding messes up org-roam indexing HOT 1
- How many nodes can org-brain handle? HOT 5
- Finding CUSTOM_ID of a brain (sub+)section node for HTML exports. HOT 3
- Difference between C-u edge and plain edge? HOT 2
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-brain.