From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#24861: [PATCH] Fix annoying "Parsing...done" message in c++-mode Date: Thu, 03 Nov 2016 11:43:53 -0700 Message-ID: <87a8dgo13q.fsf@topbug.net> References: <87r36tn2ka.fsf@topbug.net> <87oa1xmyok.fsf@topbug.net> <83d1idmy3c.fsf@gnu.org> <87pomdihhd.fsf@topbug.net> <831sysmnvc.fsf@gnu.org> 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 1478198737 26892 195.159.176.226 (3 Nov 2016 18:45:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2016 18:45:37 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 25.1.50.3 Cc: 24861@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 03 19:45:30 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 1c2N0h-0003x4-8O for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Nov 2016 19:45:11 +0100 Original-Received: from localhost ([::1]:34566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2N0k-00081w-2W for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Nov 2016 14:45:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2N0c-00080F-2f for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2016 14:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2N0Y-00049R-B7 for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2016 14:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54683) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2N0Y-00049J-8u; Thu, 03 Nov 2016 14:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c2N0Y-0001g3-3W; Thu, 03 Nov 2016 14:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 03 Nov 2016 18:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24861 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch Original-Received: via spool by 24861-submit@debbugs.gnu.org id=B24861.14781986486360 (code B ref 24861); Thu, 03 Nov 2016 18:45:02 +0000 Original-Received: (at 24861) by debbugs.gnu.org; 3 Nov 2016 18:44:08 +0000 Original-Received: from localhost ([127.0.0.1]:41846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2Mzf-0001eW-Sb for submit@debbugs.gnu.org; Thu, 03 Nov 2016 14:44:08 -0400 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2Mze-0001eM-7K for 24861@debbugs.gnu.org; Thu, 03 Nov 2016 14:44:06 -0400 Original-Received: from localhost (cpe-104-32-170-214.socal.res.rr.com [104.32.170.214]) by mx.zohomail.com with SMTPS id 1478198637775340.2304533876289; Thu, 3 Nov 2016 11:43:57 -0700 (PDT) In-reply-to: <831sysmnvc.fsf@gnu.org> X-Zoho-Virus-Status: 1 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:125309 Archived-At: --=-=-= Content-Type: text/plain On 2016-11-03 Thu 11:15 GMT-0700, Eli Zaretskii wrote: >> From: Hong Xu >> Cc: 24861@debbugs.gnu.org >> Cc: Andreas Schwab >> Date: Wed, 02 Nov 2016 16:34:22 -0700 >> >> On 2016-11-02 Wed 13:21 GMT-0700, Eli Zaretskii wrote: >> >> > (Not that I understand why this particular message needs to be >> > customizable.) >> >> Because the messages by cpp.el is so frequent that it often competes >> with other useful information. > > Yes, but we have lots of similar messages in other places. A search > for a call to 'message' that displays "SOMETHING...done" turns up more > than 270 hits. Why is this particular package being singled out? It was not me who singled out this particular package; it was singled out before, with the frequency hard coded to be 1 second. I just made it more flexible and correct a misused plain `message'. > > Also, what useful information does it conceal? Can you show a use > case where this happens? I've never seen how these information can be useful (ideally I would say concealing all these cpp-progress-message unless some debug option is turned on), but I'm probably not qualified enough to make such assertion. One annoying case is that I've set up to show the syntax error at point, but the "Parsing...done" message frequently comes in the way before I can read the message. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYG4VpAAoJECZsfTOCL4R4mzQP/3jpdHBiRLxdJcV9N/VjA2gX vpaMQLrBeYfRdeklUOySqJ85Bd6WJdjRz0/JB1pUmHEAqjO/OXKPi1gBcWP+MyrR Ha4WjCgXePIIRe43uJw65zfSeTJSR6vxd+W2cp8OZM0G9clrErUss5ii4VyAwhee XiBHNTnIgTeyqZoEfHRALdwHXZw9b+F0ZvTZPEN5wn3hCQSGXG5t0ZijbwjCvYIP 7yV9vXC6Kpq92bi02h44KAzpPJHnznWQRM8ELA87YRYSxYn4gdx2u5M4i+iRaFP4 h3w3YO51dofRHldQgtHJGj0BO99CZbIxViXuTA2JucmO0C3QFahSPwIpDnF4QP5d UO4IGijyFBEZbGV4QyFT6v1OHdUcg9ryCcCTV7gB1RqMhxLt3JYdgUuI4KRyAM02 oRNBYGihF4TWV3xEkbk3X175Z96Ikwzb6Bc3lwFqt8s4hJS5JfrQABsEEQkY6Gmz MGZdcHZ3T7YuY9Odib4KQ4n7sRc2HmTwWRqjrf9t77exTeH4f8tF4MWysC3Dwm9E M/KhFJnefpHME/4/1xd0mY9lvqvP0srrrZDzDAfk61+2KZ6FOf8kAQ0W7POU9IpD afr7E+Na1jii9ZXLjwnPehcI9HTwEyMywiUaR5iN1z2J0UBhgVXDZZj75JaTQiG3 JqHEcJVd2STuz+svADYj =v4H2 -----END PGP SIGNATURE----- --=-=-=--