From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: master 48aacbf292 2/2: Make many seldom-used generalized variables obsolete Date: Mon, 19 Sep 2022 13:38:53 +0200 Message-ID: <875yhjlhki.fsf@gmail.com> References: <166111278304.2846.13033924580993120733@vcs2.savannah.gnu.org> <20220821201303.AD1E6C0088A@vcs2.savannah.gnu.org> <877d29hm53.fsf@melete.silentflame.com> <87bkrcqnxc.fsf@bernoul.li> <878rmf29ak.fsf@gnus.org> <87o7vblm3g.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16793"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , Sean Whitton , emacs-devel@gnu.org To: Jonas Bernoulli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 19 13:57:47 2022 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 1oaFPH-0004FR-5m for ged-emacs-devel@m.gmane-mx.org; Mon, 19 Sep 2022 13:57:47 +0200 Original-Received: from localhost ([::1]:47398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaFPG-0006Ed-3b for ged-emacs-devel@m.gmane-mx.org; Mon, 19 Sep 2022 07:57:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaF74-0005JW-Ng for emacs-devel@gnu.org; Mon, 19 Sep 2022 07:38:58 -0400 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:39624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaF72-0002nK-Rm for emacs-devel@gnu.org; Mon, 19 Sep 2022 07:38:58 -0400 Original-Received: by mail-ed1-x52c.google.com with SMTP id f20so36358612edf.6 for ; Mon, 19 Sep 2022 04:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=qSX2BuJocrg6hEjb+ZF1oCGjlFAEaF8iVVjK8qgNXoQ=; b=Hn/9z49cs3t14mqMUVfJYJp3DRQLBQ/doO3J90C7dOjxycGRKjjpzrgZFpBDxasMvP FhDyaLWqSvolzYns/2R2nKDK3BKOK3YX7ohKJeJlsUIgOuVC62eJlRdkLD5hCl8vJ8ye NY45PfeEUBaJoBSfdIB6NZXW2WP6a40iPrdsXFctF+jij25rApCrsB/MthTLKbwRqmGV nCnxcHRKOyiXlbH/Y0F+ThCKGHIw1/is7qv/FJE1qO9e1r1Wp4AJr6Hkg7pj47yNn3a6 SseKPnGqyFz7GDcl9VD7qGX+kvKmNKXz0i/Cox1DuWc2wJlgIQ5Uj/YU0qVmZlgT0j7S mxAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=qSX2BuJocrg6hEjb+ZF1oCGjlFAEaF8iVVjK8qgNXoQ=; b=vVdQyQ0wf7ETsJiIvT9JQAT5lCWyAG5QI1wasWMY9jKoYzy51UC0hznxh4hL0myK9P Xo2W8BA6AulcVWe0++CtxmMo9NuiSeUB4Oa55wRv2kZjff6Ql+ZptQKHa+K4EGQ4kLIy roF6Ii25vGY0ttr0BtEZTl+NhPMazOF3OSeL8aFO3hZZH8ixfC7Fk9439FxukUVp7bls jCOMMoL9CFluzkJvLW6KfyQ+aV4ixa+WWrfqnytGdg5nEx18N23bJDc459kdXSQo+Yhn 1X5XBU61ABM3HmQBfH3vJ2TJRWI1vSm+K5i/LqrV4FzSOJL3WmZrW9YVguWxZ7DgnTVd sXGg== X-Gm-Message-State: ACrzQf2rya2vOgHimK/wgol4c1vBwZrc/VMIP5qriBOTlk+fwaObBDU+ oTb5NwQ/kEkUNsPFzP6yiNFZ97XNkKnsYA== X-Google-Smtp-Source: AMsMyM4lA8Nzna/UTt8T480nUopzbDssRBrVUrF1oMSl4PFOeo792yAf1Z2nbwmD+AilsXiEDuq25w== X-Received: by 2002:a05:6402:4402:b0:453:6a9:ef8a with SMTP id y2-20020a056402440200b0045306a9ef8amr14628422eda.85.1663587534851; Mon, 19 Sep 2022 04:38:54 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::8510]) by smtp.gmail.com with ESMTPSA id p11-20020a05640243cb00b0043df042bfc6sm19833856edc.47.2022.09.19.04.38.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 04:38:54 -0700 (PDT) In-Reply-To: <87o7vblm3g.fsf@bernoul.li> (Jonas Bernoulli's message of "Mon, 19 Sep 2022 12:01:07 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x52c.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" Xref: news.gmane.io gmane.emacs.devel:295671 Archived-At: On Mon, 19 Sep 2022 at 12:01, Jonas Bernoulli wrote: > Lars Ingebrigtsen writes: > >> Jonas Bernoulli writes: >> >>> There is one generalized variable that I would like to see undeprecated >>> though: >>> >>> (setf (buffer-local-value 'var buffer) val) >> >> See bug#26624. > > In short, it doesn't work as expected with cl-letf and fixing that > would not be worth the effort, if it's possible at all. > > I can live with that, but have you considered adding a plain old > set-buffer-local-value function? buffer-local-value isn't any more > *necessary* than that; they both just relieve us from the need to > use with-current-buffer explicitly. Is it possible at all to set a variable buffer-locally but outside any let-bindings? If not, it would be one more reason to add such a function.