Comments (2)
This is a bug with calculate-lisp-indent
, which helpful--pretty-print
calls via cl-prettyprint
. If you have a sufficiently large list literal, e.g.
(:variable magit-branch-arguments :man-page "git-branch" :actions
((98 "Checkout" magit-checkout)
(110 "Create new branch" magit-branch)
(67 "Configure..." magit-branch-config-popup)
(99 "Checkout new branch" magit-branch-and-checkout)
(115 "Create new spin-off" magit-branch-spinoff)
(109 "Rename" magit-branch-rename)
(119 "Checkout new worktree" magit-worktree-checkout)
(87 "Create new worktree" magit-worktree-branch)
(120 "Reset" magit-branch-reset)
nil nil
(107 "Delete" magit-branch-delete)
(102 "new branch From current" wh/magit-branch-from-current-and-checkout))
:default-action magit-checkout :max-action-columns 3 :setup-function magit-branch-popup-setup)
;; or
(:foo foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo :bar bar)
Then cl-prettyprint
adds newlines, splitting the list over multiple lines. It looks like lisp-indent-line
can't handle code of the form:
(:foo foo
:bar bar)
If you put point on the second line and call calculate-lisp-indent
. you get the same error.
from helpful.
Turns out it was a bug with helpful.el not using the right major mode. This should work now.
from helpful.
Related Issues (20)
- Treatment of local/global values
- Can't install using Straight.el: `Wrong type argument: listp, 1` HOT 2
- Suggestion: `helpful--navigate` should respect `display-buffer-alist` HOT 1
- RFE: Duplicate help-mode's `c`, `i` and `s` bindings HOT 1
- Docstrings should not double-escape strings
- helpful-variable not working
- invalid-read-syntax "] in a list" 2 22
- How do you go back? HOT 3
- Handling of left/right single quotation marks
- Case in disambiguation of variable or function definition of a symbol
- New stable release for Emacs 29? HOT 1
- forward-sexp: Scan error: "Unbalanced parentheses", 121867, 1 with Emacs 29 HOT 18
- Force helpful to have only one buffer like *Help* HOT 1
- Emacs 29.2 `helpful-symbol` behavior on `interactive` special form no longer shows documentation HOT 2
- "Note: file is write protected" message when source file is read-only
- Byte compile warnings HOT 1
- wrong-type-argument listp for `describe-function` HOT 1
- Refactoring callee & source finding code to elisp-refs? Interested?
- Add support for "describe-mode"?
- Provide example for common emacs lisp expressions
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 helpful.