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: Wed, 7 Mar 2012 22:37:10 +0100 Message-ID: References: <20120301212404.GB19099@acm.acm> <20120305184133.GC2824@acm.acm> <20120307210929.GA2486@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 1331156323 19412 80.91.229.3 (7 Mar 2012 21:38:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2012 21:38:43 +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 Wed Mar 07 22:38:42 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 1S5OZF-0006UG-8a for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Mar 2012 22:38:41 +0100 Original-Received: from localhost ([::1]:41985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5OZE-0006Wf-Ge for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Mar 2012 16:38:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5OZA-0006WY-9z for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2012 16:38:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5OZ8-0006Dd-PT for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2012 16:38:35 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5OZ5-0006DI-Tl; Wed, 07 Mar 2012 16:38:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S5OZa-0003pI-F0; Wed, 07 Mar 2012 16:39: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: Wed, 07 Mar 2012 21:39:02 +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.133115631414658 (code B ref 10906); Wed, 07 Mar 2012 21:39:02 +0000 Original-Received: (at 10906) by debbugs.gnu.org; 7 Mar 2012 21:38:34 +0000 Original-Received: from localhost ([127.0.0.1]:38013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S5OZ3-0003o0-Hd for submit@debbugs.gnu.org; Wed, 07 Mar 2012 16:38:34 -0500 Original-Received: from mail-tul01m020-f172.google.com ([209.85.214.172]:38437) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S5OYm-0003n2-Hx for 10906@debbugs.gnu.org; Wed, 07 Mar 2012 16:38:18 -0500 Original-Received: by obbta4 with SMTP id ta4so5231441obb.3 for <10906@debbugs.gnu.org>; Wed, 07 Mar 2012 13:37:11 -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=bJDrJVn3p1gidxmBVDjUNhx2SSQCq4qZth2jbZe+T0g=; b=zc9QBSpS6BjelYEuB70mZgAjmZj4aYtLuzEbsPjz87zpiVhC8Kdes275HGrezeBVVG OF15IY+DBB79i/fbj/ekcVU3sVWB4soJLINc8V72Y3w6uenMx8Z8bZA5EzE8beeiiGjG WL4fnOc0OJWoyeRl67lGugcsy8JkJkBjN2caSZ0ei3GsMxvoC31NAgMgOMQ9W4IKOgP7 R5drPO71xRCQHJnXhIO04MILnLxJ0PoIJLXS+JBtAnX2Vc7Nd9RGrAZcwOY7vjlZHORh rMjZ1gjlKCu6veSsBrTfQgP7ZDQc1FtITdY+hRBDoDXVSHl5SPJw2bW1lnvFxFO2nYil tO/g== Original-Received: by 10.182.119.101 with SMTP id kt5mr1361553obb.70.1331156231010; Wed, 07 Mar 2012 13:37:11 -0800 (PST) Original-Received: by 10.60.42.193 with HTTP; Wed, 7 Mar 2012 13:37:10 -0800 (PST) In-Reply-To: <20120307210929.GA2486@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:57558 Archived-At: > Here's a revised patch. =A0I think it'll work this time. It works, thank you. BTW, I have a question (I've still a beginner on elisp): What's the point of the "or" form here? > + =A0 =A0 =A0 =A0 =A0 =A0 (or (and (eq this-command 'c-mark-function) > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(eq last-command 'c-mark-fun= ction)))) It has a single argument, so that it would be equivalent to get rid of it, like this: > + =A0 =A0 =A0 =A0 =A0 =A0 (and (eq this-command 'c-mark-function) > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(eq last-command 'c-mark-fun= ction))) ?? --=20 Dani Moncayo