From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jiajian Huang Newsgroups: gmane.emacs.bugs Subject: bug#24271: 25.1; font-lock problem of c++-mode Date: Sat, 20 Aug 2016 16:27:38 +0800 Message-ID: References: <7756A5F1-342F-4F55-8D6B-1A41B528DE5A@gmail.com> <83twegc4ie.fsf@gnu.org> <1645ABE9-D61A-4DDE-B4D6-94A29A2CC2AA@gmail.com> <02148DC1-20D2-41B8-BA43-CFBE6A07C3F6@gmail.com> <83k2fbdfg9.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_7C0939B8-0492-4928-B39F-218F2E00F7F2" X-Trace: blaine.gmane.org 1471681702 5708 195.159.176.226 (20 Aug 2016 08:28:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Aug 2016 08:28:22 +0000 (UTC) Cc: 24271@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 20 10:28:18 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 1bb1dY-0001Br-5x for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Aug 2016 10:28:16 +0200 Original-Received: from localhost ([::1]:60274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb1dU-0006SU-Vx for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Aug 2016 04:28:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb1dP-0006M2-3s for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 04:28:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb1dK-00030C-1X for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 04:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb1dJ-000308-Ul for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 04:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bb1dJ-0003XR-Pk for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 04:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jiajian Huang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Aug 2016 08:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24271 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24271-submit@debbugs.gnu.org id=B24271.147168167113583 (code B ref 24271); Sat, 20 Aug 2016 08:28:01 +0000 Original-Received: (at 24271) by debbugs.gnu.org; 20 Aug 2016 08:27:51 +0000 Original-Received: from localhost ([127.0.0.1]:34682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bb1d9-0003X1-45 for submit@debbugs.gnu.org; Sat, 20 Aug 2016 04:27:51 -0400 Original-Received: from mail-pa0-f47.google.com ([209.85.220.47]:32951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bb1d6-0003Wm-TJ for 24271@debbugs.gnu.org; Sat, 20 Aug 2016 04:27:49 -0400 Original-Received: by mail-pa0-f47.google.com with SMTP id ti13so22877259pac.0 for <24271@debbugs.gnu.org>; Sat, 20 Aug 2016 01:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=fOaUM0pAM2svBQ+CdkM8A5J+84RkP4FA/P4bLU8SC6Y=; b=BtsxP2llqyJkRjA4TZzxJxxHz6jkH2iVSw0fJXrWANtX63zLQ7s/O2hZNt91mgiHQp XwzT/GKwDSdmZ+9WL7Ob66Ro2rkiPy23wN2j7jK7wHdPWXXnq/RqFdPO3fF6XMZYLPap hk8q6e+Y1Xlzs9UvMCDUgY09eDAikN+as6ptLPtoRviDv77TFcvMSw+JRtcGkeM79coS TpapoSdddP0ctF9nn22vTKvgTTf3bcoEgnkoze7UG+R/EUZVHjYWdyNXS7kVo/bEWN30 gTv2g0tE+AavEkcdAtCgW+hp6AFXt+0Y+oKMeBZJeH/lGGiqaRCsAGMhajD4q+XoYqQO cpnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=fOaUM0pAM2svBQ+CdkM8A5J+84RkP4FA/P4bLU8SC6Y=; b=SnKICqRbCND5kqgLRkQGX/XskfjBi+hz3koBaLHTtCYQ3WyalFCBQtMdP0JvDbSImL ylFXw9Q1vEhJICdVvIRTbEH7MEFPncGu9F7RG3SdsT1nlLScrSVc+6zwfvtpToshjPA7 hfvFfm199dhQPDK33E7bZwi/a0uIf/ayTkwEEI5fM3YQ7yyDm25KXVvR2eqxH/y11SzK MdEly0x0mNQn+mBfgjpATA1M5qphGB9Cixt3I9PG/yE+DCAfgJ9m5jOQgZF5yM/RumSL SnWF3ik9WzSpM2WAZa/DYGhJXqEV9J3gvqlHeJ9KPDKzuGeHk0YDDc4aNREa/VRDg9MZ +4iw== X-Gm-Message-State: AEkooutVkpuAHGm2s+9GTynv3r5RH37+REk04erhHcU+iZwT7V93uf36Qw+glUQwvH0LFA== X-Received: by 10.66.221.229 with SMTP id qh5mr21404673pac.66.1471681663214; Sat, 20 Aug 2016 01:27:43 -0700 (PDT) Original-Received: from [10.255.129.164] ([183.63.102.225]) by smtp.gmail.com with ESMTPSA id ww14sm16906938pac.34.2016.08.20.01.27.41 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 Aug 2016 01:27:42 -0700 (PDT) In-Reply-To: <83k2fbdfg9.fsf@gnu.org> X-Mailer: Apple Mail (2.3124) 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:122411 Archived-At: --Apple-Mail=_7C0939B8-0492-4928-B39F-218F2E00F7F2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thanks for your reply. > The effects of changing the colors is exacerbated in your case by the > fact that you use a bold face for some of the faces. =20 The changes is really annoying. In my opinion, a bold type font for = keywords=20 and variable name is just too common in modern editor using a large = monitor. With the regular font style, it=E2=80=99s difficult to read the code. > On 20 Aug 2016, at 16:15, Eli Zaretskii wrote: >=20 > Regardless of what Alan, the developer of the C++ mode says about > this, I think you can avoid at least some of the unpleasant effects of > this in your setup if you activate stealth fontification by setting > jit-stealth-time to some non-nil value, like 0.1.=20 Do you mean jit-lock-stealth-time ? I set it to 0.1 (even 0.8) and nothing changes. Thanks.= --Apple-Mail=_7C0939B8-0492-4928-B39F-218F2E00F7F2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Thanks for your reply.

The effects of changing = the colors is exacerbated in your case by the
fact that you use a bold face for some of the = faces.  

The changes is really annoying. In my opinion, a bold type = font for keywords 
and variable name is just = too common in modern editor using a large monitor.
With the regular font style, it=E2=80=99s difficult to read = the code.

On 20 Aug 2016, at 16:15, Eli = Zaretskii <eliz@gnu.org> wrote:

Regardless of what Alan, the developer of the = C++ mode says about
this, I think you can avoid at least some = of the unpleasant effects of
this in your setup if you activate = stealth fontification by setting
jit-stealth-time to some non-nil value, = like 0.1. 

Do you = mean jit-lock-stealth-time ?

I set it to 0.1 (even 0.8) and nothing = changes.

Thanks.
= --Apple-Mail=_7C0939B8-0492-4928-B39F-218F2E00F7F2--