From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#24132: 25.1.50; Missing fontification for header names in C++ mode Date: Mon, 08 Aug 2016 23:15:42 +0000 Message-ID: References: <20160803204457.GA11252@acm.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1137ba2c02a51305399799cf X-Trace: blaine.gmane.org 1470698242 7320 195.159.176.226 (8 Aug 2016 23:17:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 23:17:22 +0000 (UTC) Cc: 24132@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 09 01:17:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWtnJ-0001mm-Jo for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Aug 2016 01:17:17 +0200 Original-Received: from localhost ([::1]:60733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWtnG-00035V-Eq for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Aug 2016 19:17:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWtnB-00035N-5C for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 19:17:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWtn9-0000nj-33 for bug-gnu-emacs@gnu.org; Mon, 08 Aug 2016 19:17:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWtn4-0000nJ-9y; Mon, 08 Aug 2016 19:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWtn4-0001Az-0L; Mon, 08 Aug 2016 19:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 08 Aug 2016 23:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24132 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 24132-submit@debbugs.gnu.org id=B24132.14706981624427 (code B ref 24132); Mon, 08 Aug 2016 23:17:01 +0000 Original-Received: (at 24132) by debbugs.gnu.org; 8 Aug 2016 23:16:02 +0000 Original-Received: from localhost ([127.0.0.1]:60449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWtm5-00019H-MC for submit@debbugs.gnu.org; Mon, 08 Aug 2016 19:16:01 -0400 Original-Received: from mail-oi0-f50.google.com ([209.85.218.50]:33708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWtm3-00018v-75 for 24132@debbugs.gnu.org; Mon, 08 Aug 2016 19:16:00 -0400 Original-Received: by mail-oi0-f50.google.com with SMTP id c15so34364526oig.0 for <24132@debbugs.gnu.org>; Mon, 08 Aug 2016 16:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c2eb7UoucdAoxXrA0GA/0ZfvpByCKZcGV1knptSb7Sk=; b=yI16qDP7ef7Yik7vDkL+fdPIiD8wIng53G7lfL3VqXfmvuAOPS7gi3QrEd116lk9Iu PLSXXRAYGGDZQH1t4+OnZuSinEieIcuWQPg9OybsAtn1tRRzAy9LFAfknYD/Vo3yaWom sbagxi2ad7D8hnn7+CVuj3v1tsuSJX6qZn+jSWpziGwcbV97Tt6deooXTVDM5rznYMWr OnQYIrHRrla4E2dStb6b4MooMp4zaNYg8GHE+vZs8ZpmQ1EF0KO5AnycZ0xaFlDL387r 7Lr5WnEkSCbFwQASuUXUnSHyoNGTb9Roi/Z0M4ZAKxHbLxuA3sDCubM69OrEbTFuDEoE /mGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c2eb7UoucdAoxXrA0GA/0ZfvpByCKZcGV1knptSb7Sk=; b=kxhzEOMK4vIxvq5bAn4yPsWPMxc2fbq7vI6NCmvqiyKKQ64m1QOBMcDayL1zcNHMM7 chIEEiB196df3yaP8ly7OCcAVk9hH5JiagAADTIH8RAx0UHwq4QgOmyWa+nSKP1cBvUh FCwVBhFsGG0sRZ2mmnFyv2fyVkMV+GdV7RoCtOO04vEQjRKjV6OilhCfSIKr8/k70k9v K5SRf4glIptBmKYYOsNlYizaj2L5WsWKQGJV+nqU9qe0EHqt0kn18z5RE/1ZiCqEc+ll ZEe5qWnaj1mIjVHunPica2QQ05Zr9ALrjKV9AcBEh5cY6IesU08mfLK7fJI8lOqcKPGg uOiQ== X-Gm-Message-State: AEkoout+K5AqrnvYE3+qeVEvw6E5jN8/W8fSQadlQg709H/KN57+ICAm9lehdP2OSQbOtz7ksY6+9kE7BhmRwA== X-Received: by 10.202.114.6 with SMTP id p6mr19788098oic.16.1470698153483; Mon, 08 Aug 2016 16:15:53 -0700 (PDT) In-Reply-To: <20160803204457.GA11252@acm.fritz.box> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121987 Archived-At: --001a1137ba2c02a51305399799cf Content-Type: text/plain; charset=UTF-8 Alan Mackenzie schrieb am Mi., 3. Aug. 2016 um 13:45 Uhr: > Hello, Phil. > > On Tue, Aug 02, 2016 at 11:17:06AM -0400, Phil wrote: > > > src/emacs -Q -eval '(progn (insert "#include > \"foo/bar.h\"")(c++-mode)(backward-char 11)(delete-char 1) (insert "\""))' > > > Expected: The header name "foo/bar.h" is fontified as string. > > Actual: the header name isn't fontified. > > Thanks for taking the trouble to report this. > > Could you please try out the following patch to CC Mode, and either > confirm that it solves the problem, or tell me what's still not working > properly. Thanks in advance! (The file to patch is in directory > .../lisp/progmodes.) > > Thanks Alan, the patch indeed fixes the problem. --001a1137ba2c02a51305399799cf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Alan M= ackenzie <acm@muc.de> schrieb am Mi= ., 3. Aug. 2016 um 13:45=C2=A0Uhr:
= Hello, Phil.

On Tue, Aug 02, 2016 at 11:17:06AM -0400, Phil wrote:

> src/emacs -Q -eval '(progn (insert "#include \"foo/bar.h= \"")(c++-mode)(backward-char 11)(delete-char 1) (insert "\&q= uot;"))'

> Expected: The header name "foo/bar.h" is fontified as string= .
> Actual: the header name isn't fontified.

Thanks for taking the trouble to report this.

Could you please try out the following patch to CC Mode, and either
confirm that it solves the problem, or tell me what's still not working=
properly.=C2=A0 Thanks in advance!=C2=A0 (The file to patch is in directory=
.../lisp/progmodes.)


Thanks Alan, the patch indeed fixes th= e problem.=C2=A0
--001a1137ba2c02a51305399799cf--