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#10899: 24.0.93; c-forward-conditional should not move the mark Date: Tue, 28 Feb 2012 08:42:43 +0100 Message-ID: References: <83haycdnqt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1330415080 918 80.91.229.3 (28 Feb 2012 07:44:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Feb 2012 07:44:40 +0000 (UTC) Cc: 10899@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 28 08:44:39 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 1S2Hji-0004RV-S7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Feb 2012 08:44:38 +0100 Original-Received: from localhost ([::1]:41139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2Hji-0001ij-98 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Feb 2012 02:44:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2Hjb-0001i8-NZ for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2012 02:44:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2Hja-00019p-08 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2012 02:44:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2HjS-00018j-GF; Tue, 28 Feb 2012 02:44:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S2Hm2-0007mz-A9; Tue, 28 Feb 2012 02:47: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, bug-cc-mode@gnu.org Resent-Date: Tue, 28 Feb 2012 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10899 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 10899-submit@debbugs.gnu.org id=B10899.133041518129888 (code B ref 10899); Tue, 28 Feb 2012 07:47:02 +0000 Original-Received: (at 10899) by debbugs.gnu.org; 28 Feb 2012 07:46:21 +0000 Original-Received: from localhost ([127.0.0.1]:60667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2HlH-0007lk-1Y for submit@debbugs.gnu.org; Tue, 28 Feb 2012 02:46:20 -0500 Original-Received: from mail-tul01m020-f172.google.com ([209.85.214.172]:48502) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2Hkw-0007ks-LO for 10899@debbugs.gnu.org; Tue, 28 Feb 2012 02:46:00 -0500 Original-Received: by obbeh20 with SMTP id eh20so2145550obb.3 for <10899@debbugs.gnu.org>; Mon, 27 Feb 2012 23:42:43 -0800 (PST) Received-SPF: pass (google.com: domain of dmoncayo@gmail.com designates 10.182.149.71 as permitted sender) client-ip=10.182.149.71; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dmoncayo@gmail.com designates 10.182.149.71 as permitted sender) smtp.mail=dmoncayo@gmail.com; dkim=pass header.i=dmoncayo@gmail.com Original-Received: from mr.google.com ([10.182.149.71]) by 10.182.149.71 with SMTP id ty7mr6294331obb.70.1330414963270 (num_hops = 1); Mon, 27 Feb 2012 23:42:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6hK6uch1AAPm7aCVlGvDRMGYkeglxk++4xgGaCCstow=; b=u4OmeqSFqssjzHfz+vtYPjsEhj25PSEyu0mE0x2tOrpv6vZpeTzvQilkOQqWXkBvyr NpXUGMo+NXBf39f/OGBwfq4TZxQqUO6tL+dkFBOyqKuYI4vPW+iHE/d2+DIbij5BYVF9 yBHuSJuQCwdBC7h+hlZois0L2/7U/d/3g24Zo= Original-Received: by 10.182.149.71 with SMTP id ty7mr5601503obb.70.1330414963195; Mon, 27 Feb 2012 23:42:43 -0800 (PST) Original-Received: by 10.60.42.193 with HTTP; Mon, 27 Feb 2012 23:42:43 -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 (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:57344 Archived-At: > Consistency is a good design principle to follow, unless there is good > reason not to. =A0And frankly, I don't see a good reason here. ...and I'll explain why: Well-known movement commands like `M-<', `M->' or the search commands set the mark (IMO) because they meet two criteria: 1. They may move point to a distant location. 2. There is not an "inverse" command to move point back to the original position (or near it): commands like `forward-list' or `forward-page' meet criterion #1, but they don't set the mark because you have `backward-list' and `backward-page' to move to the original position. And when command meet these two criteria, it should set the mark, but only if it is inactive, because when the mark is active, the user surely wants to extend the _current_ region, i.e., "leave the mark alone where I've set it, and just move the point". IMO, this is the behavior users expect, and are used to. Summarizing: a. `c-forward-conditional' and `c-backward-conditional' should not set the mark, because each one has an inverse movement command. b. Even if you disagree, those commands should not set the mark when it is active. --=20 Dani Moncayo