From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48781: adaptive-wrap.el (elpa): Enable lexical binding Date: Wed, 02 Jun 2021 09:17:58 -0400 Message-ID: References: <87mts9lfjh.fsf@miha-pc> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38456"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48781@debbugs.gnu.org To: jakanakaevangeli@chiru.no Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 02 15:42:52 2021 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 1loR91-0009kU-Pc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 15:42:51 +0200 Original-Received: from localhost ([::1]:59378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loR90-0002oE-SW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 09:42:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loQlz-0005Sp-52 for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 09:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loQly-0006gO-C5 for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 09:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1loQly-0000i1-7A for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 09:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Jun 2021 13:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48781 X-GNU-PR-Package: emacs Original-Received: via spool by 48781-submit@debbugs.gnu.org id=B48781.16226399002673 (code B ref 48781); Wed, 02 Jun 2021 13:19:02 +0000 Original-Received: (at 48781) by debbugs.gnu.org; 2 Jun 2021 13:18:20 +0000 Original-Received: from localhost ([127.0.0.1]:39242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loQlE-0000gx-Ku for submit@debbugs.gnu.org; Wed, 02 Jun 2021 09:18:20 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loQl8-0000gX-Lf for 48781@debbugs.gnu.org; Wed, 02 Jun 2021 09:18:14 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 356958063C; Wed, 2 Jun 2021 09:18:05 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7750480497; Wed, 2 Jun 2021 09:18:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1622639880; bh=wkzIkXqvWNSkf6YfiDUloKiiJj9/Ae38jqIGB13i84c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=FynerPaEcP2Pm6AeSbTK7mVK9rFyKCRc9neVPh8BwEhGCObLKd1kCiOvi39Jcupsg F030aGTVCBfNsrQvd3YJWrZDcJQ+n83vOMy+NBUu7/IbUcwEoYtH+147nQrCr3m/XI un3tBou/uEYnB47HKSicU4oNMHKoV49TgMW4ymuA5nkgOf/WxuVXS5ORIyEZoG/ZvL HosyJ89YDSRhFQtmlVjqeL+k50tovGyxVygyA846epoV3U2BqqeEKtRlcxgN27wh8G toklkafwBFfLvC6gKA61i8tEEtehvbcpW1+OV+48bBt3qyXdiJZIwkYtkrER2Bbpnh uY5TB5MbFjcmg== Original-Received: from alfajor (69-196-163-239.dsl.teksavvy.com [69.196.163.239]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 34FD3120247; Wed, 2 Jun 2021 09:18:00 -0400 (EDT) In-Reply-To: <87mts9lfjh.fsf@miha-pc> (jakanakaevangeli@chiru.no's message of "Tue, 01 Jun 2021 18:23:46 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:207870 Archived-At: > -;;; adaptive-wrap.el --- Smart line-wrapping with wrap-prefix > +;;; adaptive-wrap.el --- Smart line-wrapping with wrap-prefix -*- lexical-binding: t; -*- > > For 'adaptive-wrap.el' from ELPA > (http://elpa.gnu.org/packages/adaptive-wrap-0.5.el) > > After testing for a week, I haven't observed any changes in behaviour. Thanks, installed. Lars wrote: > I'm not sure what the range of supported Emacs versions there are for > adaptive-wrap -- lexical binding can't be used in older Emacs versions 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. > (but perhaps there are no version that has both package.el and doesn't > support lexical binding; I forget). The first Emacs that came with `package.el` was Emacs-24, which is also the first that came with `lexical-binding`. There have been versions of `package.el` patched to work in Emacs<24 (not sure how far back it worked), but indeed I tend to consider Emacs-24 as the "baseline" for ELPA packages. Stefan