unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	48781@debbugs.gnu.org, jakanakaevangeli@chiru.no
Subject: bug#48781: adaptive-wrap.el (elpa): Enable lexical binding
Date: Sun, 19 Sep 2021 09:52:04 -0700	[thread overview]
Message-ID: <CADwFkm=msFFY_zP6VedWyMgpsPEKfH=TV9ijshiJXYxxi9CMBQ@mail.gmail.com> (raw)
In-Reply-To: <jwva6o78454.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 03 Jun 2021 09:35:05 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> To the extent that the code doesn't take advantage of lexical scoping,
>>> it doesn't matter because it will still work just as well as before on
>>> Emacs<24.
>> Sure; I was just concerned that somebody might take that as a sign to
>> add non-compatible code to lexical-bound files (like closures and other
>> nice stuff) in indeed backwards compatibility beyond Emacs 24 was an
>> issue (which it doesn't really seem to be).
>
> AFAIK the desired compatibility for adaptive-wrap is not clearly known.
> It hasn't been a problem so far, and if/when it turns into a problem it
> should be easy to address ;-)

Should we flip it to use lexical-binding then?





  reply	other threads:[~2021-09-19 16:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01 16:23 bug#48781: adaptive-wrap.el (elpa): Enable lexical binding jakanakaevangeli
2021-06-02  5:57 ` Lars Ingebrigtsen
2021-06-02 13:17 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-06-03  7:54   ` Lars Ingebrigtsen
2021-06-03 13:35     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-19 16:52       ` Stefan Kangas [this message]
2021-09-20  5:31         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=msFFY_zP6VedWyMgpsPEKfH=TV9ijshiJXYxxi9CMBQ@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=48781@debbugs.gnu.org \
    --cc=jakanakaevangeli@chiru.no \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).