From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67390: 28; shorthands-font-lock-shorthands assumes shorthand uses same separator Date: Sat, 03 Feb 2024 15:48:18 -0800 Message-ID: <87y1c1w1fb.fsf@breatheoutbreathe.in> References: <87a5r5ph3p.fsf@bernoul.li> <87msv2vmzf.fsf@bernoul.li> <878r6mzezo.fsf@ushin.org> <87sf4tg6ts.fsf@bernoul.li> <87ttoqnxci.fsf@ushin.org> <87sf2at44r.fsf@ushin.org> <87bk8xxqom.fsf@breatheoutbreathe.in> Reply-To: Joseph Turner 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="22512"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67390@debbugs.gnu.org, adam@alphapapa.net, eliz@gnu.org, jonas@bernoul.li 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 Sun Feb 04 00:54:32 2024 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 1rWPqC-0005Ym-2b for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Feb 2024 00:54:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWPpY-0005fI-1h; Sat, 03 Feb 2024 18:53:52 -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 1rWPpX-0005ez-3b for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2024 18:53:51 -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 1rWPpW-0006it-Rg for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2024 18:53:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWPpi-0002Wk-3G for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2024 18:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Turner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Feb 2024 23:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67390 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: 67390@debbugs.gnu.org, Adam Porter , Eli Zaretskii , Jonas Bernoulli , bug-gnu-emacs@gnu.org Original-Received: via spool by 67390-submit@debbugs.gnu.org id=B67390.17070043839607 (code B ref 67390); Sat, 03 Feb 2024 23:54:02 +0000 Original-Received: (at 67390) by debbugs.gnu.org; 3 Feb 2024 23:53:03 +0000 Original-Received: from localhost ([127.0.0.1]:47296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWPok-0002Ut-To for submit@debbugs.gnu.org; Sat, 03 Feb 2024 18:53:03 -0500 Original-Received: from out-188.mta1.migadu.com ([2001:41d0:203:375::bc]:10022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWPoi-0002UN-OH for 67390@debbugs.gnu.org; Sat, 03 Feb 2024 18:53:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breatheoutbreathe.in; s=key1; t=1707004367; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=F9xEPAAV0Bm2gcDae7Kxlx0OpGysqxll6yPaHY+NGso=; b=eJMxuPp6pmXhqGrq1y84s9dCeTMBP0Ziwa2GeK98PQK4Agbq7A2fjeHRX0ob7WJCd67o+R 1ZGiX/pBaaMCiH31iLXZzZac81ZSyLi4BShBAjOq88onENhejfrsLIGDS1xfLOuayj+o7/ olMnATBjAXfyA5tnVrijpsnRgHLMl84= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-reply-to: X-Migadu-Flow: FLOW_OUT 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:279387 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > On Sat, Feb 3, 2024 at 8:01=E2=80=AFPM Joseph Turner > wrote: > >> I'm still reproducing the check-declare bug on my machine. It appears >> that binding `enable-local-variables' to nil around the call to >> `hack-local-variables' means that `read-symbol-shorthands' is not set. >> Can we bind `enable-local-variables' to `:safe' instead? > > It could be some bootstrapping issue, since the safe spec of that particu= lar > variable itself needs to be autoloaded. I vaguely remember something like > this and I _think_ it was fixed. > > Anyway, I can't reproduce this with this test: > > src/emacs -Q --batch --eval '(check-declare-file > "~/tmp/hyperdrive.el/hyperdrive-lib.el")' > > where ~/tmp/hyperdrive.el is a checkout of your hyperdrive library. > > This doesn't output anything, which I think is the expected result. > > How are you testing? Hmm... I just compiled from master with ./configure --with-x-toolkit=3Dno --with-xpm=3Difavailable --with-jpeg=3Dif= available --with-gif=3Difavailable --with-tiff=3Difavailable --with-gnutls= =3Difavailable && make then I ran src/emacs -Q --batch --eval '(check-declare-file "~/.local/src/hyperdrive.e= l/hyperdrive-lib.el")' which produced uncompressing textsec-check.el.gz... uncompressing textsec-check.el.gz...done ../hyperdrive.el/hyperdrive-lib.el:44:Warning (check-declare): said =E2=80= =98h/mode=E2=80=99 was defined in ../hyperdrive.el/hyperdrive.el: function = not found ../hyperdrive.el/hyperdrive-lib.el:508:Warning (check-declare): said =E2=80= =98h/history=E2=80=99 was defined in ../hyperdrive.el/hyperdrive-history.el= : function not found ../hyperdrive.el/hyperdrive-lib.el:1332:Warning (check-declare): said =E2= =80=98h/dir-handler=E2=80=99 was defined in ../hyperdrive.el/hyperdrive-dir= .el: function not found Would someone else kindly attempt to reproduce the issue? Thanks! Joseph