GNU bug report logs - #12263
24.2; c-at-expression-start-p

Previous Next

Packages: cc-mode, emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Thu, 23 Aug 2012 01:34:02 UTC

Severity: minor

Tags: confirmed

Found in versions 26.1, 25.0.95, 27.0.50, 24.2

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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alan Mackenzie <acm <at> muc.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#12263: closed (24.2; c-at-expression-start-p)
Date: Sat, 04 Jul 2020 16:44:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 4 Jul 2020 16:43:25 +0000
with message-id <20200704164325.GB19042 <at> ACM>
and subject line Re: bug#12263: 24.2; c-at-expression-start-p
has caused the debbugs.gnu.org bug report #12263,
regarding 24.2; c-at-expression-start-p
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
12263: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12263
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2; c-at-expression-start-p
Date: Thu, 23 Aug 2012 09:33:02 +0800
[Message part 3 (text/plain, inline)]
1. Emacs -q t.m
2. Move point to the first '-'
3. M-: (c-at-expression-start-p)
4. Move point to the second '-'
5. M-: (c-at-expression-start-p)

step 3 return nil but step 5 returns non-nil. It appears that every
first method declaration fails c-at-expression-start-p.

Leo
[t.m (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: Stefan Kangas <stefan <at> marxist.se>, 12263-done <at> debbugs.gnu.org
Subject: Re: bug#12263: 24.2; c-at-expression-start-p
Date: Sat, 4 Jul 2020 16:43:25 +0000
Hello, Leo.

On Sun, Nov 03, 2019 at 10:57:25 +0800, Leo Liu wrote:
> On 2019-11-01 11:26 +0000, Alan Mackenzie wrote:
> > Leo, can you remember at all what (if anything) you were using this
> > function for?

> I used it once in my init script. But

> > Given that it appears to be wholly unused, I'm inclined to mark this
> > function as obsolete or deprecated, and then to remove it later.  It
> > doesn't seem to be worth the trouble to make it work properly.  The same
> > might also apply to the function c-at-statement-start-p.

I've marked c-at-expression-start-p as obsolete.  I've got rid of a
formerly obsolete function entirely (might as well).
c-at-statement-start-p is actually used quite a bit in CC Mode, so it
stays.  ;-)

> I can live with this change. Thanks for asking.

I'm closing the bug with this post.

> Leo

-- 
Alan Mackenzie (Nuremberg, Germany).


This bug report was last modified 5 years and 16 days ago.

Previous Next


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