[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26187: Bug in indent-sexp

From: npostavs
Subject: bug#26187: Bug in indent-sexp
Date: Tue, 21 Mar 2017 20:49:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

tags 26187 fixed
close 26187 

Gdobbins <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]