From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57250: emacs-lisp-mode not highlighting single characters `k' in comments Date: Tue, 16 Aug 2022 20:31:38 +0000 Message-ID: References: <--US8agB7fi34DerSNWvKWbwIMvb88DEFplpFaTyzeOTM82fSgcZ6skhy2cs4o2XI63RFSfbJ-ATOBqM5NknTVU5GY0BiJHCN4Lr2lDLiMM=@proton.me> Reply-To: uzibalqa Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10568"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , "57250@debbugs.gnu.org" <57250@debbugs.gnu.org> To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 22:33:14 2022 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 1oO3FS-0002ZT-5F for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 22:33:14 +0200 Original-Received: from localhost ([::1]:56682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oO3FQ-0004Ey-Tn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 16:33:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO3FH-0004Ek-0K for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 16:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oO3FG-0004Gk-O6 for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 16:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oO3FG-0000cm-E7 for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 16:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 20:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57250 X-GNU-PR-Package: emacs Original-Received: via spool by 57250-submit@debbugs.gnu.org id=B57250.16606819232330 (code B ref 57250); Tue, 16 Aug 2022 20:33:02 +0000 Original-Received: (at 57250) by debbugs.gnu.org; 16 Aug 2022 20:32:03 +0000 Original-Received: from localhost ([127.0.0.1]:48471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO3EF-0000bA-DA for submit@debbugs.gnu.org; Tue, 16 Aug 2022 16:32:02 -0400 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]:22595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO3E8-0000aq-AU for 57250@debbugs.gnu.org; Tue, 16 Aug 2022 16:31:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1660681906; x=1660941106; bh=27S9yQSGUK79yeqiD/1tMjyEe5B6r378A9SxWYC4Ces=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=P1TC9Z8CAlsApDjySqyY7z/SpCrn3nVybaqpRXksNuQdAYYZ38xn6CK1xPyTJJr8V hKIQwPnVnioRwVefisEkcbZq+PYNO8W/IAiP95OuXutuNHth+9PIpYMdYtwWzhCUPl JglJG4lWOw4GTwKjrmDwHK9EO8nMnPqgwNKiY+4VWraUwcDiluoij3QHj6Vhn0+g6g 32ErGfwwkJkuOI9wMiwWWMXC0mRfbctXZKtjxPoQRVD6n17PS3D8+EdAkQSXW10zrC 3DCtLrZpdR5V26OeW24pFSpo7X9jPxy4jXJ77+998W9v+1TmR7UOCIeOTtQXUY/4mV HqmNLsYLe8lew== In-Reply-To: Feedback-ID: 52887082:user:proton 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" X-ACL-Warn: , uzibalqa Xref: news.gmane.io gmane.emacs.bugs:240005 Archived-At: ------- Original Message ------- On Tuesday, August 16th, 2022 at 7:23 PM, Drew Adams wrote: > > > But if the character sequence within tick ` and a single quote ' is a > > > single > > > character, the character does not get highlighted. > > > > > > Example: > > > > > > ;; Insert `k' for words with initial values. > > > > > > The character k does not get highlighted. > > > > That's because k here is more likely to be a key than a Lisp symbol. > > > > So I think this is expected. > > > FWIW, I don't think it should be expected. > > And even if it were expected to consider it > a key, that's not a reason not to highlight > it. I agree. That has been my argument. Keys such as `M-x' do get highlighted. To me, this is a minor bug or a nice= -to-have. If it can be fixed reasonably then that would be good. We need no= t expect, for this bug fix, that things like` C-x C-x', which contains a SP= C > char, would also get fixed (highlighted). > > That would be nice, but there's only so much > that reasonably can be done. Highlighting > everything from `to ' would likely introduce a fair number of problems. (= And then there are things like a`C-x C-x' that's split > across a newline...) It would valuable to highlight everything from ` to ' if they happen on tho= same line. Or some other mechanism to highlight certain elements in comments that woul= d benefit out of emphasising.