GNU bug report logs - #51320
26.1; kill-region does not ignore its first two args if region is active

Previous Next

Package: emacs;

Reported by: Richard Lawrence <rwl <at> recursewithless.net>

Date: Thu, 21 Oct 2021 14:19:01 UTC

Severity: normal

Found in version 26.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Richard Lawrence <rwl <at> recursewithless.net>
Cc: 51320 <at> debbugs.gnu.org
Subject: bug#51320: 26.1; kill-region does not ignore its first two args if region is active
Date: Thu, 21 Oct 2021 22:15:27 +0300
> From: Richard Lawrence <rwl <at> recursewithless.net>
> Cc: 51320 <at> debbugs.gnu.org
> Date: Thu, 21 Oct 2021 20:57:17 +0200
> 
> 2) Literally the first and only thing that kill-region does before
> throwing the error is check whether BEG and END are non-nil. The error I
> see is the one in the unless clause quoted above.

Ah, I see.  The function tests BEG and END being non-nil, but
interactively they never are nil, due to the 'interactive' form.

So yes, this is a bug, and I've now fixed it on the emacs-28 branch.

Thanks.




This bug report was last modified 3 years and 214 days ago.

Previous Next


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