summaryrefslogtreecommitdiff
path: root/paredit.el
AgeCommit message (Collapse)Author
2014-12-06Remove beta markers for version 24.v24maint-24Taylor R Campbell
2014-01-28Let C-d and DEL delete the other spurious delimiters too.Taylor R Campbell
2014-01-28Bump copyright date: 2013->2014.Taylor R Campbell
2013-07-22Add autoload cookie for `enable-paredit-mode'.Taylor R Campbell
From William Xu.
2013-07-09Tweak comment about barfage error.Taylor R Campbell
2013-07-09Make slurping and barfing support prefix arguments.Taylor R Campbell
Positive numeric means slurp/barf that many forms. Negative numeric slurp means barf -that many forms, and vice versa. C-u means slurp/barf as many as possible before hitting end of list. Tests are currently pretty limited. Please help!
2013-07-09If in a string, slurp into the enclosing list if necessary.Taylor R Campbell
2013-07-09Allow slurping while in a character.Taylor R Campbell
2013-07-09Suggest `M-x enable-paredit-mode RET'.Taylor R Campbell
The fragment above suggests autoloading `enable-paredit-mode', not `paredit-mode', so `M-x paredit-mode RET' won't work too well...
2013-07-09A little more HTML tweaking. Not perfect, but enough for the day.Taylor R Campbell
2013-07-09Tweak HTML output a little more.Taylor R Campbell
2013-07-09Rework HTML output to simplify and prettify everything.Taylor R Campbell
2013-07-08Tweak whitespace in `paredit-split-sexp'. No functional change.Taylor R Campbell
2013-07-08Fix reference to `backward-down-list', which is no more.Taylor R Campbell
(Why doesn't GNU Emacs include this? Grmble.)
2013-07-08Revert "Bind M-[ to paredit-wrap-square."Taylor R Campbell
This reverts commit a26c148244962c1365c185dbe154118c88183575. `ESC [' is how various terminal escape sequences begin, so overriding this is a bad idea!
2013-07-06Make slurping `(|) foo' yield `(|foo)', not `(| foo)'.Taylor R Campbell
Likewise for backward slurping and slurping into strings. Add some tests.
2013-07-06Bind M-[ to paredit-wrap-square.Taylor R Campbell
2013-06-16Use `paredit-preserving-column' in `paredit-reindent-defun'.Taylor R Campbell
2013-06-13Handle shift selection in motion commands in recent GNU Emacs.Taylor R Campbell
Drop `backward-down-list'. All four {backward, forward} x {up, down} motion commands are done pareditishly now.
2013-06-13Rework paredit-semicolon and add some tests for it.Taylor R Campbell
2013-06-13Avoid `backward-delete-char', which GNU Emacs 24 broke.Taylor R Campbell
Use `delete-char' instead with a negative argument, which doesn't behave randomly when the region is active and transient mark mode is enabled. While here, mark positive arguments to `delete-char' with a plus sign.
2013-04-07Improve indentation and column preservation in `paredit-splice'.Taylor R Campbell
2013-04-07Add `paredit-indent-region' and move indentation utilities around.Taylor R Campbell
2013-04-07Add some miscellaneous S-expression parsing utilities.Taylor R Campbell
`paredit-enclosing-list-start' and `paredit-enclosing-list-end' give the start and end points of the enclosing list. `paredit-prefix-numeric-value' is like `prefix-numeric-value', but truncates numeric values to the number of S-expressions that can actually be moved over before hitting an enclosing delimiter.
2013-04-07Change `paredit-meta-doublequote' to avoid breaking the line.Taylor R Campbell
This way, default M-" behaves more like default M-). New command `paredit-meta-doublequote-and-newline' (no default key) behaves like the old `paredit-meta-doublequote'.
2013-04-07Preserve column better in `paredit-join'.Taylor R Campbell
2013-04-07Implement `paredit-preserving-column'.Taylor R Campbell
2013-04-07Make `paredit-forward' and `paredit-backward' move out of strings.Taylor R Campbell
2013-04-07Fix paredit-doublequote inside a string escape.Taylor R Campbell
2013-04-07Add clearer names for the enclosing string start/end points.Taylor R Campbell
2013-04-07Add a zillion paredit-kill tests. Fix a tiny bug they revealed.Taylor R Campbell
`paredit-kill' at the end of the line in a comment failed to put the string `\n' into the kill ring, as revealed by these tests.
2013-04-07Update URI references: nix paredit-23.el, add Git repository.Taylor R Campbell
2013-04-07Bump version: 23 beta -> 24 beta.Taylor R Campbell
2013-04-07Remove unnecessarily nasty text about reporting bugs.Taylor R Campbell
2013-04-07Bump copyright year to 2013.Taylor R Campbell
2011-05-08Tweak `paredit-convolute-sexp' a little and add some tests for it.Taylor R Campbell
Ignore-this: 61dbcae678e46499873949c68cc78fbf Thanks to Leo Liu for the nudge about some of its rough corners (and for pointing out the screw case recently fixed). It's still pretty rough around the edges. darcs-hash:20110508175637-00fcc-265b11688b79f4d01211d798fec7e9dd3fe4748f
2011-05-07Fail early in `paredit-convolute-sexp'.Taylor R Campbell
Ignore-this: 9262a1436f4dcda20711a80a776cddea darcs-hash:20110507210933-00fcc-65b52e19c6ab91c2e8a9ed93e03ede7a70e87a14
2011-04-11Make `paredit-in-char-p' work recursively.Taylor R Campbell
Ignore-this: 32164dfb4309af09754d8a6ed0749f0d It's basically an alias for `paredit-in-string-escape-p' now. Replacing one by the other would make too big a diff. darcs-hash:20110411230056-00fcc-d2838af6bff48ed698f596abfc345453f1bfad63
2011-04-11Fix docstring of `paredit-check-region-for-delete'.Taylor R Campbell
Ignore-this: 186d2611fcbd98479c898a8b756d01ee darcs-hash:20110411225827-00fcc-27d7a8defd057cb7640fa223e20e110e34f85db8
2011-04-11Fix `paredit-backslash' within a character literal.Taylor R Campbell
Ignore-this: ce30323a4077d83acc1967af18604e40 Put the new escape after the one the point is on; don't split it. darcs-hash:20110411225316-00fcc-1c65c221a9878047104d5fed02a60f48f0641f7b
2011-04-11Fix `paredit-move-past-close' within a character escape.Taylor R Campbell
Ignore-this: ed55179d0138b72dbe408836bb9f9403 It should move past the close, not stay where it is. `paredit-move-past-close-and-newline' already did this; the two now share the common code. darcs-hash:20110411225030-00fcc-202b9f3f93aab76ddae1c8bb10f9f605fee949d4
2011-04-11Fix logic in checking region deletion across comment boundaries.Taylor R Campbell
Ignore-this: ea283af1a5a27d8d3fe32647e8aa5910 darcs-hash:20110411190348-00fcc-7a8d049f8be17ea0ffec1070fe7ae7a58d0f47be
2011-04-11Tweak safe region deletion.Taylor R Campbell
Ignore-this: 51d8b01dc3a61efe5b0e0c651bf3a812 New command `paredit-delete-region' is to `delete-region' as `paredit-kill-region' is to `kill-region'. Deleting a region that starts or ends in a comment works a little better now. `paredit-kill-ring-save' is no more: paredit doesn't (and shouldn't) keep you from putting unbalanced text into the kill ring. What it should (but doesn't yet) do is keep you from yanking unbalanced text into the buffer. darcs-hash:20110411184530-00fcc-e20733f7a36482041cb9279030d66a9419fa4e9b
2011-04-11Check `paredit-kill' in a comment more carefully.Taylor R Campbell
Ignore-this: 15f19e277834ce01b503d4adde69f56e darcs-hash:20110411180857-00fcc-c3b0a9464be06835aaf1ce7fb06034c31705ea37
2011-04-11Fix checks on deletion of comment boundaries.Taylor R Campbell
Ignore-this: db6c2b72e92eadc7b98d3c0613916f9d darcs-hash:20110411180500-00fcc-5e23c6d9675a260d692830ecdc40302d4ab52141
2011-04-11Tweak `paredit-check-region' and `paredit-region-ok-p'.Taylor R Campbell
Ignore-this: c75566b3db4425b39ca633d55c6d400e In `paredit-check-region', call `paredit-region-ok-p' to discern whether the region is OK before narrowing and calling `check-parens' to report any errors. This avoids unwanted point motion if the region is OK, or if it isn't, lets `check-parens' move the point to the part where the region is not OK. Write docstrings for the two routines. darcs-hash:20110411180300-00fcc-674d77c0c9566bcfb8ef7cfe88a50de34a373853
2011-04-10Add brief docstring to `paredit-check-region-state'.Taylor R Campbell
Ignore-this: 3f246298c4207e54bdecd05647c0c8fd darcs-hash:20110410005917-00fcc-7fbd486327b26986ca2b30698a4c1e07b1b1b326
2011-04-09Fix `paredit-insert-pair' when buffer ends with no-newline comment.Taylor R Campbell
Ignore-this: 18f0bece3d6a499eaec1befe180a4faf darcs-hash:20110409200610-00fcc-05f1a5029eaea4ab0600bb5ee3dfeb5efff55761
2011-04-09Don't indent while the buffer is in intermediate broken states.Taylor R Campbell
Ignore-this: eb090de24ae6a8502605aefee51420a4 Emacs may have indentation methods that rely on the buffer's being balanced. The change to `paredit-forward-barf-sexp' is OK because when `paredit-forward-and-indent' calls `indent-region', the point will be on the same line as the closing delimiter, so it will get indented correctly. Add regression tests. darcs-hash:20110409182523-00fcc-5ed49a704f12afa1fb9353eb8dcd5d97e963964c
2011-03-23Make the exhortation about bug reports slightly less harsh.Taylor R Campbell
Ignore-this: 4f33f1efd97dfb7cc0041be7f4d5ccee darcs-hash:20110323154254-00fcc-4498047b5a31bbe15f51727605972723005babd4