From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: Annoying "Parsing...done" message when editing C++ files Date: Wed, 02 Nov 2016 11:16:40 +0300 Message-ID: <87wpgme1p3.fsf@gmail.com> References: <87mvhiwte6.fsf@topbug.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1478074675 30831 195.159.176.226 (2 Nov 2016 08:17:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2016 08:17:55 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Hong Xu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 02 09:17:51 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 1c1qjh-0004j5-4B for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2016 09:17:29 +0100 Original-Received: from localhost ([::1]:53276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1qjj-00022F-Ae for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2016 04:17:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1qiz-00021A-SN for help-gnu-emacs@gnu.org; Wed, 02 Nov 2016 04:16:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1qiw-0003Lo-OX for help-gnu-emacs@gnu.org; Wed, 02 Nov 2016 04:16:45 -0400 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:35069) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c1qiw-0003LI-GF for help-gnu-emacs@gnu.org; Wed, 02 Nov 2016 04:16:42 -0400 Original-Received: by mail-lf0-x22d.google.com with SMTP id b14so5999594lfg.2 for ; Wed, 02 Nov 2016 01:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=QZaTFwQWaf8lXIoUwlQF2k3x61IKgyl3Peib3YqAn5Q=; b=S9Q+38BezEx+fn2gEwep0OqSkCaBhyNxsZ5u6fbZrF3vKkyVA0SbejpQoISrhcSF/Q Ed9n7T2d54V6a6K51gqgI1GIOlg4UWju2EEiaqG2oWThuT37QhKFYkvaE1rbPaGnKImp QshKKuF7VNfB+7s5SmWlu6ch0E6dQGWcN2pOa4CTGXtFPI3JaTQaNUW1dZS9KDY2Od5R bza3uWNnLAeepVvdIKmUB+CvQeTv3Nte2Ya7AQVkPsZsUD2eP4QPs8ADwUy9zG5QLsrD 16sMDD2llJC6da+itVG3fi5GzmFKuZwEiN3vK2uHXGe6eBhwrEaBlTZ5GHe+9yL/tZW4 kSVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=QZaTFwQWaf8lXIoUwlQF2k3x61IKgyl3Peib3YqAn5Q=; b=kK0EV6fAaA9LlUj6cT2F77+4+4Hzl7MlDw7PN3vEm2l4naoJRPHxJi8sRFH1pg96Qh fqJS8FSO9FZVsvjJzfGv2Fkp2koB2Sj0OXUHpfhRHtUVZhb+4bGx2xSkWpQmQnFCT1+J lpQ5+cl4ddTO5sZceJyZ/UOvd/I6QsKCY4iSPqmWw1cK/PZ9geQ/sYH3JWNDfvidT0Na /0u9xlCzx0JUGbCZoeN9wi0DbYW5LANqYp+9uTjQeySBFuZQbUoqG22fBodDYUP7otpq u4tQLSroacr+W0Qc8ksg/6ugfY9imaH4soqsm5ZrUXen4PnMXPiKMEbTJTJDZhxt//nP ujtQ== X-Gm-Message-State: ABUngvdIox4CKdHbjRTw6iazKATsmLNYuz0KEFf+h9ABx/akxBTAspPCnZ26Asn+aVU8Tw== X-Received: by 10.25.99.12 with SMTP id x12mr1024431lfb.174.1478074600058; Wed, 02 Nov 2016 01:16:40 -0700 (PDT) Original-Received: from leviafan ([217.107.192.156]) by smtp.gmail.com with ESMTPSA id j137sm178317lfj.40.2016.11.02.01.16.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Nov 2016 01:16:39 -0700 (PDT) In-Reply-To: <87mvhiwte6.fsf@topbug.net> (Hong Xu's message of "Tue, 01 Nov 2016 18:41:05 -0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22d 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:111648 Archived-At: Hong Xu (2016-11-01 18:41 -0700) wrote: > Is it possible to remove the annoying "Parsing...done" message in C++ > mode? It often competes with other useful information I've set up. > > I saw this line in progmodes/cpp.el, but don't know how to diminish it: > > (message "Parsing...done")) Since this message is just a line of code in 'cpp-highlight-buffer' command, I think the only way to get rid of it is to write your own function that will override 'cpp-highlight-buffer', but I wouldn't recommend doing it as you'll have to maintain your version of this command (which is pretty big). It's probably better to make a bug report that you'd like to have an option to avoid these "Parsing..." messages. -- Alex