bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#27985: [25.2] delete-indentation: restore correct point (and..) [PAT


From: Lars Ingebrigtsen
Subject: bug#27985: [25.2] delete-indentation: restore correct point (and..) [PATCH INCLUDED]
Date: Mon, 24 Jun 2019 18:20:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Boruch Baum <boruch_baum@gmx.com> writes:

> 1] Function `delete-indentation' does not preserve point. The attached
> patch fixes that for joining lines both forward and backward.

I tested the command now, and it seems like it now preserves point.  But
it's been completely rewritten from when this bug report was written...

> 2] Also included is a wrapper function, `my-join-lines' that I'd like to
> propose be included in emacs.
>
> 2.1] The wrapper function adds the ability to:
>
> 2.1.1] Act on regions;
>
> 2..1.2] Accept a numeric prefix argument for the number of lines to join
> in either direction.
>
> 2.2] Lines of the wrapper function annotated on the right with the
> string `; ┃' are only necessary if the proposed patch to function
> `delete-indentation' is rejected.

Looking at the new implementation, it seems like it does most of this
now, including the region stuff, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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