From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "George O'Hara" Newsgroups: gmane.emacs.bugs Subject: bug#41284: 26.3; cc-mode: Incorrect font locking of static functions Date: Fri, 15 May 2020 13:03:39 +0100 Message-ID: References: <83v9kx1kds.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003156dd05a5ae9b7b" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="82781"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41284@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 15 14:05:25 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZZ5e-000LG2-Rw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 14:05:22 +0200 Original-Received: from localhost ([::1]:50640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZZ5d-0007jc-UQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 08:05:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZZ4N-0006P7-3O for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 08:04:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZZ4M-0005uQ-R7 for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 08:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZZ4M-00027l-Kn for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 08:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "George O'Hara" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 May 2020 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41284 X-GNU-PR-Package: emacs Original-Received: via spool by 41284-submit@debbugs.gnu.org id=B41284.15895442398155 (code B ref 41284); Fri, 15 May 2020 12:04:02 +0000 Original-Received: (at 41284) by debbugs.gnu.org; 15 May 2020 12:03:59 +0000 Original-Received: from localhost ([127.0.0.1]:36125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZ4I-00027T-Pv for submit@debbugs.gnu.org; Fri, 15 May 2020 08:03:59 -0400 Original-Received: from mail-io1-f45.google.com ([209.85.166.45]:44587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZ4F-00027F-U7 for 41284@debbugs.gnu.org; Fri, 15 May 2020 08:03:56 -0400 Original-Received: by mail-io1-f45.google.com with SMTP id f4so2346542iov.11 for <41284@debbugs.gnu.org>; Fri, 15 May 2020 05:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yqr3MBAHIuTJjcvRWCPLj2YMjwpzvpt5cZuN3xMruRw=; b=oW+b76TPyr00rgm3ARP0e5mNnQ3F8m7hZ1Q2YoFrSI7xcyW4bEQBk0nG170D0uOhPy 9A5Dk/ftx6WWMTtD6tjAhyTgeDaFGRTgHdkFDJq3/4kLQ554bb5FNIOyDnqkAYEAD5qg PkrIi/7OnSuvkYSa6xIh/40SgfNYR+6uN3DSSSkkV8VcSxDWLFuU+idpce2+GrGpZZTM AVnL7fvuvL9N/6WIJiyzfBblbEk+p3TAOBuafO9I/wxsYmOUpoT5e9h/6APRjgDQ4Fe7 LNNowFQ8kWp62ieiPswn7K21zNqMQwRr1KlK7hLf94cmA2eU5lgUN5zv0NtDmwkpJaWO lAxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yqr3MBAHIuTJjcvRWCPLj2YMjwpzvpt5cZuN3xMruRw=; b=AyQEjsmZsDVXgrpqLdZNBhR188aiA1D1DjsIcYNVAXIrWlP3b1VqGSjvv2aBx3OSXZ UuQK14gu62x8QgqW9Mh6V1fPwq2OTXJN+ApxV7cMcnY0NtPwNVxpQ1zvnA4o/7sTv3oi 7Y+Ps2F7legELms+jEUmvfAG3r6LfuCUWH+0QTp5bCyRwbL9cFggKQAv0JQfazj1C02l GOS2eb4QiG5MXLO95I98tz5+4cl0mUcGdV6zdC+o5xhdQtbZo5ULQ5CpWpvP7rg1phLc 1U6UJpfoacZtNhlFzQZRttd3gIwacqf7LsW7CmutWkJEsmTWhyaFrKI8dLrEOENzprzQ t95Q== X-Gm-Message-State: AOAM5337g+1fO9Yv+Vqy9+AUA6lHXRjbrMaIfpfuMtcrWT4JBuu3Kbfk 9ACyOS1p0lj6b/gvQ1FqvpVDFSOQlB/HA6TVivc= X-Google-Smtp-Source: ABdhPJydF4VcHUnR4SQYhuFfrb+93ZHnUKwfdYzq7SKSi5Fv5m7Ij+DSF+NhWj2r67rvBMvJa3A56JpjNBf3DkOzWHM= X-Received: by 2002:a6b:b2c7:: with SMTP id b190mr2568529iof.121.1589544230146; Fri, 15 May 2020 05:03:50 -0700 (PDT) In-Reply-To: <83v9kx1kds.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180321 Archived-At: --0000000000003156dd05a5ae9b7b Content-Type: text/plain; charset="UTF-8" Hi Eli! Yes, I do mean the other way round. I made a post on the Emacs SE with images last night, which may be useful to link here. https://emacs.stackexchange.com/questions/58509/static-function-highlighting-locking-in-c?noredirect=1#comment91178_58509 As an aside, I accidentally posted this bug twice. Is there a way I can close the other issue? Kind regards On Fri, 15 May 2020 at 12:57, Eli Zaretskii wrote: > > From: "George O'Hara" > > Date: Fri, 15 May 2020 12:15:42 +0100 > > > > >From 'emacs -Q', C-x C-f and create a buffer called 'test.c'. > > In this buffer, type: > > > > static int some_function(); > > int static another_function(); > > > > some_function is not highlighted, while another_function is. > > You mean, the other way around, no? > --0000000000003156dd05a5ae9b7b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Eli!

Yes, I do mean the o= ther way round.
I made a post on the Emacs SE with images last ni= ght, which may be useful to link here.

As an aside, I accidentally posted th= is bug twice. Is there a way I can close the other issue?
Kind regards

On Fri, 15 May 2020 at 12:57, Eli Zaretskii &= lt;eliz@gnu.org> wrote:
> From: "George O= 9;Hara" <georgeohara92@gmail.com>
> Date: Fri, 15 May 2020 12:15:42 +0100
>
> >From 'emacs -Q', C-x C-f and create a buffer called 't= est.c'.
> In this buffer, type:
>
> static int some_function();
> int static another_function();
>
> some_function is not highlighted, while another_function is.

You mean, the other way around, no?
--0000000000003156dd05a5ae9b7b--