From bf73ccf7f76e4262213f0c34b502276ab39d950f Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 26 Nov 2022 20:51:49 +0000 Subject: 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.) --- NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. -- cgit v1.2.1