From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#10056: 24.0.91; Mark deactivation Date: Sat, 8 Dec 2012 11:09:27 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1354961383 19851 80.91.229.3 (8 Dec 2012 10:09:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2012 10:09:43 +0000 (UTC) To: 10056@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 08 11:09:56 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ThHM4-0002mI-Ih for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Dec 2012 11:09:56 +0100 Original-Received: from localhost ([::1]:50495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThHLs-0001rV-7T for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Dec 2012 05:09:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThHLn-0001pr-Q7 for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2012 05:09:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThHLm-0000cd-Nt for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2012 05:09:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThHLm-0000cZ-Ky for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2012 05:09:38 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1ThHM9-0002N5-MA for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2012 05:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Dec 2012 10:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10056-submit@debbugs.gnu.org id=B10056.13549613949088 (code B ref 10056); Sat, 08 Dec 2012 10:10:01 +0000 Original-Received: (at 10056) by debbugs.gnu.org; 8 Dec 2012 10:09:54 +0000 Original-Received: from localhost ([127.0.0.1]:59862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThHM2-0002MW-3v for submit@debbugs.gnu.org; Sat, 08 Dec 2012 05:09:54 -0500 Original-Received: from mail-oa0-f44.google.com ([209.85.219.44]:63081) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThHM0-0002MO-9v for 10056@debbugs.gnu.org; Sat, 08 Dec 2012 05:09:53 -0500 Original-Received: by mail-oa0-f44.google.com with SMTP id n5so1182664oag.3 for <10056@debbugs.gnu.org>; Sat, 08 Dec 2012 02:09:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8BFd19yeyRXbiYjYSx58bZpiY+7Jhlkn41W9nKITg8k=; b=mEYhgiGKj3Oew8Llajx1Id8uAummqdnoPMxmP0PXMFDc0z+bJul7uOT3gNHs0hlY9b fUCz3pdbcjwfJ2kYii6KezgF1s7DKCU/uQ/tB4njIJs/+fAxkae9TVYBVo4ZlHvDoftq b0f1JuqwE8Mwn5RWK0Jtua8UScXjuTs1J9StnJWgQxoo1OsZUOu9xQZHSzsC0obzovFp noW631JRHuKXRD7Qp4fwE4qJnxq3oYm/Z+Ny1DjR8bySXN8xD7TTc663+9dKTwyD5thQ GgWu2cblD5LWzIK3HEbSbUZDBwAPDzbg5X84oXYWyOWmnVU8IjK3+VJTpTFAgzDAGPTt 7M6w== Original-Received: by 10.60.32.210 with SMTP id l18mr4531931oei.99.1354961368046; Sat, 08 Dec 2012 02:09:28 -0800 (PST) Original-Received: by 10.60.11.39 with HTTP; Sat, 8 Dec 2012 02:09:27 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68175 Archived-At: > As I pointed out previously in this thread, the mark should be > deactivated (in general - there can be some exceptions) after any > command that operates on the active region. Not doing so is annoying, > because the mark must be deactivated in that cases manually by typing > `C-g'. > > There are still cases where I observe this misbehavior. Namely: > > kill-region [1] > kill-rectangle [1] > prepend-to-register > append-to-register I forgot to mention, for the two above commands, that the use case is "when invoked with a prefix argument, from a read-only buffer." (regardless of the value of `kill-read-only-ok', which doesn't seem to have any effect on them). > narrow-to-region [2] > c-indent-line-or-region [3] > delete-duplicate-lines [3] > delete-matching-lines [3] > delete-non-matching-lines [3] > delete-blank-lines [3] Add "fill-paragraph [3]" to the above list. Important use-case. > --- Footnotes --- > > [1] From a read-only buffer, having `kill-read-only-ok' set to nil. > Note that the command does its job in this case, but the mark still > remains active. Not TRT IMO. > [2] According to Chong, in this case perhaps the mark deactivation > should be made only when the call is interactive. > [3] When the command doesn't alter the buffer text. -- Dani Moncayo