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: Mon, 27 Feb 2012 20:29:55 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1330371026 32640 80.91.229.3 (27 Feb 2012 19:30:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2012 19:30:26 +0000 (UTC) To: 10899@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 27 20:30:25 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 1S26HA-0001KH-8Y for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 20:30:24 +0100 Original-Received: from localhost ([::1]:35741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S26H9-0002rg-LR for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 14:30:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S26H2-0002pM-6O for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 14:30:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S26H1-0001qw-7o for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 14:30:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S26Gw-0001qS-63; Mon, 27 Feb 2012 14:30:10 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S26Ji-0006Rj-89; Mon, 27 Feb 2012 14:33: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: Mon, 27 Feb 2012 19:33: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.133037117024758 (code B ref 10899); Mon, 27 Feb 2012 19:33:02 +0000 Original-Received: (at 10899) by debbugs.gnu.org; 27 Feb 2012 19:32:50 +0000 Original-Received: from localhost ([127.0.0.1]:60163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S26JV-0006RH-Hb for submit@debbugs.gnu.org; Mon, 27 Feb 2012 14:32:49 -0500 Original-Received: from mail-tul01m020-f172.google.com ([209.85.214.172]:49449) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S26JU-0006RA-7S for 10899@debbugs.gnu.org; Mon, 27 Feb 2012 14:32:48 -0500 Original-Received: by obbeh20 with SMTP id eh20so1556415obb.3 for <10899@debbugs.gnu.org>; Mon, 27 Feb 2012 11:29:55 -0800 (PST) Received-SPF: pass (google.com: domain of dmoncayo@gmail.com designates 10.60.12.8 as permitted sender) client-ip=10.60.12.8; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dmoncayo@gmail.com designates 10.60.12.8 as permitted sender) smtp.mail=dmoncayo@gmail.com; dkim=pass header.i=dmoncayo@gmail.com Original-Received: from mr.google.com ([10.60.12.8]) by 10.60.12.8 with SMTP id u8mr6179879oeb.60.1330370995134 (num_hops = 1); Mon, 27 Feb 2012 11:29:55 -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 :content-type; bh=Fc4wklDWar4ktwghIhR0BLg6NdRrLxObb5ADu0GAFYE=; b=fkEwy5O39xEGK258vunRe3ZhxyczCsA65lb7ijsh9/oJMt5wCE2tRMUf65Un9LCUJa yYhUDmefLq2w4XD/FwkPydPcdnL0r3BAWgkHuKHqLtSwMn/U1EnMTwZ9Oj314v59vAz2 +QkGPY4gtHG9e3KiL209Khdz5R9YtLcf5HJOw= Original-Received: by 10.60.12.8 with SMTP id u8mr5458032oeb.60.1330370995066; Mon, 27 Feb 2012 11:29:55 -0800 (PST) Original-Received: by 10.60.42.193 with HTTP; Mon, 27 Feb 2012 11:29:55 -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:57324 Archived-At: > Recipe from "emacs -Q": > 1. Visit the attached file. > 2. Type: C-SPC C-c C-n C-c C-n > > --> Expected result: the region covers the two "#ifdef" preprocessor > conditionals. > --> Observed result: it covers only the second one, because the mark > has moved when I typed the second "C-c C-n". I didn't read the docstring of the function, which says: Move forward across a preprocessor conditional, leaving mark behind. A prefix argument acts as a repeat count. With a negative argument, move backward across a preprocessor conditional. What does "leaving mark behind" mean exactly here? It seem to mean "setting the mark at point, and then moving the point". At least it is the behavior I observe. But this behavior is undesirable (IMO - this is a movement command. whats the point of setting the mark here?), and inconsistent with analogous movement commands such as `forward-list'. -- Dani Moncayo