From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#26624: 26.0.50; Generalized variable `buffer-local-value' does't restore local flag Date: Sat, 17 Jun 2017 14:48:02 -0400 Message-ID: <8760fusb6l.fsf@users.sourceforge.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497725233 25501 195.159.176.226 (17 Jun 2017 18:47:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Jun 2017 18:47:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: 26624@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 17 20:47:10 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 1dMIkV-0006JS-Mz for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jun 2017 20:47:07 +0200 Original-Received: from localhost ([::1]:35979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMIka-0000i4-Fm for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jun 2017 14:47:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMIkU-0000gy-N9 for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 14:47:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMIkQ-0008I1-Ro for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 14:47:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMIkQ-0008Hv-Ne for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 14:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dMIkQ-0005PH-Dx for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 14:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Jun 2017 18:47: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.149772519220731 (code B ref 26624); Sat, 17 Jun 2017 18:47:02 +0000 Original-Received: (at 26624) by debbugs.gnu.org; 17 Jun 2017 18:46:32 +0000 Original-Received: from localhost ([127.0.0.1]:53672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMIjw-0005OJ-CO for submit@debbugs.gnu.org; Sat, 17 Jun 2017 14:46:32 -0400 Original-Received: from mail-it0-f43.google.com ([209.85.214.43]:37571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMIjv-0005O6-6m for 26624@debbugs.gnu.org; Sat, 17 Jun 2017 14:46:31 -0400 Original-Received: by mail-it0-f43.google.com with SMTP id m47so41246266iti.0 for <26624@debbugs.gnu.org>; Sat, 17 Jun 2017 11:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=X92R3+uztBvAqLGJqosSpYh8ISGoy9rYjUIgIj8CaH0=; b=Mqr4/YkPFiZLXoD5g8mBErDESSZAn0jqRHCGi7Nk84veo7T9+NmLUxsQah0gGgMkqS zKjotrOe1ssy4r5IGdJBP7jSJFe/brnvi81kq1hbPN2e5UNP2KwGEIhL9RnqG2l7gjj9 Jj1DwaCPxb+ntv8O/z+MebiLfYAuZZQSJb7LbrvCZl/I51RNttZlocveRMBI7rBOe2DD MxOwXRYrY0eHfTrvPWRPuVyqNHugfKheWs7XfOKxFsD8J084K6Mgruwc5MTtE4dmYKN0 ljiiyLNt7peEfFrNKkPHcX+oiU7RxNPgdMJMgC04kj4Z2zi5fYFy+AQ4YLDn72d4sB/L oWWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=X92R3+uztBvAqLGJqosSpYh8ISGoy9rYjUIgIj8CaH0=; b=Gs6RtLTOFUwL3Q8g3XAlaEbik7TTZcUbIVNRYjwJlmsHLSl7/iSsxa6/2ZEcRXu9vG gyCiVCV+Uyx7jhq5B6jEQLozMTYD8h7kAlvyc+en1L4008VSkS12mony5+gJ7Icb3l8K Y75o8EJPH4yaxZPQEtmiqrD/GQlRq1TjRaVTKvXB1tmBpwzUOU5Q6DJL6ySjJjzsKtyE A7PjlYfkR859j0CkD6IdwljKh9lzWogYzwRfvh2seBPG8sLVcdRZKhBVqoUfNiJ+GRV+ /GGzMRiSDOSF9SZkQ2FkmQvogMMKYmEVap8LQXrpc2SQyeM+ISKGLCEmjXqyvvArN1Gm lG1Q== X-Gm-Message-State: AKS2vOyV63g6onsT+N80fecit1ujne0zmZdZi4H636VL18oZ++7gxt4Z zOXSty11QqV6SVL6 X-Received: by 10.36.211.69 with SMTP id n66mr15606295itg.36.1497725185363; Sat, 17 Jun 2017 11:46:25 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id c31sm3219550ioj.53.2017.06.17.11.46.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Jun 2017 11:46:24 -0700 (PDT) In-Reply-To: (Philipp Stephani's message of "Sat, 17 Jun 2017 13:10:20 +0000") 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:133710 Archived-At: Philipp Stephani writes: > It's possible to fix this (see attached patch), but at the expense of > breaking other valid use cases such as (cl-incf (buffer-local-value ...)). > Not sure whether the bug can be fixed at all without breaking other > stuff. I don't really understand the internals of the gv expander stuff, but maybe we could special case the fix to cl-letf?