GNU bug report logs - #79371
[PATCH] Make yank-in-context also can indent the yanked text.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Tue, 2 Sep 2025 15:57:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 79371 <at> debbugs.gnu.org
Subject: bug#79371: [PATCH] Make yank-in-context also can indent the yanked text.
Date: Tue, 02 Sep 2025 19:22:52 +0300
> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> Date: Tue, 02 Sep 2025 09:55:55 -0600
> 
> This patch makes `yank-in-context` can optionally indent the yanked
> text.
> 
> The indentation is done calling `indent-region`, but the function to use
> can be changed.

Thanks, but I wonder whether this indeed justifies yet another user
option, given that indenting the yanked text, if that is desired, can
be obtained by typing C-M-\ immediately after yanking.

What do others think about this?

> Additionally, i added support for `delete-selection-mode` in
> `yank-in-context`.

This should be a separate change, because I believe it is correct to
do that by default regardless of anything else.




This bug report was last modified 8 days ago.

Previous Next


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