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: Tue, 15 Nov 2016 16:03:19 -0800 Message-ID: <877f84mgu0.fsf@topbug.net> References: <87r36tn2ka.fsf@topbug.net> <87oa1xmyok.fsf@topbug.net> <83d1idmy3c.fsf@gnu.org> <87pomdihhd.fsf@topbug.net> <831sysmnvc.fsf@gnu.org> <87a8dgo13q.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 1479254695 23858 195.159.176.226 (16 Nov 2016 00:04:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2016 00:04:55 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 25.1.50.7 Cc: 24861@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 16 01:04:49 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 1c6nhy-0001LO-Aw for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Nov 2016 01:04:10 +0100 Original-Received: from localhost ([::1]:49761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6ni1-0003Xr-B7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Nov 2016 19:04:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6nhv-0003Xk-BA for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2016 19:04:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6nhu-0003SN-AP for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2016 19:04:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43241) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c6nhq-0003O9-JO; Tue, 15 Nov 2016 19:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c6nhq-0007Qm-9J; Tue, 15 Nov 2016 19:04:02 -0500 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: Wed, 16 Nov 2016 00:04: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.147925461328513 (code B ref 24861); Wed, 16 Nov 2016 00:04:02 +0000 Original-Received: (at 24861) by debbugs.gnu.org; 16 Nov 2016 00:03:33 +0000 Original-Received: from localhost ([127.0.0.1]:58640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6nhM-0007Pp-PJ for submit@debbugs.gnu.org; Tue, 15 Nov 2016 19:03:32 -0500 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6nhL-0007Pg-Hg for 24861@debbugs.gnu.org; Tue, 15 Nov 2016 19:03:31 -0500 Original-Received: from localhost (cpe-104-32-170-214.socal.res.rr.com [104.32.170.214]) by mx.zohomail.com with SMTPS id 1479254604103100.76670416406967; Tue, 15 Nov 2016 16:03:24 -0800 (PST) In-reply-to: <87a8dgo13q.fsf@topbug.net> 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:125738 Archived-At: --=-=-= Content-Type: text/plain On 2016-11-03 Thu 11:43 GMT-0800, Hong Xu wrote: > 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. Can you still consider this patch? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYK6JHAAoJECZsfTOCL4R4DncP/0Wi5rEqpSfyYQldEnNk0C4Q 2p4ltCOngzC7LVGUiALte/xZBI3wgKoY2RWN9aHsPcEPEzFlWyYxgthaAtOD8uVv uAniAJolgxzYScVegeDwtKe4QmBDDicLwhd2MJF0V+aRQQqssIVwm7TprmO9nOBz Xp4XMsgrl1BWutll0EPfG/fYL39+KHM73ubn6eBGznZoMyC/35A5MYdhTS8xoW1K gtreO8Q9iPCz9it32yce+X9FcAc9j1jlcuPQB9KUj8u3jnuurF/RXj6l5twM9b0e 6zDbfRy51DDgW84ji2QrZp5bko5RXWzRdYuraq6i/f+2Z0IcHidVU42wqsQKWHbC p3cMYrKLaB36XK7/JNqp/iXMO4OLmarAFItJMeA8F1aiytSpTDFgMPE2guyXfgMi sxbN5KDjzvIZb9IumjltxQ6bHSkHaBhXrpeNt0wx3gM+c696cBuln55pk5oOMMuL 4hFVnyhRrn+DnrYdUaMwC9R33c1EIiIsfqYDWRyYzu42pHaXR/iELN5auoZjnSGR 9GV/t+tx9Of6n3r9NGRswoDPblK9BlgeQJz2kwLxXkGTbj7aXMNYaBfsC+I43dV9 aqIYCHscK7Bu7YMRpWWjV6vvZ7zK1oRqsT8OhjDmLFbYxf/eojUVzw7n4YJNsOnu reSS5T6SeTvz2vhDR0Wn =3+LT -----END PGP SIGNATURE----- --=-=-=--