summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@paredit.org>2022-11-26 20:51:49 +0000
committerTaylor R Campbell <campbell@paredit.org>2022-11-26 20:52:33 +0000
commitbf73ccf7f76e4262213f0c34b502276ab39d950f (patch)
tree8d537fbce154384b757d8d7235397826fd5c44d1
parentc26db503c2d92a248dfbb590cb9742c119aac810 (diff)
NEWS: Note bug and workaround with interactive modes.
Unfortunately there isn't obviously an easy way to address both Electric Indent Mode and interactive modes. (Some interactive modes like the default *scratch* buffer also define C-j, which paredit always did override.)
-rw-r--r--NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a4ab2bc..a6bcfac 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,17 @@ Current development version: https://paredit.org/paredit-beta.el
*** 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.