From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Re: Question on pcase Date: Tue, 27 Oct 2015 09:42:29 +0100 Message-ID: <87fv0wya6i.fsf@gmail.com> References: <871tcngdv2.fsf@gmail.com> <87k2qe1u09.fsf@web.de> <83r3kmrtat.fsf@gnu.org> <87r3kl22zk.fsf@web.de> <837fmdzpf2.fsf@gnu.org> <87oafp659p.fsf@web.de> <831tclzly9.fsf@gnu.org> <87fv115t20.fsf@web.de> <87io5tzkt8.fsf@gmail.com> <87lhapd35n.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445935348 28979 80.91.229.3 (27 Oct 2015 08:42:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2015 08:42:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 27 09:42:20 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zqzpj-0006Kp-Tf for ged-emacs-devel@m.gmane.org; Tue, 27 Oct 2015 09:42:20 +0100 Original-Received: from localhost ([::1]:58144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqzpj-0002d9-5o for ged-emacs-devel@m.gmane.org; Tue, 27 Oct 2015 04:42:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqzpS-0002ct-Oh for emacs-devel@gnu.org; Tue, 27 Oct 2015 04:42:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqzpO-0001yo-Nd for emacs-devel@gnu.org; Tue, 27 Oct 2015 04:42:02 -0400 Original-Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:38896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqzpO-0001yk-Gb for emacs-devel@gnu.org; Tue, 27 Oct 2015 04:41:58 -0400 Original-Received: by wicll6 with SMTP id ll6so149079246wic.1 for ; Tue, 27 Oct 2015 01:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=2tNsTVKNO/SdEhN8ngHZKp8Ozpl67ZxNNbLtPz/prHo=; b=W4LfywJ6cOhOyn2YYi+V8c5bIO3h0HaPlOpGsMMogjuMkc13FV2qu+SvlasKXZO02o fQqzMslChD9jBVx9qMKW6mes2oCkHwJmewBIp8uRLBqZciwrY/+Lj9fJSEZeMqf38fcy jjZ/Nt9NulmM/8NprdGlwfAXufahPtdVW3GNDTv/urobdNftb4uxFI46GZ2oQv5rWSc4 PxJJDXcpaFI9Bhz3tIgSc7VUvsDrIzhLcq0GW/7zpAIB3bcTOx6JsjDrgPHGNnd8zryy d2PYqGGwU0+vtNJ4tUyPhvwFFigiQ9FVsqN2JiQn06orrSAcQ96rqaijSu9bbCisMwrk fhRg== X-Received: by 10.194.92.170 with SMTP id cn10mr27976438wjb.12.1445935317926; Tue, 27 Oct 2015 01:41:57 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by smtp.gmail.com with ESMTPSA id lb2sm6595509wjc.15.2015.10.27.01.41.56 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 27 Oct 2015 01:41:57 -0700 (PDT) In-Reply-To: <87lhapd35n.fsf@web.de> (Michael Heerdegen's message of "Mon, 26 Oct 2015 17:07:32 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192712 Archived-At: Michael Heerdegen writes: > Try with > > (setq print-gensym t) > (setq print-circle t) Oops, missed that one. Now it works, but the macro expansion is a bit clumsy: (if (consp test) (let* ((#2=#:x (car test)) (#1=#:x (cdr test))) (let ((baz #1#) (foo #2#)) (cons baz foo))) nil) It would be great if all bound named variables were in their own block, always in the same place. Then it would be very easy to extract them.