[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extending emacs convention for first line
From: |
Christopher Dimech |
Subject: |
Re: Extending emacs convention for first line |
Date: |
Thu, 20 Oct 2022 19:11:32 +0200 |
> Sent: Tuesday, October 18, 2022 at 1:33 PM
> From: "Stefan Monnier via Users list for the GNU Emacs text editor"
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Extending emacs convention for first line
>
> Christopher Dimech [2022-10-17 21:40:14] wrote:
> > Emacs convention states that the format for the first line is
> > ;;; filename --- description -*- lexical-binding: t; -*-
> >
> > Because at the times one does notice longer filenames and descriptions,
> > it would be favorable if the convention would be extended to handle longer
> > filenames and descriptions.
> >
> > For instance, using ;;; to distinguish, with "lexical-binding" still
> > written first.
> >
> > ;;; -*- lexical-binding: t; -*-
> >
> > ;;; filename
> >
> > ;;; description
> >
> > Or some other way that would work nicely.
>
> I don't have a strong opinion on this, but I'll note that I hope we can
> get rid of the `-*- lexical-binding: t -*-` cookie in the not too
> distant future.
>
> I think we're slowly working our way up to the point where we can change
> the default to t such that the cookie will be needed only (in the form
> `-*- lexical-binding: nil -*-`) for those files still using the old
> dynbound dialect of ELisp.
>
>
> Stefan
The suggestion is more focused on allowing descriptions longer
than a single line. And which would avoid us long lines.