Questions tagged [paredit]
Paredit is an emacs minor mode for controlled editing of s-expressions.
12
questions with no upvoted or accepted answers
1
vote
0answers
212 views
How to get hungry-delete working in paredit-mode?
Using hungry-delete is really nice, see this Blog post. But with paredit activated, hungry-delete functions are not triggered.
paredit defines <delete> as paredit-forward-delete and DEL as ...
1
vote
0answers
62 views
paredit-forward-up won't cross line boundary
(a b (c |d) e f)
C-M-n works as I would expect, producing this:
(a b (c d)| e f)
But if I break the line after the (c d) like so…
(a b (c |d)
e f)
The same C-M-n does absolutely nothing. ...
1
vote
0answers
228 views
use paredit key bindings with paredit-everywhere
How can I tell paredit-everywhere to use bindings from paredit,
so I can :
Use paredit's keybinding without having to redeclare them
Keep paredit-everywhere shortcuts the same as paredit if I ...
1
vote
0answers
69 views
Can I make paredit work with only braces {…} instead of other parens?
I'm trying to create paredit functionality for TeX modes and I'd really like to avoid actually rewriting paredit.el. (I've spent a good portion of the day doing this with no significant progress.)
I ...
1
vote
0answers
245 views
Unable to get backtrace for error
I have installed paredit & need to turnoff smartparens. I checked this answer and I have added
(advice-add #'smartparens-mode :before-until (lambda (&rest args) t))
to my prelude starter ...
0
votes
0answers
16 views
What is the hook for Slime Eval minibuffer?
I have installed Slime and Paredit (M-x package-install paredit) and I have configured it in my ~/.emacs too like this:
(setq inferior-lisp-program "/usr/local/bin/sbcl")
(add-hook 'eval-...
0
votes
0answers
33 views
Enabling paredit automatically in clojure and clojurescript buffers
I want to auto-enable paredit it in clojure and clojurescript buffers, and have the following:
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code....
0
votes
0answers
113 views
How to enable paredit mode on all clojure, closurescript and elisp buffers automatically?
I want to enable paredit-mode on all clojure, cljs and elisp buffers by default, which is probably going to happen through the .spacemacs file. This is what I have so far in the user-config function ...
0
votes
1answer
211 views
How to enable paredit mode on all clojure, clojurescript and elisp buffers automatically?
I want to enable paredit-mode on all clojure, cljs and elisp buffers by default, which is probably going to happen through the .spacemacs file. This is what I have so far in the user-config function ...
0
votes
0answers
32 views
Use arrows keys to call Lispy functions
In lispy-mode, I want to use control + the arrow keys instead of lispy's defaults (h, j, k, l).
But if I run the obvious code
(define-key lispy-mode-map [C-up] 'lispy-up)
then C-up always ...
0
votes
0answers
60 views
bug with web-mode and paredit
I have paredit configured to work on javascript files. I also have web-mode enabled
It seems to cause a bug in certain situations.
Here is a stack trace I got by trying to clear all the text in an ...
0
votes
0answers
114 views
lisp code not indenting after paredit slurping, etc
When I use smartparens-mode or paredit-mode to shift parens around (e.g. paredit-forward-slurp-sexp) the effected forms are not being indented appropriately. For example if I add a let and then slurp ...