Comments (14)
from org-remark.
Thank you. I will look. Can I assume you are on the dev/nov.el branch?
from org-remark.
Thank you. I will look. Can I assume you are on the dev/nov.el branch?
yes definetly I just checked
from org-remark.
Trying to reproduce the error but I cannot. I am using “marginalia.org” with other highlights, as your error indicates that’s how you use it.
It is saying Org-remark is trying to narrow a headline before the first headline. What does your maeginalia.org look like before thr first headline?
from org-remark.
Trying to reproduce the error but I cannot. I am using “marginalia.org” with other highlights, as your error indicates that’s how you use it.
It is saying Org-remark is trying to narrow a headline before the first headline. What does your maeginalia.org look like before thr first headline?
there is no marginalina.org file generated in this case, this is the problem
from org-remark.
there is no marginalina.org file generated in this case, this is the problem
I see. What is the value of org-remark-notes-file-name
? (It’s a user option).
Where is the .sh file in your file system? Perhaps it is in a remote server and Org-remark fails to find the directory?
from org-remark.
there is no marginalina.org file generated in this case, this is the problem
I see. What is the value of
org-remark-notes-file-name
? (It’s a user option).Where is the .sh file in your file system? Perhaps it is in a remote server and Org-remark fails to find the directory?
marginalia.org
I think I have to run some more tests and will report later. something is very odd here.
from org-remark.
marginalia.org
I think I have to run some more tests and will report later. something is very odd here
That’s the default value. At the moment, I cannot reproduce the issue when I have a .sh file in my local directory.
I assume this is not a regression introduced by the recent refactoring…
from org-remark.
from org-remark.
Thank you for the detail steps. I’ll try to reproduce the issue.
from org-remark.
However when I created a new empty directory and repeated the steps 2-4 above, I obtained the error I mentioned.
I tried this with a new, empty directory. I cannot reproduce the problem. I have no error, marginalia.org gets created, and the highlight gets saved to it, as you normally expect.
Just in case we have different source (I might have pushed some commits after you have pulled the branch), I merged the dev/nov.el branch with main. It will be available via GNU-devel ELPA overnight.
How do you normally update your packags? Via package.el
? Do you normally use Git to do so?
If you normally use package.el
, my suggestion is:
- Wait until the GNU-devel gets updated with the new Org-remark commit
- Use
packge.el
to update Org-remark in your normal way - Then test this issue again
Thank you for staying with me on this. It's a strange issue.
from org-remark.
from org-remark.
Looking at your error, I think the commit you use is slightly behind the latest. Could you please try the latest main and see if the problem persists please?
The reason why I think this is that the error should not happen i the current code. See this line. In your error stack, the function org-remark-new-headline
is called with the first argument being number 1.
It is passed as the level
variable in the function. In the line I quoted above, there is unless (= level 1)
. org-narrow-to-subtree()
should never be called when level is 1, but that’s where your error occurs.
I added this unless
conditional later than when I initially requested you to test the branch.
I think updating the codebaae to the latest main branch should resolve this issue for you.
from org-remark.
Mo problem! Thank you 🙏
from org-remark.
Related Issues (20)
- [EWW] Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) HOT 1
- unable to load package on windows HOT 5
- marks not associated with a file in eww? HOT 1
- [Feature Request] Add icon / visual for highlights with annotation HOT 1
- WISHLIST: info-mode support HOT 3
- [Requst for Help] Please test dev/nov branch for backward compatibility before merge HOT 24
- org-remark-notes-display-buffer-action documentation could be more specific HOT 12
- [doomemacs] Possible problem cloning nov.el [?] HOT 1
- org 9.6.7 breaks `org-remark-highlights-get` HOT 4
- [feature request] make org-remark-open open the associated marginalia file if pointer not inside a highlight HOT 6
- Wrong command name `org-remark-line-alt' in manual HOT 2
- Possible to turn on mode buffer-local? HOT 10
- Reducing the length of the headline HOT 2
- [feature request] org-remark-mark-strikethrough HOT 7
- Feature request/question: tufte side notes HOT 1
- error: (wrong-number-of-arguments mapconcat 2) HOT 3
- Margin graphic not displaying HOT 1
- command-execute: Wrong type argument: commandp, org-remark-mark-line HOT 1
- Adding a level 1 heading removes overlays HOT 4
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-remark.