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#10906: 24.0.94; `c-mark-function' does set the mark well Date: Fri, 2 Mar 2012 00:03:48 +0100 Message-ID: References: <20120301212404.GB19099@acm.acm> 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 1330643120 25559 80.91.229.3 (1 Mar 2012 23:05:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Mar 2012 23:05:20 +0000 (UTC) Cc: 10906@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 02 00:05:19 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 1S3F3i-0002Oo-P3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Mar 2012 00:05:14 +0100 Original-Received: from localhost ([::1]:41345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3F3i-0007DM-44 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Mar 2012 18:05:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3F3e-0007D0-Qm for bug-gnu-emacs@gnu.org; Thu, 01 Mar 2012 18:05:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3F3c-0001OA-UZ for bug-gnu-emacs@gnu.org; Thu, 01 Mar 2012 18:05:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3F3Z-0001Lq-S3; Thu, 01 Mar 2012 18:05:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S3F3V-0006O7-Vl; Thu, 01 Mar 2012 18:05: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: Thu, 01 Mar 2012 23:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10906 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 10906-submit@debbugs.gnu.org id=B10906.133064307924523 (code B ref 10906); Thu, 01 Mar 2012 23:05:01 +0000 Original-Received: (at 10906) by debbugs.gnu.org; 1 Mar 2012 23:04:39 +0000 Original-Received: from localhost ([127.0.0.1]:58005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3F33-0006NA-OK for submit@debbugs.gnu.org; Thu, 01 Mar 2012 18:04:39 -0500 Original-Received: from mail-yw0-f44.google.com ([209.85.213.44]:65424) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3F2m-0006MO-Em for 10906@debbugs.gnu.org; Thu, 01 Mar 2012 18:04:22 -0500 Original-Received: by yhpp34 with SMTP id p34so552837yhp.3 for <10906@debbugs.gnu.org>; Thu, 01 Mar 2012 15:03:49 -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 u8mr3093028oeb.60.1330643029054 (num_hops = 1); Thu, 01 Mar 2012 15:03:49 -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 :cc:content-type:content-transfer-encoding; bh=ccJZ8wC6EHzAq6ZPmFepOx6f/Lvk5dhqfxwhJcGy5jA=; b=mJWi1nbhU27Lg04+M7EG9XPlHodzFXFvgGEyYRd/5azsDNT/vxjNg4kucMulRWOIMZ 2XJAm/NB7QbyHurez27qDf9INFhN4/qmux7QkMj3RzBPhDFpFtctdeDOmoDjeeGMjBlI Y5JPxnh4G5TeXzOn7Lr488z9ueZqLEfDDWaj5foUw9J9IUuQbX8eqLFQ8jUcH3cM9vli ah6IBZNr2z1CPCnKL5HR9FCw/N4XoSjFUL6oMlNoOKgzj7vj+ePvVM6q2XTqil/Qe/oI 87V4OFpvas3OHEW/OaN5yVn9HFljK7L5RdPrPbS02yXq48IzSD4Ku9sMPKGC2JyXovI/ o9xw== Original-Received: by 10.60.12.8 with SMTP id u8mr2643862oeb.60.1330643028982; Thu, 01 Mar 2012 15:03:48 -0800 (PST) Original-Received: by 10.60.42.193 with HTTP; Thu, 1 Mar 2012 15:03:48 -0800 (PST) In-Reply-To: <20120301212404.GB19099@acm.acm> 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:57428 Archived-At: > Hello, Dani. Hi Alan. >> > Regarding bug#10906, I think `c-mark-function' should be rewritten >> > to follow the logic of `mark-defun'. > > Any chance of a quick summary of how c-mark-function differs from > mark-defun? AFAIK, they differ at least in two things: 1. `mark-defun' saves the original point location in the mark ring, whereas `c-mark-function' does not. IMO, the point should be saved, because in large defuns it may jump to a remote location and you may want to return back to the original position. This bug report is about this inconsistency, as you can see in the original post. 2. Successive interactive invocations of `mark-defun' extend the region to the next defuns (which I find useful), whereas `c-mark-function' does not have this feature. Bug #5525 is a request to remove this inconsistency, as you can see in the corresponding thread. >> Agreed, and BTW, if `c-mark-function' is going to be revised, please, >> take also this problem into account: > >> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5525 > > Again, what is this bug? =A0Could you not even quote the title line from > it? I think this question is already answered. --=20 Dani Moncayo