GNU bug report logs - #27614
26.0.50; kill-region deletes the rest of the document when there is no region selected

Previous Next

Package: emacs;

Reported by: Jeffrey Brown <jeffbrown.the <at> gmail.com>

Date: Sat, 8 Jul 2017 06:57:01 UTC

Severity: minor

Tags: notabug

Found in version 26.0.50

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Jeffrey Brown <jeffbrown.the <at> gmail.com>
Cc: 27614 <at> debbugs.gnu.org
Subject: Re: bug#27614: 26.0.50;
 kill-region deletes the rest of the document when there is no region
 selected
Date: Sat, 08 Jul 2017 09:18:49 +0200
On Jul 07 2017, Jeffrey Brown <jeffbrown.the <at> gmail.com> wrote:

> But if I highlight nothing, and accidentally run kill-region, the
>
> rest of the document starting at the cursor gets killed.

That means there is a mark at the end of the buffer.  Set
mark-even-if-inactive to nil, and kill-region will complain instead.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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

Previous Next


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