GNU bug report logs -
#26187
Bug in indent-sexp
Previous Next
Reported by: Gdobbins <gdobbins <at> protonmail.com>
Date: Mon, 20 Mar 2017 06:07:02 UTC
Severity: normal
Tags: fixed, patch
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
Message #24 received at control <at> debbugs.gnu.org (full text, mbox):
tags 26187 fixed
close 26187
quit
Gdobbins <gdobbins <at> protonmail.com> writes:
> The refactor of indent-sexp in commit 3ee3995d105ff02f0fac540757431d36cb45c6c7 broke the assumption
>
> ;; If ENDPOS is nil, it is safe not to scan before point
> ;; since every line we indent is more deeply nested than point is.
>
> thereby breaking functionality in paredit. The attached patch fixes this.
>
Pushed to master [1: bcb6c7b7cd], added test in [2: 0b60d7657a].
1: 2017-03-21 20:45:31 -0400 bcb6c7b7cd954fc653fe54c20aa4a5d8dd97d76d
* lisp/emacs-lisp/lisp-mode.el (indent-sexp): Fix null endpos case
2: 2017-03-21 20:45:32 -0400 0b60d7657a2d9e5f9a233032643b0f3ce55420ee
* test/lisp/emacs-lisp/lisp-mode-tests.el (indent-subsexp): Test for Bug#26187
This bug report was last modified 8 years and 156 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.