GNU bug report logs - #10906
24.0.94; `c-mark-function' does set the mark well

Previous Next

Packages: cc-mode, emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 28 Feb 2012 12:41:01 UTC

Severity: normal

Found in version 24.0.94

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Mackenzie <acm <at> muc.de>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: Juri Linkov <juri <at> jurta.org>, 10906 <at> debbugs.gnu.org
Subject: bug#10906: 24.0.94; `c-mark-function' does set the mark well
Date: Fri, 9 Mar 2012 16:49:32 +0000
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).




This bug report was last modified 13 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.