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; `copy-to-register' does not deactivate the mark Date: Sun, 29 Jul 2012 12:01:51 +0200 Message-ID: References: <87aa7qm1gv.fsf@gnu.org> <87boizuq60.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1343556181 24619 80.91.229.3 (29 Jul 2012 10:03:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2012 10:03:01 +0000 (UTC) Cc: Alan Mackenzie , 10056@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 29 12:03:01 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 1SvQKy-0004gz-Dx for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 12:03:00 +0200 Original-Received: from localhost ([::1]:56566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvQKx-0003WY-J8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 06:02:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvQKu-0003WL-Fj for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 06:02:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvQKt-0000zW-G0 for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 06:02:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvQKt-0000zQ-CK for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 06:02:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SvQRm-0006R5-4l for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 06:10:02 -0400 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: Sun, 29 Jul 2012 10:10: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.134355654324666 (code B ref 10056); Sun, 29 Jul 2012 10:10:02 +0000 Original-Received: (at 10056) by debbugs.gnu.org; 29 Jul 2012 10:09:03 +0000 Original-Received: from localhost ([127.0.0.1]:47714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvQQo-0006Pb-6X for submit@debbugs.gnu.org; Sun, 29 Jul 2012 06:09:03 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:52666) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvQQl-0006PM-57 for 10056@debbugs.gnu.org; Sun, 29 Jul 2012 06:09:00 -0400 Original-Received: by obbwc20 with SMTP id wc20so7085134obb.3 for <10056@debbugs.gnu.org>; Sun, 29 Jul 2012 03:01:51 -0700 (PDT) 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 :cc:content-type; bh=F/PqIPM81+knvF6WwHrZf192wdC82v6EbUtW3k6nZ54=; b=soljin9V7NUVYWerebpW7sT6HeHX6AtUYzTVbxYdYklMRcIm5QrWqz2vWW4lOP1ONR 8xsCwz5FeR3CoBcD+909f1WqXoUPu9/1SwuPWQ0UIacYnp4LhqPzlF6vX5SKVinPHcof 7pmDsdte74ailB2zsMjVuSRLMfsSH26S/WZcpKK6knf4pw6oaCLQRe0ewPPLBEkDu7Mv +aN+vbG01P91QNz3dOVBygLv6wkkEBEWJZX00gEMP8tNwFsTaq7MSgTZ9VwQ1huGRVsB 9qS9+TFUPYr8RVbBbzHgr12sNeZducg8WRIg28SnL4Y8+vVF9QBg+yiiuUM+Pk9dSY7h Ko4g== Original-Received: by 10.182.14.101 with SMTP id o5mr12132902obc.1.1343556111616; Sun, 29 Jul 2012 03:01:51 -0700 (PDT) Original-Received: by 10.60.172.11 with HTTP; Sun, 29 Jul 2012 03:01:51 -0700 (PDT) In-Reply-To: <87boizuq60.fsf@gnu.org> 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 (newer, 2) 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:62558 Archived-At: >> and I've found a couple more: >> narrow-to-region >> c-indent-line-or-region (when the region is already well indented) > > I'm not sure about narrow-to-region. It's probably wrong for it to > unconditionally deactivate the mark, because it is commonly called as a > Lisp function. Maybe it should only deactivate the mark when called > interactively. I will be happy if the deactivation is limited to the interactive call. But at least in this case should be deactivated, because it is annoying to have to do the deactivation manually with C-g. > As for c-indent-line-or-region, I have no opinion on that at all. (I'm CC-ing Alan. Hopefully he has an opinion) This is the current behavior I observe: * If the command has to adjust the indentation of some line(s) in the region, the mark is deactivated at the end of the command. * Else, the mark is not deactivated. This behavior is definitely annoying for me: when I mark some fragment of code and type TAB, what I want is that Emacs revise the indentation of code, and correct it if necessary, but in any case, I don't want the mark to remain active. -- Dani Moncayo