From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Default lexical-binding to t Date: Fri, 01 Nov 2024 15:42:11 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19722"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 01 15:43:04 2024 Return-path: Envelope-to: ged-emacs-devel@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 1t6srg-0004zQ-1D for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Nov 2024 15:43:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6sr0-00089u-9I; Fri, 01 Nov 2024 10:42:22 -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 1t6sqx-00088m-7Z for emacs-devel@gnu.org; Fri, 01 Nov 2024 10:42:20 -0400 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6sqv-0003z8-Q0 for emacs-devel@gnu.org; Fri, 01 Nov 2024 10:42:18 -0400 Original-Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4316a44d1bbso18119975e9.3 for ; Fri, 01 Nov 2024 07:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730472134; x=1731076934; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=G8qLRykOfpEeABIFaztPTbXDxvgjRMGxz6GpWi0G2NQ=; b=ChzS0y8Ilfpz2ZH6VW/WGx/DmQQ6QGIE5CkeZGeEurRIJEarwS2GbAiB1S/eUL4onq IvE4KNJUYuy4mHlgVBdUrCwU3qt4EfEF7t0Z/QkcW7q/ynV8jTkrROIBFBl6664BhBbm Esds41bnsfyo/gDE4E+BQzJEUJnnwgIB9v4OxOXjOzjPTaTYnzu50AuHr6Ds0O5HjwaV dSNpoRbshLmJIAmzPkfGhKsRapiAfjzQi5atvb1cu8G/aL8jcP8VzdafVLkfoc7ozjG4 1IwZxLHes4j2c9xs02gX2zqtJdlZRGhB34MJQAyUWS8n3KJvKnqOWeiIFSSt+a/H/pr0 brrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730472134; x=1731076934; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=G8qLRykOfpEeABIFaztPTbXDxvgjRMGxz6GpWi0G2NQ=; b=JwrTRzydeZa7oZ09c17K1zupSqrmVhmsrNm6RMDX+EaOu/IIMEL/cMo8g9LA7XNEAR OW0KJCe6CRe2adXc/PkCBnMd4YHcFVE9RsYO8tToQrIytdZAHW8pquPxlMrjd/BY7u56 bdGCzqcQB95UhlJbtsMzJtvIzR6tZBWLG+Eai1bRYtuoEVIMdEDfe8K2xDozxlF+cJna 8v1YE7KkhdGEBi61oWueDlYwGkavLX5mfA8bbteBLyQvpZfORzCZyS3hgxROBNB1n4ek VsiKLUsAUbsCcDkHI/lglj7oEldzd0AJCLGATd5ZNUTOvxph2GqSuLQez5oWyffmUY2/ wEHQ== X-Gm-Message-State: AOJu0Yxvm8zQCc4Y6er/vjwErEbSBiSfDdWZbOuoV0JxHY2/FLHAqFQU VEhAVFhnToEirOTfGbEkzeG3sQ+rypiFYJeLqxcyfhq3zTTKfVYw/lmkXQ== X-Google-Smtp-Source: AGHT+IERa2qfnfF5AHui0NHWD1lfMkfrFp1/fKF7UTpLTp/8lvBT7gLrnTNymK/TRY70BmQlc3Lc8A== X-Received: by 2002:a5d:6d05:0:b0:37d:4cd5:fff2 with SMTP id ffacd0b85a97d-381be764d8fmr5157552f8f.6.1730472133460; Fri, 01 Nov 2024 07:42:13 -0700 (PDT) Original-Received: from pro2 (pd9e3623d.dip0.t-ipconnect.de. [217.227.98.61]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431bd9a99c8sm93899405e9.29.2024.11.01.07.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 07:42:12 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Fri, 01 Nov 2024 08:55:56 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324993 Archived-At: Stefan Monnier writes: > In bug#74145 I suggest that it is time to change the default of > `lexical-binding` to t. Clearly this is a breaking change, but only for > those files which: > > - Don't have a `lexical-binding` cookie. > - Have code which happens to behave differently under the new dialect > (such code is not rare, but a lot of code works identically in the > two dialects). > > I believe by the time Emacs-31 will be released, such files will be > uncommon, and it is easy to fix them (either by adjusting he code, or > by slapping a `lexical-binding` cookie). +1