GNU bug report logs - #32014
26.1; lisp-indent-line fails in first line of Ielm

Previous Next

Package: emacs;

Reported by: João Távora <joaotavora <at> gmail.com>

Date: Fri, 29 Jun 2018 23:21:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 26.1

Fixed in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #21 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: joaotavora <at> gmail.com, 32014 <at> debbugs.gnu.org
Subject: Re: bug#32014: 26.1; lisp-indent-line fails in first line of Ielm
Date: Mon, 09 Jul 2018 20:48:35 -0400
tags 32014 fixed
close 32014 26.2
quit

Noam Postavsky <npostavs <at> gmail.com> writes:

> Hmm, the more I look at it, the less I understand why these functions
> even exist.  There are hardly any uses of them.  Maybe we should just do
> this instead:

> * lisp/indent.el (indent-line-to): Use the back-to-indentation point
> as the end-point of whitespace removal, rather than
> backward-to-indentation which doesn't respect field boundaries.

Pushed this to master [3: e4ad2d1a8f] and the other fixes to emacs-26
[1: db3f779780] [2: 8f7d35cabd].

[1: db3f779780]: 2018-07-09 19:39:03 -0400
  ; Test for Bug#32014
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=db3f7797809ed9de8dd92ce38bf34f768ddc64ad

[2: 8f7d35cabd]: 2018-07-09 19:39:03 -0400
  Stop using indent-line-to in lisp-indent-line (Bug#32014)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=8f7d35cabdbeb2404d53af39c5d7c12e870fa1cb

[3: e4ad2d1a8f]: 2018-07-09 20:08:13 -0400
  Respect field boundaries in indent-line-to (Bug#32014)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e4ad2d1a8fad8c8c786b61083b05cfaa1ea5669c




This bug report was last modified 7 years and 37 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.