GNU bug report logs - #33649
26.1.50; variable is highlighted as type in c++ mode

Previous Next

Packages: emacs, cc-mode;

Reported by: Shanavas <shanavas.m2 <at> gmail.com>

Date: Thu, 6 Dec 2018 15:29:02 UTC

Severity: minor

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#33649: closed (26.1.50; variable is highlighted as type in
 c++ mode)
Date: Mon, 10 Dec 2018 12:26:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 10 Dec 2018 12:20:39 +0000
with message-id <20181210122039.GA4188 <at> ACM>
and subject line Re: bug#33649: 26.1.50; variable is highlighted as type in c++ mode
has caused the debbugs.gnu.org bug report #33649,
regarding 26.1.50; variable is highlighted as type in c++ mode
to be marked as done.

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


-- 
33649: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33649
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Shanavas <shanavas.m2 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1.50; variable is highlighted as type in c++ mode
Date: Thu, 06 Dec 2018 16:51:41 +0530
[Message part 3 (text/plain, inline)]
For the following snippet,

```
int a = 9;
func(a);
func(a * 9);
```
`a` is highlighted differently in two function calls.
In `func(a)` it is highlighted as a variable where in `func(a * 9)` it is highlighted as a type.

Major mode: C++//l
-- 
ഷാനവാസ്
Sent from my Android device with K-9 Mail.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: Shanavas <shanavas.m2 <at> gmail.com>
Cc: 33649-done <at> debbugs.gnu.org
Subject: Re: bug#33649: 26.1.50; variable is highlighted as type in c++ mode
Date: Mon, 10 Dec 2018 12:20:39 +0000
Hello, Shanavas.

On Mon, Dec 10, 2018 at 13:12:54 +0530, Shanavas wrote:
> Thanks, Works great.

Thank you for the testing!

> Please apply appropriate patch to emacs-26 branch too.

I've applied the patch to the emacs-26 branch.  It will filter through
to the master branch in due course when "somebody" activates the
movement of bug fixes from emacs-26 to master.

I'm closing the bug, now.

> -- 
> ഷാനവാസ്
> Sent from my Android device with K-9 Mail.

-- 
Alan Mackenzie (Nuremberg, Germany).


This bug report was last modified 6 years and 215 days ago.

Previous Next


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