From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Request: add cl-font-lock to Emacs or Elpa Date: Sun, 15 Mar 2020 13:57:06 -0700 (PDT) Message-ID: References: <87bloyxfya.fsf@spensertruex.com> <87v9n5747z.fsf@spensertruex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="38604"; mail-complaints-to="usenet@ciao.gmane.io" To: Spenser Truex , Stefan Monnier , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 15 22:02:14 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jDaOj-0009vk-VK for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 22:02:13 +0100 Original-Received: from localhost ([::1]:58746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDaOi-0003Yg-NU for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Mar 2020 17:02:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40094) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDaJw-00023O-7L for emacs-devel@gnu.org; Sun, 15 Mar 2020 16:57:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDaJu-0000cD-N6 for emacs-devel@gnu.org; Sun, 15 Mar 2020 16:57:15 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:54360) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDaJt-0000Sg-LQ for emacs-devel@gnu.org; Sun, 15 Mar 2020 16:57:14 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02FKrCBu011654; Sun, 15 Mar 2020 20:57:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=J6URN3SVumDgcDiIeiBv9lRNKQxXgWMHU2PeclEVtqU=; b=jAuyKSQfoEHFh215z1ZC/b0aMZXdzAtD6GXn1zhZV6pmdgOvb6K00wlSIfA4KujddFJA j3r/7oOglm2WhChe+XLf4j0Y8chQoqLhoLPXgVWjBPDDMvGg30GO/PaF+99oTdGItP0i mgQxm8LNYPKJPfFIDxLqni8Zy8rL/MTseoXz1GgNVJNppSZhTbmtvlO2DOJKF5se0Kov rLW0IbmQ4mZbGxqsXectiDkTCskIafyRgKATR2FAe0Or34Svd6WLuu0t3uE6vrrl2bMs XOVFVjIPtMDlodmwaC9OF51+ohLfVkcta93PUtNLnVyiTzfh2y0/5jW0GGPKj4c9jkvQ 2g== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2yrppquy77-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 15 Mar 2020 20:57:10 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02FKr3Ck120350; Sun, 15 Mar 2020 20:57:09 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 2ys8tnj8e5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 15 Mar 2020 20:57:09 +0000 Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 02FKv7kL016469; Sun, 15 Mar 2020 20:57:08 GMT In-Reply-To: <87v9n5747z.fsf@spensertruex.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9561 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxscore=0 malwarescore=0 suspectscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003150114 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9561 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 clxscore=1011 impostorscore=0 priorityscore=1501 spamscore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003150114 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245546 Archived-At: > I think it should be an opt-in feature, not a replacement for the > current syntax highlighting in lisp-mode because many users prefer the > old syntax highlighting. Also, it is not very sophisticated (it is just > regular expressions) and sometimes doesn't highlight right based on the > context. Even without looking at the proposed feature/change, those statements sound right, to me. > The other issue with it is that it can't really be unloaded. >=20 > So if these issues are too great for it to be added then we will have to > fix them first. I'd also suggest changing the file name from `cl-font-lock.el' to `font-lock-cl.el'. This isn't really part of Common Lisp or its emulation, and if we get other such code for other languages then that would naturally use the same convention: `font-lock-.el'. (No, I don't feel strongly about this. It's just something that occurred to me. Perhaps there are good counter-arguments.)