From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#26624: 26.0.50; Generalized variable `buffer-local-value' does't restore local flag Date: Sun, 24 Sep 2017 16:42:12 +0000 Message-ID: References: <87zid6udys.fsf@drachen> <87o9q0m77u.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113cde845acfb10559f22020" X-Trace: blaine.gmane.org 1506271402 1770 195.159.176.226 (24 Sep 2017 16:43:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 16:43:22 +0000 (UTC) Cc: Michael Heerdegen , 26624@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 18:43:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw9zp-0008Bl-5G for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 18:43:09 +0200 Original-Received: from localhost ([::1]:38761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw9zw-0005Gp-EL for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 12:43:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dw9zl-0005GN-NN for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:43:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dw9zi-00075b-KE for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:43:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47607) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dw9zi-00075T-G3 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dw9zi-0005oY-3f for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2017 16:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26624 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26624-submit@debbugs.gnu.org id=B26624.150627135522318 (code B ref 26624); Sun, 24 Sep 2017 16:43:02 +0000 Original-Received: (at 26624) by debbugs.gnu.org; 24 Sep 2017 16:42:35 +0000 Original-Received: from localhost ([127.0.0.1]:56288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw9zH-0005nu-Cp for submit@debbugs.gnu.org; Sun, 24 Sep 2017 12:42:35 -0400 Original-Received: from mail-oi0-f52.google.com ([209.85.218.52]:50333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dw9zF-0005nf-I1 for 26624@debbugs.gnu.org; Sun, 24 Sep 2017 12:42:33 -0400 Original-Received: by mail-oi0-f52.google.com with SMTP id w65so4088092oia.7 for <26624@debbugs.gnu.org>; Sun, 24 Sep 2017 09:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hm0KUgi+nPcyPY1jbtBoirB6/SzMTsPvz7dP7C5OGv8=; b=iUr257ODYN2hXLfB79Wzskz28h9DqLZos5DyTtAZ7dcQWBZgdOFNChUGqZgTvjY/0T 1wdEM6L1Et8FjVOEast8cgWulKMqMZ3ebKjwSH812xB+U+612XTo/n2geDo7GMWhgPtO DQDV7wj+fpPzR6wQRvXfP9PtS2kNPGTnyW8HTMZ48FW3Ubob/pg5SjkqMUyu+kUKRzog 3lo5JuL03jb3eHRejwdMFVBWmfG3caj3gM8AS08id5gPLurq0jUDvT4KGC4feEKZRZhC bPG9wYQlhmyQlj6WhPRhGzh91qMTFkwCfvMBh15g8NjvvahBBKNJcX0Mpu0ECmTdcNf8 r9jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hm0KUgi+nPcyPY1jbtBoirB6/SzMTsPvz7dP7C5OGv8=; b=FYnnLv+sJooxjcnm1NEsi4B5YvH/zJdJOvNBTI2ufMbsR8C/Pi9sIMLrPakPm2AIbU AjUj5SC/0xDl47FWTnZYkc7gub8CQqvZ3uwueaFoB51Vd6NSlpnMnpYQs+RZxvhsGgWB g9otHR/F2co3g6K1AhspkkkQNuNjbD+3e2ii1WoRLZIuLk/IeLrko5fOvDCXJhy8YnZB QCxahQcvXgS1mcqNHmx9r6pAJPqbfrrcUroCf6JJTgVKI7rkcJCi2htuD9J1pIYXKd/W ees8nRWzOULa/Bpsy6aT9anukPgkzXcx637sY6xnmo2dIU8qJ89tWAWj/bgG/yPvNooy anzw== X-Gm-Message-State: AHPjjUifd7tcU4qNXspkNAlJOfR418Js6KPlI/PdhJoZDpHnRRttVMjM tIKhXEC8zSxB49qMszvQqmiC17PcCt/jq3Q//+w= X-Google-Smtp-Source: AOwi7QChUNAXakxXwEADNkfWYJXFoNPwmN80GiIOaAtGyisVMZdh4aMVMX1R0BuJl+DDEQmtwETHp+50/2T5Q4Qu/4g= X-Received: by 10.202.57.130 with SMTP id g124mr5629895oia.296.1506271343331; Sun, 24 Sep 2017 09:42:23 -0700 (PDT) In-Reply-To: <87o9q0m77u.fsf@users.sourceforge.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137347 Archived-At: --001a113cde845acfb10559f22020 Content-Type: text/plain; charset="UTF-8" Noam Postavsky schrieb am So., 24. Sep. 2017 um 17:44 Uhr: > Philipp Stephani writes: > > > * lisp/emacs-lisp/gv.el (buffer-local-value): Remove. > > Is it possible to just give an obsolete warning first? > I don't think it's possible in the sense of `make-obsolete' because the expander is not a named function. It would be possible to use `display-warning' within the body of the setter, but that would only annoy users. If necessary, we might add additional code to the `setf' macro to warn about this form in particular during byte compilation. --001a113cde845acfb10559f22020 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Noam P= ostavsky <npostavs@use= rs.sourceforge.net> schrieb am So., 24. Sep. 2017 um 17:44=C2=A0Uhr:=
Philipp Stephani <p.stephani2@gmail.com>= writes:

> * lisp/emacs-lisp/gv.el (buffer-local-value): Remove.

Is it possible to just give an obsolete warning first?

I don't think it's possible in the sense of `make-o= bsolete' because the expander is not a named function.
It wou= ld be possible to use `display-warning' within the body of the setter, = but that would only annoy users.
If necessary, we might add addit= ional code to the `setf' macro to warn about this form in particular du= ring byte compilation.
--001a113cde845acfb10559f22020--