From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator Date: Thu, 30 Nov 2023 17:23:04 +0200 Message-ID: <83sf4nb6zr.fsf@gnu.org> References: <87a5r5ph3p.fsf@bernoul.li> <87msv2vmzf.fsf@bernoul.li> <878r6mzezo.fsf@ushin.org> <87sf4tg6ts.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15207"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joseph@ushin.org, 67390@debbugs.gnu.org, jonas@bernoul.li, adam@alphapapa.net To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 30 16:25:35 2023 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 1r8iv1-0003iC-1S for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Nov 2023 16:25:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8itV-0002fF-Ah; Thu, 30 Nov 2023 10:24:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8itO-0002eH-MI for bug-gnu-emacs@gnu.org; Thu, 30 Nov 2023 10:23:57 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r8itN-0002tv-Pm for bug-gnu-emacs@gnu.org; Thu, 30 Nov 2023 10:23:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8itV-0001Mm-TZ for bug-gnu-emacs@gnu.org; Thu, 30 Nov 2023 10:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Nov 2023 15:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67390 X-GNU-PR-Package: emacs Original-Received: via spool by 67390-submit@debbugs.gnu.org id=B67390.17013578095202 (code B ref 67390); Thu, 30 Nov 2023 15:24:01 +0000 Original-Received: (at 67390) by debbugs.gnu.org; 30 Nov 2023 15:23:29 +0000 Original-Received: from localhost ([127.0.0.1]:54384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8isy-0001Lq-Hj for submit@debbugs.gnu.org; Thu, 30 Nov 2023 10:23:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8isw-0001Le-Qt for 67390@debbugs.gnu.org; Thu, 30 Nov 2023 10:23:27 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8ish-0002ia-Go; Thu, 30 Nov 2023 10:23:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=bjtyTdmYYZVdzkQfqyWz76UqmoUp3+3ejVmZp8pxZIk=; b=L7B7rAfTLZuJgxHtv0xE HQDKdPwQpyZ5AGOxT/0oDp9VKqvI86lh7UFC7SUra3ZfSx8hShij8RjwRKtxaUL42fRWx6zrmj6Yw 5rvx9Qx2V8qTXINI2OxlheDQCKs17bP97Y0NQTYYg/3lNBbtTV0DiA9O3Ch6V7G/pDjlSd0F4ea+A cfoa3pUrUUWqKIU/sSz7bBIKwgu/XmR2ElrkT8KBOJfVdrwDB5sT64p1GPe2D04YhFyRnODC/QZuv rcbMOhQcJZdRtvGB3WW0A0X3pe9GzmT4Eyc/CAd0dwmJ2UxQTbZUi5QCYglgU4el9uwz9P782deEI /sCZvE/8UDkawA==; In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Thu, 30 Nov 2023 14:16:51 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275287 Archived-At: > From: João Távora > Date: Thu, 30 Nov 2023 14:16:51 +0000 > Cc: Joseph Turner , 67390@debbugs.gnu.org, > Adam Porter > > Hi all, > > I've been working on all these shorthand-related issues over the last > two days and I have reasonably short fixes for all of them. > > For this particular issue (bug#67309), I've opted to > use Joseph's patch with very slight adjustments, as it's the > only one that guarantees correct behaviour and doesn't seem > to impact performance. > > The other issues are: > > bug#63480 (loaddefs-gen.el doesn't know about shorthands) > bug#67325 (prefix discovery i.e. register-definition-prefixes) > bug#67523 (check-declare.el doesn't know about shorthands) > > I have all this in 6 commits in the bugfix/shorthand-fixes branch. Thanks. > Here's the full patch minus whitespace changes. If there are > no comments I'll push in a few days' time. The plan is to merge these to the master branch, right?