all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Alan Mackenzie <acm@muc.de>, Eli Zaretskii <eliz@gnu.org>
Cc: Yuan Fu <casouri@gmail.com>, 75226@debbugs.gnu.org, jacob.fai@gmail.com
Subject: bug#75226: [31.0.50] C++ ts-mode missing "alignof" as keyword
Date: Wed, 8 Jan 2025 19:12:06 +0200	[thread overview]
Message-ID: <41ab2547-80c4-4a62-88dc-fd4fcaf550e6@gutov.dev> (raw)
In-Reply-To: <Z36QigiCqQtjiHQc@MAC.fritz.box>

On 08/01/2025 16:49, Alan Mackenzie wrote:
>>> I found that both c++-mode and c++-ts-mode fontifies C++ alternative
>>> operators like and_eq, xor, etc as keywords. Maybe we should fontify
>>> them in operator face (added in Emacs 29) instead?
>> What do other editors do?
>> Alan, WDYT about this?
> For me personally, another face for "alphabetic operators" would
> come dangerously close to angry fruit salad.

One of the benefits of the current setup is that font-lock-operator-face 
by default just inherits the attributes from the 'default' face.

But custom themes (and individual users) can add distinction by 
customizing this face.





      reply	other threads:[~2025-01-08 17:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-31 16:01 bug#75226: [31.0.50] C++ ts-mode missing "alignof" as keyword Jacob Faibussowitsch
2025-01-02  3:28 ` Yuan Fu
2025-01-02  5:06   ` Stefan Kangas
2025-01-02  6:41   ` Eli Zaretskii
2025-01-02 14:03     ` Jacob Faibussowitsch
2025-01-02 15:47       ` Eli Zaretskii
2025-01-03  8:50     ` Yuan Fu
2025-01-03 11:38       ` Eli Zaretskii
2025-01-04  7:34         ` Yuan Fu
2025-01-08  3:09           ` Yuan Fu
2025-01-08 12:49             ` Eli Zaretskii
2025-01-08 13:58               ` Jacob Faibussowitsch
2025-01-08 14:49               ` Alan Mackenzie
2025-01-08 17:12                 ` Dmitry Gutov [this message]

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=41ab2547-80c4-4a62-88dc-fd4fcaf550e6@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=75226@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=casouri@gmail.com \
    --cc=eliz@gnu.org \
    --cc=jacob.fai@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.