bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23313: 25.0.92; CC Mode not recognizing function declarations that r


From: Alan Mackenzie
Subject: bug#23313: 25.0.92; CC Mode not recognizing function declarations that returns pointer to custom type
Date: Mon, 25 Apr 2016 12:30:22 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello again, Mohammed.

On Mon, Apr 25, 2016 at 05:10:32PM +0530, Mohammed Sadik wrote:
> On 4/25/16, Alan Mackenzie <acm@muc.de> wrote:
> <snip>


> >> GtkWidget **
> >> my_app_window (|)

> >> As ** is clearly a pointer to pointer,  cc-mode shall be able to guess
> >> very early.

> > It's not actually that clear.  The second star could be accessing the
> > pointer returned by calling my_app_window.  ;-)


> That was a nice catch. ;-)

:-)

> > So I think this bug is now fixed.  Assuming I don't hear from you about
> > any more problems, I'll commit the patch to the master branch, and mark
> > the bug report as fixed.

> I hope this patch is commited to emacs-25 branch too.

Sadly, no.  The Emacs-25 pretest is at a very late stage (John Wiegley,
the maintainer is hoping to release in July, I think), and only fixes
for particularly nasty/urgent/high impact bugs are being accepted now.
In all honesty, this isn't such a bug - people have been living with it
for a very long time (over 10 years, possibly 20), and it doesn't impede
the use of CC Mode all that much, annoying though it is.  I know that
John would reject my request if I asked to merge it into the emacs-25
branch.

So, sorry about that too.  What I suggest you do is to keep the patch
(even though it doesn't apply cleanly), and when you upgrade to Emacs 25
in the (northern hemisphere) summer, apply the patch and rebuild.  At
least that way your own copy will run with the bug fixed.

-- 
Alan Mackenzie (Nuremberg, Germany).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]