From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#4192: 23.1; special fontification for "//" in cc-mode Date: Sat, 9 Nov 2019 12:20:11 +0000 Message-ID: <20191109122011.GA5546__4293.50457140885$1573302130$gmane$org@ACM> References: <20090821213323.GC1897@muc.de> <87k2lo193k.fsf@gnus.org> <87wocjzii7.fsf@gnus.org> <20191102163513.GC6710@ACM> <875zk1ar9d.fsf@gnus.org> <20191103174618.GA11619@ACM> <871ruj8n19.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="46243"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 4192-done@debbugs.gnu.org, tom@tromey.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 09 13:22:05 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iTPkj-000Bua-Af for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 13:22:05 +0100 Original-Received: from localhost ([::1]:36216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTPki-0000A3-6g for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 07:22:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60371) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTPjm-0007x4-8H for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 07:21:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTPji-0004Sg-Nh for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 07:21:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39523) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTPji-0004ST-Dw; Sat, 09 Nov 2019 07:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTPji-0003Nq-9g; Sat, 09 Nov 2019 07:21:02 -0500 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 09 Nov 2019 12:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 4192 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch Mail-Followup-To: 4192@debbugs.gnu.org, acm@muc.de, tromey@redhat.com Original-Received: via spool by 4192-done@debbugs.gnu.org id=D4192.157330201712935 (code D ref 4192); Sat, 09 Nov 2019 12:21:02 +0000 Original-Received: (at 4192-done) by debbugs.gnu.org; 9 Nov 2019 12:20:17 +0000 Original-Received: from localhost ([127.0.0.1]:48342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTPiz-0003MZ-6z for submit@debbugs.gnu.org; Sat, 09 Nov 2019 07:20:17 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:11281 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iTPix-0003ML-C6 for 4192-done@debbugs.gnu.org; Sat, 09 Nov 2019 07:20:15 -0500 Original-Received: (qmail 72649 invoked by uid 3782); 9 Nov 2019 12:20:13 -0000 Original-Received: from acm.muc.de (p2E5D5246.dip0.t-ipconnect.de [46.93.82.70]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 09 Nov 2019 13:20:11 +0100 Original-Received: (qmail 6271 invoked by uid 1000); 9 Nov 2019 12:20:11 -0000 Content-Disposition: inline In-Reply-To: <871ruj8n19.fsf@gnus.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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: 209.51.188.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:171323 Archived-At: Hello, Lars. On Thu, Nov 07, 2019 at 21:11:14 +0100, Lars Ingebrigtsen wrote: > Alan Mackenzie writes: > > Would you (and anybody else) please review the following patch. Short > > instructions on how to enable the feature are in the NEWS alteration; > > longer ones are in the cc-mode.texi bit: > Looks nice. Thanks for the review. > The only confusing thing is that the `C-c C-k' doesn't immediately > flush the fontifying, so there's no feedback until you start typing. > It'd be nice if `C-c C-k' immediately fontified the "wrong" comment > style. Yes. You're right. I've amended the code so that this toggling of the fontification of the "wrong" comments is now done instantly. I've committed the change (including the amendments to the NEWS and cc-mode.texi hunks requested by Eli), and I'm closing the bug with this post. > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Alan Mackenzie (Nuremberg, Germany).