Comments (5)
Rebuilding didn't work for me, unfortunately. For anyone else looking for clues, I don't believe this issue is related to org-noter
but to pdf-tools
, more specifically pdf-annot-minor-mode
.
Minimal steps to trigger the macro-expansion failure
error:
- Open a PDF and activate
pdf-view-mode
- Activate
pdf-annot-minor-mode
I'm going to post an issue with the pdf-tools
folks.
from org-noter.
This fixes the error (feel free to PR to pdf-tools
, I could not find the issue there):
diff --git a/lisp/pdf-annot.el b/lisp/pdf-annot.el
index 81cb639..01465ea 100644
--- a/lisp/pdf-annot.el
+++ b/lisp/pdf-annot.el
@@ -524,12 +524,11 @@ the variable is nil and this function is called again."
(union (cl-union (cl-union changed inserted :test 'pdf-annot-equal)
deleted :test 'pdf-annot-equal))
(closure (lambda (arg)
- (cl-ecase arg
+ (cl-case arg
(:inserted (copy-sequence inserted))
(:changed (copy-sequence changed))
(:deleted (copy-sequence deleted))
- (t (copy-sequence union))
- (nil nil))))
+ (t (copy-sequence union)))))
(pages (mapcar (lambda (a) (pdf-annot-get a 'page)) union)))
(when union
(unwind-protect
from org-noter.
I had the same problem, however, after I deleted the whole content of .emacs.d/ and rebuild from scratch with only my init.el remaining, the error went away.
from org-noter.
Sorry, I completely dropped the ball on this. I just applied your fix and can confirm that it resolves the issue. Thank you.
from org-noter.
FYI, someone applied this fix already: vedang/pdf-tools@49078c7. Should be reflected in the most recent pdf-tools release (v1.0.0).
from org-noter.
Related Issues (20)
- Can not open the file containing the next chapter of a book (epub, macOS)
- custom property field for annotations HOT 2
- Highlight HOT 1
- org-noter errors with "resource key too long" HOT 1
- Quotation marks when extracting text from document HOT 1
- Non root org headings get clipped midway during narrowing
- Toggle notes buffer HOT 1
- Extract to plaintext -> org-remark -> TeX Template export vs pdftools, org-noter workflow HOT 1
- Open directly from dired HOT 1
- org-noter creates a new frame despite setting org-noter-always-create-frame to nil HOT 1
- Line wrap arrows showing up in fringes with visual-line-mode enabled by default
- How to remove large pdf check? HOT 1
- org-noter maintenance // fork // future? HOT 3
- ⚠️⚠️ Under new maintenance
- Requirement of pdf-tools breaks install HOT 1
- Issue with org-noter-insert-note HOT 2
- org-noter location type error when trying to insert note in pdf with pdf-view-mode
- how to disable the navigation function
- `org-noter-create-skeleton` fails: "epdfinfo: Expected a relative rectangle"
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-noter.