Age | Commit message (Collapse) | Author |
|
- Changed the key for paredit-splice-sexp from M-/, which is by
default the popular dabbrev-expand, to M-s, which I was surprised
to find no existing binding for.
- Added a prefix argument to paredit-splice-sexp; see the command's
documentation for details. M-up is now equivalent to C-u M-s;
M-down, to C-u C-u M-s.
- Fixed a lot of the terminal key sequences for the arrow key
bindings in paredit-terminal-mode.
- Modified the behaviour of paredit-forward and paredit-backward to
change only one level of nesting depth, not to repeat until there
is a sibling S-expression to move across.
- Changed a lot of code to use character syntax, instead of exact
character comparisons, for better generality.
- Rewrote much of paredit-kill, again.
darcs-hash:20080928133658-00fcc-6f28a122f0471a40b9f80ce8e60303ebf196f42f
|
|
- Introduced paredit-forward and paredit-backward, which are like
forward-sexp and backward-sexp but which will also go up a nesting
level if at the end of a list.
- Introduced C-c C-M-l (paredit-recentre-on-sexp), whose name is
self-explanatory.
- Added support for numeric prefix arguments to paredit-open-list.
- Fixed paredit-kill so that it would correctly kill whitespace
between parentheses, as in ( ).
- Changed suggestion of what to put in your .emacs from require to
autoload.
darcs-hash:20080928133616-00fcc-1983846a129d64ac4b85e04df49fe9f4b6e36416
|
|
- Introduced enable-paredit-mode and disable-paredit-mode to better
choose which one to enable.
- Forced blinkage of matching parentheses in paredit-close-list and
paredit-close-list-and-newline, even if show-paren-mode is enabled.
darcs-hash:20080928133359-00fcc-e05f09d8e69fcaa6077e1bd3610dccc46a6dc441
|
|
- Added paredit-terminal-mode, which is like paredit-mode but which
provides key bindings that work in terminals, while paredit-mode
contains many (such as controlled brackets) that do not work in
terminals. Thanks to Jorgen Schaefer for suggesting many of the
terminal key bindings.
- Exchanged RET and C-j: RET now inserts the fancy newline with auto-
indentation, while C-j inserts a literal line feed. While this
defies convention, and some people prefer not to do this, I have
found that it is more convenient for RET to have the behaviour of
the common case, where auto-indentation is desired, and for C-j to
insert the uncommon exact, literal line feed. You can always
customize the key bindings yourself, of course.
- Rearranged arrow key bindings.
- Implemented paredit-close-list-and-newline, which is like
paredit-close-list followed by RET (paredit-newline); and M-"
(paredit-close-string-and-newline), which is similar but for
strings.
The closing round bracket character now inserts the newline, while
the meta modifier inhibits this.
- Overhauled paredit-kill.
- Extended slurpage and barfage to permit their operation across
arbitrary depth changes.
- Fixed bizarre bug with backward barfage. I apologize for the
alliteration.
- Fixed a number of other small bugs.
- Prefixed `paredit-' to the remaining functions defined in the file
that did not already have the prefix.
- Defined backward-down-list, which for some reason is not provided
by lisp.el, although up-list, down-list, & backward-up-list all
are. (This is the sole exception to the above item. It deserves
no prefix because it ought to be defined in lisp.el with this name
anyway.)
darcs-hash:20080928133248-00fcc-cff6c6ab1db5bb274d4b53bf702b99804dc33ebd
|
|
- Changed paredit-open-list and paredit-close-list so that they will
refuse to insert parentheses inside character literals.
- Substituted new code for GNU Emacs's move-past-close-and-reindent.
I do not remember why now, and I no longer understand either code
well enough to discern differences, other than that Emacs's
m-p-c-a-r is probably faster because it incrementally parses each
step of the way. All I can see is that paredit.el's code now
inserts indentation before the closing parenthesis while Emacs's
m-p-c-a-r does not.
- Fixed bugs in deletion within character literals and strings.
darcs-hash:20080928133142-00fcc-9a9fb3492e906d5e09da1f1ccb68bd1944ab8269
|
|
- Flushed M-" (paredit-insert-doublequote), which was rather useless
and which " (paredit-doublequote) now subsumes the functionality of.
- Added instrumented forward deletion as well as backward deletion,
which now behave well inside strings.
- Flushed unnecessary individual round bracket insertion keys; use
C-q instead.
- Added C-left & C-right: backward-sexp & forward-sexp, respectively.
- Fixed the test of whether the point is in a character literal.
- Modified " (paredit-doublequote) to insert escaped double-quote if
in the middle of the string, rather than to jump past the string's
closing delimiter.
- Introduced bogus backslash escaping mechanism.
- Introduced new command for breaking the line and indenting, and
bound C-j, rather than RET, to it, according to convention.
- Improved C-k (paredit-kill), particularly in strings where it will
no longer kill the closing delimiter of the string.
- Changed the splicage, joinage, slurpage, and barfage commands so
that they will reindent only the modified list, not the whole
definition.
darcs-hash:20080928133010-00fcc-90a9f6931a49b99f633def9bc51157b3bc40a6bf
|
|
darcs-hash:20080928131127-00fcc-7af7487ee9835f4f8a88b30a93ef8fe43a60e59c
|