From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#10906: 24.0.94; `c-mark-function' does set the mark well Date: Fri, 9 Mar 2012 16:49:32 +0000 Message-ID: <20120309164931.GA3748@acm.acm> 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: 8bit X-Trace: dough.gmane.org 1331311886 2083 80.91.229.3 (9 Mar 2012 16:51:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2012 16:51:26 +0000 (UTC) Cc: 10906@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 09 17:51: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 1S632H-0004Ms-Ke for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Mar 2012 17:51:21 +0100 Original-Received: from localhost ([::1]:46882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S632E-0002oG-U1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Mar 2012 11:51:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S632C-0002nv-Ka for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2012 11:51:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S632B-0005o1-1w for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2012 11:51:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6322-0005lB-AF; Fri, 09 Mar 2012 11:51:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S632v-0008IH-Mh; Fri, 09 Mar 2012 11:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 09 Mar 2012 16:52: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.133131188731841 (code B ref 10906); Fri, 09 Mar 2012 16:52:01 +0000 Original-Received: (at 10906) by debbugs.gnu.org; 9 Mar 2012 16:51:27 +0000 Original-Received: from localhost ([127.0.0.1]:40749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S632M-0008HW-Iu for submit@debbugs.gnu.org; Fri, 09 Mar 2012 11:51:26 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:49694 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S632J-0008HN-UW for 10906@debbugs.gnu.org; Fri, 09 Mar 2012 11:51:25 -0500 Original-Received: (qmail 81400 invoked by uid 3782); 9 Mar 2012 16:50:26 -0000 Original-Received: from acm.muc.de (pD951A7C6.dip.t-dialin.net [217.81.167.198]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 09 Mar 2012 17:50:22 +0100 Original-Received: (qmail 4314 invoked by uid 1000); 9 Mar 2012 16:49:32 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:57586 Archived-At: Hello, Dani. On Wed, Mar 07, 2012 at 10:37:10PM +0100, Dani Moncayo wrote: > > Here's a revised patch.  I think it'll work this time. > It works, thank you. I've committed a patch for this into savannah. > BTW, I have a question (I've still a beginner on elisp): What's the > point of the "or" form here? > > +             (or (and (eq this-command 'c-mark-function) > > +                      (eq last-command 'c-mark-function)))) > It has a single argument, so that it would be equivalent to get rid of > it, like this: > > +             (and (eq this-command 'c-mark-function) > > +                      (eq last-command 'c-mark-function))) Yes! That was a coding mistake, thanks for picking it up. > ?? > -- > Dani Moncayo -- Alan Mackenzie (Nuremberg, Germany).