From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#43001: 27.1; bad fontification of Common Lisp uninterned symbols Date: Mon, 24 Aug 2020 14:35:51 +0200 Message-ID: <874kosdxw8.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23446"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43001@debbugs.gnu.org To: Robert Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 24 14:37:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kABio-0005zT-EL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 14:37:10 +0200 Original-Received: from localhost ([::1]:40082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kABin-00070C-Gb for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 08:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kABig-0006z9-L1 for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2020 08:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kABig-00039h-Bh for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2020 08:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kABig-00042k-8m for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2020 08:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Aug 2020 12:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43001 X-GNU-PR-Package: emacs Original-Received: via spool by 43001-submit@debbugs.gnu.org id=B43001.159827256515460 (code B ref 43001); Mon, 24 Aug 2020 12:37:02 +0000 Original-Received: (at 43001) by debbugs.gnu.org; 24 Aug 2020 12:36:05 +0000 Original-Received: from localhost ([127.0.0.1]:56459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kABhk-00041I-Uc for submit@debbugs.gnu.org; Mon, 24 Aug 2020 08:36:05 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:56608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kABhi-00040j-CW for 43001@debbugs.gnu.org; Mon, 24 Aug 2020 08:36:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gBGHJfCWQb8XNZ9eWXQZVk7SsSpvMZVGLXrS7BODyZU=; b=NJdNSR4vO8wNc/gugK2fCXAW2n EWUQOujn6tLFdVxRpndERs3Go6IoC2CwTLTZVY6/2mPu09d5CUJtGu8oJEL48ayosUJMfJR6TSIsp mJ1GUkREbXw1/U6GsrtEExImzmipLUi+sK3T4UI9lB0m84vmDxM7L7xgoaiqeQyCYgso=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kABhY-00063a-VT; Mon, 24 Aug 2020 14:35:55 +0200 X-Now-Playing: Kokoko!'s _Fongola_: "Buka Dansa" In-Reply-To: (Robert Brown's message of "Sun, 23 Aug 2020 16:08:25 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186130 Archived-At: Robert Brown writes: > An uninterned symbol looks like "#:my-symbol". The change causes "#:" > to be displayed with one face and "my-symbol" with another. That's bad. > Fontification signals a semantic property The entire thing is a symbol, > so it should be displayed using one face. What face should we use? > Keyword symbols are displayed using font-lock-builtin-face, so that's > what I would use. Makes sense; I've now made this change in Emacs 28. > Why I'm commenting on Lisp fontification ... Symbols that start with an > ampersand character are currently being displayed using > font-lock-type-face, which doesn't make much sense, since they too are > symbols. Perhaps they should be displayed using font-lock-builtin-face > too. I think it's fine to use that face in Lisp mode (since it's largely unused in Lisp mode otherwise). The face names aren't very descriptive, though. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no