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: Fri, 25 Jan 2013 20:07:42 +0100 Message-ID: References: <87wqws48gn.fsf@mail.jurta.org> <87pq2kvzix.fsf@mail.jurta.org> <3A9C4978E1D547E291D780F57506CD26@us.oracle.com> <0139B55A9A504DE180FC189491666C53@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1359140895 17744 80.91.229.3 (25 Jan 2013 19:08:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2013 19:08:15 +0000 (UTC) Cc: 10056@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 25 20:08:34 2013 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 1TyodX-0005Hf-MD for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jan 2013 20:08:27 +0100 Original-Received: from localhost ([::1]:48921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyodF-0002LZ-W9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jan 2013 14:08:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tyod3-0001ur-4Z for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 14:07:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tyocy-0005oJ-SM for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 14:07:57 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tyocy-0005oF-OZ for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 14:07:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tyod8-0008SQ-33 for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 14:08:02 -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: Fri, 25 Jan 2013 19:08:02 +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.135914087532498 (code B ref 10056); Fri, 25 Jan 2013 19:08:02 +0000 Original-Received: (at 10056) by debbugs.gnu.org; 25 Jan 2013 19:07:55 +0000 Original-Received: from localhost ([127.0.0.1]:49569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tyod1-0008S6-0j for submit@debbugs.gnu.org; Fri, 25 Jan 2013 14:07:55 -0500 Original-Received: from mail-lb0-f179.google.com ([209.85.217.179]:56509) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tyocz-0008Rz-17 for 10056@debbugs.gnu.org; Fri, 25 Jan 2013 14:07:54 -0500 Original-Received: by mail-lb0-f179.google.com with SMTP id j14so1257938lbo.24 for <10056@debbugs.gnu.org>; Fri, 25 Jan 2013 11:07:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=BrBCI+ztJWVYmwle5VNddKiEqGyn6X9nBgGBS+Ym0F4=; b=qLNRpYx+G10D/2x5ixIEn2RleSO9QahypAUtuefRON4/+pTkogajwmD5OuZ7Da6Ow/ +7kIPdULH8AjX69YqRLb7y6703HOeUjrELqqUkuuYJT24fbtEjThmkb3FUuqYzCkzhyf JdUm4Nj8lvElsyWGTEuJWr+icd61EyPGCPqejhnNmpaBW4SMgc8U+70RMCtHFkL3neox WdS3jzw/fyr1T/yLdi5kEtscPifbQpNoRkUjj1tgZDQBli9idpdfOYbRC0rBQ2nZFBcV GGWDul6QaYc5q+VBhN7eUFECkrs9TjRr0fXd1q4NPtxbA9x8PdxvXdCd7As9W35amFg+ n85A== X-Received: by 10.112.40.197 with SMTP id z5mr2519080lbk.14.1359140862262; Fri, 25 Jan 2013 11:07:42 -0800 (PST) Original-Received: by 10.114.92.68 with HTTP; Fri, 25 Jan 2013 11:07:42 -0800 (PST) In-Reply-To: <0139B55A9A504DE180FC189491666C53@us.oracle.com> 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:70313 Archived-At: On Fri, Jan 25, 2013 at 6:41 PM, Drew Adams wrote: >> I've just noticed a new case where the mark is not deactivated, when >> it clearly should (IMO): after `eval-region'. > > Why should it? > > Even when used interactively (and certainly when not!), I'm concerned about _interactive_ usability. Sorry if I didn't make that clear before. > a user can want to do > something else with the active region after evaluating it. > > Yes, s?he can always hit `C-x C-x C-x C-x' to reactivate it (there is probably a > shorter way to do it nowadays, but I still have that habit). But the question > is why? What's the reason to deactivate the region after `eval-region'? > > To be clear, I have no particular objection that I can think of offhand. But I > don't see why the behavior should be changed. "If it ain't broke don't fix it." > IOW, please argue a bit in favor of the change for this specific command - some > reasons, please. Well, the reason is the same for all commands I've mentioned: In my experience (or my usage pattern), after defining an active region and invoking a command to operate on it, it's much more likely that the next commands have nothing to do with that active region. IOW, I almost always set up an active region to do a single operation on it, not several ones. So keeping the region active is, at best, counter intuitive and visually annoying to me. > Wrt your footnote [2]: Why should we deactivate the region for _any_ command > when it is called non-interactively? That doesn't make sense to me (yet - but > I'm willing to learn why). That footnote is about `narrow-to-region', not about "any command". But, well, I'm thinking that perhaps the mark deactivation I'm requesting should be specific to interactive calls. After all, what I want to avoid is just the annoyance of having to type `C-g' to deactivate the mark after realizing that Emacs didn't do it for me. -- Dani Moncayo