all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hong Xu <hong@topbug.net>
To: John Mastro <john.b.mastro@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Annoying "Parsing...done" message when editing C++ files
Date: Wed, 02 Nov 2016 16:36:05 -0700	[thread overview]
Message-ID: <87oa1xihei.fsf@topbug.net> (raw)
In-Reply-To: <CAOj2CQSFby+3Uma8eW35DxPGxKHM5WNDhiAV6RoD5jHpDBBO9Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 548 bytes --]


On 2016-11-02 Wed 10:19 GMT-0700, John Mastro <john.b.mastro@gmail.com> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  parent reply	other threads:[~2016-11-02 23:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02  1:41 Annoying "Parsing...done" message when editing C++ files Hong Xu
2016-11-02  8:16 ` Alex Kost
2016-11-02 17:19 ` John Mastro
2016-11-02 17:25   ` Stefan Monnier
2016-11-02 17:31   ` Stefan Monnier
2016-11-02 23:36   ` Hong Xu [this message]
2016-11-03 17:48   ` Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oa1xihei.fsf@topbug.net \
    --to=hong@topbug.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=john.b.mastro@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.