From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.help Subject: Re: Annoying "Parsing...done" message when editing C++ files Date: Wed, 02 Nov 2016 16:36:05 -0700 Message-ID: <87oa1xihei.fsf@topbug.net> References: <87mvhiwte6.fsf@topbug.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1478129802 14334 195.159.176.226 (2 Nov 2016 23:36:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2016 23:36:42 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 25.1.50.8 Cc: "help-gnu-emacs@gnu.org" To: John Mastro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 03 00:36:38 2016 Return-path: Envelope-to: geh-help-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 1c255B-00034G-5C for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Nov 2016 00:36:37 +0100 Original-Received: from localhost ([::1]:58234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c255D-0006V9-Sy for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2016 19:36:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c254o-0006Ua-9o for help-gnu-emacs@gnu.org; Wed, 02 Nov 2016 19:36:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c254k-0006iP-GT for help-gnu-emacs@gnu.org; Wed, 02 Nov 2016 19:36:14 -0400 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21431) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c254k-0006iF-9B for help-gnu-emacs@gnu.org; Wed, 02 Nov 2016 19:36:10 -0400 Original-Received: from localhost (usc-secure-wireless-088-061.usc.edu [68.181.88.61]) by mx.zohomail.com with SMTPS id 1478129766442737.7496423039656; Wed, 2 Nov 2016 16:36:06 -0700 (PDT) In-reply-to: X-Zoho-Virus-Status: 1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 74.201.84.163 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111658 Archived-At: --=-=-= Content-Type: text/plain On 2016-11-02 Wed 10:19 GMT-0700, John Mastro wrote: > Something like this should do the trick: > > (defun my-cpp-highlight-buffer-advice (orig &rest args) > (let ((inhibit-message t)) > (apply orig args))) > > (with-eval-after-load 'cpp > (advice-add 'cpp-highlight-buffer :around > #'my-cpp-highlight-buffer-advice)) > > Hope that helps > Thanks. FYI, I've submitted a patch to resolve this issue, which is probably more elegant: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24861#17 Hong --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYGnhlAAoJECZsfTOCL4R45cMQALtotCB5HHAmSa4UvZ5utaLk Rg2qq0PZ/DHTttr79+sm30rUItO6ac+uaM1xWiozZCph7asJXZLHQ42wKIxkiOj5 voH/9WHppYgWNXELSOAV1DELNXUgpgSefe0/udjNlfA8W204BkMQhgD0vV5CoTyh aeluGavuMTZnRs0ju0wNKJpPIrfZ+linFNLkqOM/FRXy4wz7KY162dOfbPA+HLa/ Vnkjjvz/a5oSjnBzzhF2lFxdWHlr+SiWumJk0uEmxRwSui8aZv+VR4BuxHgkXBmr dDyRP/F5lVIv5ia9eJBxZt3oRIRa19llCjpgAH2DVR6nSOXvMcMi9/QkI8f+ZxTY km4EC2vqUk+hL2mKx5VzxaEuNbJ+LdaaKmCVeJnbp6CVe+ere3BUMSo6mF4CoD+n Sn2KuW8sI4tOX5YHcZxFC1XQ+DQQMcvBriB0lolpMiwMfzZ5FSCaH6navXoNoq7g 5cnB3sFxFAZiVxBqv0qlihDK0AkkB5IjU7nO5iTEd1I4sMCZFsEAKTEWfC3bXUn5 reNBzVhr8+GN7tySbgtFAu5DuvtXFcEciCFpHf0lJGuAZnOvg1sA17JMu5EnIIXy FdfvkjnLT08Mc2vm511uKkOXySAVuPH7r/H8gnQwveMPeh1+9CTyy8VaL0imtsa7 /ru9Hb01OTWGLJ4LhTIV =2F3T -----END PGP SIGNATURE----- --=-=-=--