NonGNU-devel ELPA - paredit

paredit Atom Feed

Description
minor mode for editing parentheses
Latest
paredit-27beta0.20230718.202710.tar (.sig), 2024-Jun-14, 170 KiB
Maintainer
Taylor R. Campbell <campbell@paredit.org>
Website
https://paredit.org
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

Paredit keeps your parentheses balanced while editing.  Paredit Mode
binds keys like `(', `)', and `"' to insert or delete parentheses
and string quotes in balanced pairs as you're editing without
getting in your way, augments editing keys like `C-k' to handle
balanced expressions, and provides advanced commands for editing
balanced expressions like splicing and joining while judiciously
keeping the code you're working on indented.

Old versions

paredit-27beta0.20230110.131918.tar.lz2024-Mar-3135.5 KiB
paredit-27beta0.20221127.145622.tar.lz2022-Nov-2725.8 KiB
paredit-27beta0.20221127.1231.tar.lz2022-Nov-2736.0 KiB
paredit-27beta0.20221126.214728.tar.lz2022-Nov-2635.5 KiB
paredit-26beta0.20221126.14642.tar.lz2022-Nov-2634.9 KiB
paredit-25beta0.20221124.224953.tar.lz2022-Nov-2534.6 KiB
paredit-25beta0.20221124.190546.tar.lz2022-Nov-2434.7 KiB
paredit-25beta0.20220709.92037.tar.lz2022-Aug-2934.2 KiB
paredit-25beta0.20220709.84941.tar.lz2022-Jul-0934.1 KiB
paredit-25beta0.20200529.61041.tar.lz2021-Nov-2544.2 KiB

News

* Paredit Release Notes                                 -*- outline -*-

paredit -- parenthetical editing in Emacs

https://paredit.org

Latest release: https://paredit.org/paredit.el
Current development version: https://paredit.org/paredit-beta.el

** Version 27 (beta)

*** Improved some edge cases in paredit-kill with kill-whole-line enabled.
**** Many other edge cases are slightly broken; patches welcome!

** Version 26 -- 2022-11-26

Minor bug fix release, mainly to set a new branch scheme:

- `master' branch is where development and releases happen
  => on release, one commit to remove beta and a second to bump version
- `release' branch points at latest release commit on master
- no `maint-N' branches

This replaces the old scheme where master was branched into maint-N and
then the beta tag was stripped off in the maint-N branch, which meant
no one branch would automatically track the current release as ELPA
prefers.

Other changes:

*** M-s (paredit-splice-sexp) now restores column in text fields like ielm.
*** Deletion now respects `delete-active-region'.

** Version 25 -- 2022-11-25

*** paredit now lives at paredit.org.
*** M-r (paredit-raise-sexp) now respects active mark in Transient Mark Mode.
*** Paredit Mode and Electric Indent Mode are noted as incompatible.
*** M-q (paredit-reindent-defun) now respects `fill-paragraph-function'.
*** New variables `paredit-comment-prefix-...' for `paredit-comment-dwim'.
*** Reading character in Backslash escape now inherits input method.
*** M-r (paredit-raise-sexp) no longer reindents single-line sexps.
*** Various bug fixes and additions to test suite.
*** Worked around brokenness induced by Electric Indent Mode.
**** (Thanks to Sean Whitton for reporting the bug and discussing the fix.)

NOTE: The Electric Indent Mode workaround turns out to break ielm and
other interactive modes, because paredit now defines RET, overriding
the binding in interactive modes that submits an input.

Workaround to restore the old behaviour:

  (define-key paredit-mode-map (kbd "RET") nil)
  (define-key paredit-mode-map (kbd "C-j") 'paredit-newline)

Recommended to disable Electric Indent Mode at the same time.

** Version 24 -- 2014-12-06

*** Slurp/barf now support prefix arguments with the obvious semantics.
*** HTML quick reference is a little prettier now, perhaps.
*** paredit.el no longer defines `backward-down-list'.
*** Slurp `(|) foo' now yields `(|foo)', not the frustrating `(| foo)'.
*** C-M-f/C-M-b (paredit-forward/paredit-backward) now move out of strings.
*** Changed M-" (paredit-meta-doublequote) to not break line, like M-).
*** New command: paredit-meta-doublequote-and-newline has old behaviour.
*** Several commands preserve indentation and point column better.
*** Motion commands support shift selection in GNU Emacs 24 and later.
*** `backward-delete-char' changes in GNU Emacs 24 no longer botch paredit.
*** Various bug fixes.

** Version 23 -- 2013-04-07

Paredit no longer runs in GNU Emacs 20.  It now requires 21 or later.

Paredit now has a small set of automatic tests.

*** New key: `M-?' is bound to `paredit-convolute-sexp'
*** New variable: paredit-override-check-parens-function
*** New command: paredit-delete-region
*** New command: paredit-kill-region
*** Renamed command: paredit-recentre-on-sexp -> paredit-recenter-on-sexp
*** Various bug fixes.

** Version 22 -- 2010-10-09

The copying terms of paredit are now the GPLv3+, rather than the
3-clause BSD licence.

*** Style and Bugs

- paredit.el now has a header and footer conforming to the elisp
  guidelines, so that it can be used with package.el.

- `paredit-mode' now has an autoload cookie.

- Miscellaneous bugs have been fixed, mostly to make paredit behave the
  way it should when before it would simply signal an error, or to make
  paredit signal an error when before it would do something bogus.

*** Altered Behaviour

- `paredit-raise-sexp' (M-r) now works when inside strings and
  characters.

- `paredit-comment-dwim' (M-;) behaves slightly differently in the
...
...