--- Begin Message ---
Subject: |
24.2; c-at-expression-start-p |
Date: |
Thu, 23 Aug 2012 09:33:02 +0800 |
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
Description: t.m
--- End Message ---
--- Begin Message ---
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).
--- End Message ---