From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71985: Lexical directives at start of file Date: Mon, 08 Jul 2024 12:44:26 +0000 Message-ID: References: <86frsl10vx.fsf@gnu.org> <86ed841uux.fsf@gnu.org> Reply-To: Heime 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="4284"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71985@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 08 14:45:31 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 1sQnkJ-0000y1-5n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Jul 2024 14:45:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQnk4-0007bv-7A; Mon, 08 Jul 2024 08:45:17 -0400 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 1sQnjo-0007ao-3h for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 08:45:01 -0400 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 1sQnjm-0006DU-KY for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 08:44:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQnjq-0002jz-F2 for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 08:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Heime Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2024 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71985 X-GNU-PR-Package: emacs Original-Received: via spool by 71985-submit@debbugs.gnu.org id=B71985.172044268510479 (code B ref 71985); Mon, 08 Jul 2024 12:45:02 +0000 Original-Received: (at 71985) by debbugs.gnu.org; 8 Jul 2024 12:44:45 +0000 Original-Received: from localhost ([127.0.0.1]:49881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQnjY-0002ix-MP for submit@debbugs.gnu.org; Mon, 08 Jul 2024 08:44:44 -0400 Original-Received: from mail-40140.protonmail.ch ([185.70.40.140]:60149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQnjV-0002id-Hp for 71985@debbugs.gnu.org; Mon, 08 Jul 2024 08:44:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1720442669; x=1720701869; bh=U76NzRoKxCqG4FDx3QjN0COi4Ps6Bg4SbHuByBrghRs=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=UgRTp/eVJGpB+8AZmv5JDdrpG5a/kI9uSgm2Ud5JkqI1JwvLm1FGL717on4Yo5nIs LhNBXffvNHCD36+2cQtVVwfBWzaTly85N0Ca15fYf8Z9Ck2EVs0hvw3OrMv4Rdtjvs ++PJwFUACVPuFQRPQLddAecKT72XGyyvQ1Ez+yNv/pup9FhP0JSrxlemOQTMPK7xdc sQ30mMqqFKYjfQUj58hbVzesRtyLhJ3HJ+vSXBntF6Oj7gPuwaa/TM/25NONqQmDiH OWPiYYLi1u/yfpn0Wxhfcnsb0pUo0sZZ/0QUG7WpCl5+S1vPBOJw5OmVPzIJOgEooT biXTK5eQuupVg== In-Reply-To: <86ed841uux.fsf@gnu.org> Feedback-ID: 57735886:user:proton X-Pm-Message-ID: 3bb86977b17d0302d35042887f7fd3d0dace5a06 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:288590 Archived-At: On Monday, July 8th, 2024 at 2:27 AM, Eli Zaretskii wrote: > > Date: Sun, 07 Jul 2024 19:19:41 +0000 > > From: Heime heimeborgia@protonmail.com > > Cc: 71985@debbugs.gnu.org > > > > On Sunday, July 7th, 2024 at 7:02 PM, Eli Zaretskii eliz@gnu.org wrote: > > > > > > Date: Sun, 07 Jul 2024 18:45:12 +0000 > > > > From: Heime via "Bug reports for GNU Emacs, > > > > the Swiss army knife of text editors" bug-gnu-emacs@gnu.org > > > > > > > > I was curious whether the -- lexical-binding: t -- directive is eff= ective > > > > when there is an arbitrary number of comment characters before it. > > > > > > Why do you need to know this detail? > > > > Because I use ;;; as highlight when using outlines. > > > > > > For instance, in file.el: > > > > > > > > ;;; file.el -- lexical-binding: t -- > > > > > > > > This is the first line from git-rebase.el in the Magit package: > > > > > > > > ;;; git-rebase.el --- Edit Git rebase files -- lexical-binding:t -- > > > > > > > > This suggests that some characters can precede the variable list. H= owever, > > > > it's unclear if the number of characters can be arbitrary. > > > > > > Above you mention "comment characters". Here you are talking only > > > about "characters" in general. I'm confused by what you are asking > > > about. > > > > Yes about the starting ;;;. But then I have also seen additional non-di= rective > > descriptions before the -- lexical-binding:t -- directive. > > > > As the lexical definition will be around a while, it would be good to k= now what > > would be valid. > > > Then the ELisp manual provides this information, I think. It could be there. But, where is it ?