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


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

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 79371 <at> debbugs.gnu.org,
 Elijah Gabe Pérez <eg642616 <at> gmail.com>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#79371: [PATCH] Make yank-in-context also can indent the
 yanked text.
Date: Tue, 02 Sep 2025 18:00:32 +0100
Hello,

On Tue 02 Sep 2025 at 07:22pm +03, Eli Zaretskii wrote:

>> 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?

Sometimes you want indentation and sometimes you don't, so requiring the
user to type C-M-\ seems preferable to me, too.

-- 
Sean Whitton




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.