From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rafael D Sorkin Newsgroups: gmane.emacs.bugs Subject: bug#27016: possible bug in `defsetf' Date: Fri, 26 May 2017 01:05:17 -0400 Message-ID: References: Reply-To: Rafael D Sorkin NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1495775177 28614 195.159.176.226 (26 May 2017 05:06:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 May 2017 05:06:17 +0000 (UTC) Cc: 27016@debbugs.gnu.org, Rafael D Sorkin , npostavs@users.sourceforge.net To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 26 07:06:13 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 1dE7Rz-0007HO-D3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 May 2017 07:06:11 +0200 Original-Received: from localhost ([::1]:34958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dE7S1-0008NA-Pt for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 May 2017 01:06:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dE7Rv-0008N3-E5 for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 01:06:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dE7Rq-0000av-55 for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 01:06:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dE7Rq-0000ar-0e for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 01:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dE7Rp-0007KX-NZ for bug-gnu-emacs@gnu.org; Fri, 26 May 2017 01:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rafael D Sorkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 May 2017 05:06:01 +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: wontfix Original-Received: via spool by 27016-submit@debbugs.gnu.org id=B27016.149577512328122 (code B ref 27016); Fri, 26 May 2017 05:06:01 +0000 Original-Received: (at 27016) by debbugs.gnu.org; 26 May 2017 05:05:23 +0000 Original-Received: from localhost ([127.0.0.1]:38450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dE7RD-0007JW-Jt for submit@debbugs.gnu.org; Fri, 26 May 2017 01:05:23 -0400 Original-Received: from mail-oi0-f97.google.com ([209.85.218.97]:32993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dE7RB-0007JH-Nw for 27016@debbugs.gnu.org; Fri, 26 May 2017 01:05:22 -0400 Original-Received: by mail-oi0-f97.google.com with SMTP id b3so47790oii.0 for <27016@debbugs.gnu.org>; Thu, 25 May 2017 22:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perimeterinstitute.ca; s=google; h=reply-to:from:to:cc:subject:in-reply-to:message-id:date; bh=Qbnyjp08cpnRbbk2JG7AlO6EX/YUUZG8I1DmSsj+c4A=; b=MumgOkmaPZ7OqGEcpVD6i20Xm7hEi5uqejwGxIXm1VZj6hZeV0q0H4f9SVANsAxeff pHwZd3gO+em5VyGf0AKswPX0tuA4jLfIO61oAfZsyEzRnN1FKfkTYrxsARKe6BsM6tXd Z43/Vtkvjv0jJFnv/bSUTEnzPaVhg2u9mUO+M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:from:to:cc:subject:in-reply-to :message-id:date; bh=Qbnyjp08cpnRbbk2JG7AlO6EX/YUUZG8I1DmSsj+c4A=; b=LA1jBf88ujjMV0ZtY/Vq/Z34jPxee3cBv7ZB2S5myN5SiDYpIZEXF/Yk6sHAlIQ13H oGodlPhwKJm8QeD34hDxCNkzK/P2JOHo23r+K+JGwNeEiUvCoDJVbKQrkirN69Rc0Uqd xes8cbUgI5ZmFunp3i/uloNojzPoMTrOn5cDZm1sJJlbJNlRKqT2zrUGVLnxg2mXVff5 GIxg7F4MQBOaljwx3tlGQHGgrB8YDZZfWn8Zz4uCyQXiDVQPC59AURuVh+UrowsqWv3l U4vWWAaAXYHkgseRRkEZN9jAl7rjyNN0w3OB2uWlnriMjW74ZrVdDbGMNRXUKlWb4bUN 2s0A== X-Gm-Message-State: AODbwcANwRmBQClkB2XapdoUF71UGzXXZNRbCNbpzMQrKD9mrTS3ijGE HOSZFRJSHZmhVU989J+8oz/1DmFjlbq/IAvoph4J X-Received: by 10.36.118.12 with SMTP id z12mr1061721itb.47.1495775116017; Thu, 25 May 2017 22:05:16 -0700 (PDT) Original-Received: from mail.perimeterinstitute.ca ([38.104.158.162]) by smtp-relay.gmail.com with ESMTP id r16sm3689744ita.0.2017.05.25.22.05.15; Thu, 25 May 2017 22:05:16 -0700 (PDT) X-Relaying-Domain: perimeterinstitute.ca Original-Received: from mars.pi.local (mars.pi.local [10.10.7.6]) by mail.perimeterinstitute.ca (Postfix) with ESMTPS id 5E5CEC0025; Fri, 26 May 2017 01:14:37 -0400 (EDT) Original-Received: from rsorkin by mars.pi.local with local (Exim 4.69) (envelope-from ) id 1dE7R7-0000sv-KM; Fri, 26 May 2017 01:05:17 -0400 X-Mailer: MH-E 8.2; nmh 1.2; GNU Emacs 23.1.1 In-reply-to: your message of Thu, 25 May 2017 22:26:40 +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:132875 Archived-At: > I would rather try something like > > #+begin_src emacs-lisp > (unless t > (eval '(progn (defalias 'foobar 'cons) > (defsetf foobar setcar)))) > #+end_src > > to avoid the eager macro expansion unless the code is actually run. That looks like it would have to work. I will keep it mind in case of future need. Thanks. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- Rafael Sorkin Perimeter Institute for Theoretical Physics 31 Caroline Street North Waterloo, ON N2L 2Y5 Canada ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-