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#27016: possible bug in `defsetf' Date: Mon, 22 May 2017 19:23:10 -0400 Message-ID: <877f18fpcx.fsf@users.sourceforge.net> References: <87efvgfv4n.fsf@users.sourceforge.net> <87fufwmqsu.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495495338 1606 195.159.176.226 (22 May 2017 23:22:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 May 2017 23:22:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 27016@debbugs.gnu.org, Rafael D Sorkin To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 23 01:22: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 1dCweN-0000CF-8j for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 May 2017 01:22:07 +0200 Original-Received: from localhost ([::1]:45291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCweS-00036C-Ef for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 May 2017 19:22:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCweL-000366-Qt for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 19:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCweI-0004Kq-MX for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 19:22:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59018) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dCweI-0004Km-IP for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 19:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dCweI-00058i-Cs for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 19:22: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: Mon, 22 May 2017 23:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27016-submit@debbugs.gnu.org id=B27016.149549530119729 (code B ref 27016); Mon, 22 May 2017 23:22:02 +0000 Original-Received: (at 27016) by debbugs.gnu.org; 22 May 2017 23:21:41 +0000 Original-Received: from localhost ([127.0.0.1]:33462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCwdv-000588-J3 for submit@debbugs.gnu.org; Mon, 22 May 2017 19:21:40 -0400 Original-Received: from mail-it0-f53.google.com ([209.85.214.53]:38516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCwdu-00057v-9I for 27016@debbugs.gnu.org; Mon, 22 May 2017 19:21:38 -0400 Original-Received: by mail-it0-f53.google.com with SMTP id r63so8624108itc.1 for <27016@debbugs.gnu.org>; Mon, 22 May 2017 16:21:38 -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=mn3MW65ShLVKQpjYuUzBkmEfIhEsnrJdTFdBMBc49rg=; b=uDD0iNWf8JXmmQ44irOUC8wyrn5a8q8u6Ow7I5c9seYyyb26VKc2PCkdY5p6qhPJt3 jdkLHKnX3DlbHI91qYEl2tfsSopacJbGaX/8avDOrUxGZxpQRhOt2LlAjpmTAuvqQ5cB XXEajwBNgZ/bkGX8cPks1SaQ240c2l1eK6HkV6LySGCO1W8Sz5nPFQtnk6QFHcGhYgSR 79FVKPTIEMkeg66RPcmtxykLSGQyVlB8YNnyQux8+0oT45lEhD8PrbceFk0KWOfZBsAO vkQ8z+Z77iAwWJXWRIyf2/LcfzPgC//msA5eiDFnkfDF7W5l2xAm4fDkJtJDGphZJ+dO jjOQ== 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=mn3MW65ShLVKQpjYuUzBkmEfIhEsnrJdTFdBMBc49rg=; b=qKgnpc8ngW8ABFw/gPxbylnckn+lYwTY98MDqEZasYfqX3CiKF+18r1I0qLr8hwOK6 y9RmUJ7T78zscy32W39JHDWutTp057Msxa5ojgGjZZd1cIL6w22WHWP5fTRyexDZe8Eb qUUfozEBDONeShzZSRBDOqCw5UTkyjQaO2YE6Ju7ZT0NWqYGRxfAbAFZ9jDCbMpwPKAP me+vXQnvKeu/8qYDR2mnMcAGnKO46SLxP8PzeCR/fbmZQwAc8oUiRvl0m1EHF1T90LSX o8xThqg7jWqlLBWVBvvT+FPDFrv97C7lbbjo4K2wrs1vtv8jzIj0Tbdth0sPK6tKSUc5 UDcA== X-Gm-Message-State: AODbwcClkB2qEhflVZrYr6tGrQuYjKvhvxAXpOiEACXPasV8QUn7vsq3 i1QxRFCTc31QOw== X-Received: by 10.107.30.213 with SMTP id e204mr1289837ioe.158.1495495292778; Mon, 22 May 2017 16:21:32 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id n14sm3418382itg.0.2017.05.22.16.21.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 May 2017 16:21:32 -0700 (PDT) In-Reply-To: <87fufwmqsu.fsf@drachen> (Michael Heerdegen's message of "Tue, 23 May 2017 01:10:09 +0200") 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:132752 Archived-At: Michael Heerdegen writes: > A comment in the definition of `gv-define-expander' says: > > ;; Use eval-and-compile so the method can be used in the same file as it > ;; is defined. > ;; FIXME: Just like byte-compile-macro-environment, we should have something > ;; like byte-compile-symbolprop-environment so as to handle these things > ;; cleanly without affecting the running Emacs. I think fixing that would not fix this bug, because the (setf (foobar pair) 0) would still be compiled according to byte-compile-symbolprop-environment. It would just mean that compiling the file containing (defsetf foobar setcar) would not affect other files in the compiler's session.