From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gemini Lasswell Newsgroups: gmane.emacs.bugs Subject: bug#31052: 26.0.91; Improve documentation of inline-letevals Date: Fri, 06 Apr 2018 13:29:23 -0700 Message-ID: <87o9iw13ks.fsf@runbox.com> References: <87a7uj24kk.fsf@runbox.com> <83efjv4ggx.fsf@gnu.org> <87vad6zyls.fsf@runbox.com> <834lkq2d1w.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523046493 3128 195.159.176.226 (6 Apr 2018 20:28:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 6 Apr 2018 20:28:13 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 26.0.91 Cc: 31052@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 06 22:28:09 2018 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 1f4Xxv-0000gE-9L for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2018 22:28:07 +0200 Original-Received: from localhost ([::1]:53641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4Y00-0003Xz-I3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Apr 2018 16:30:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4Xzp-0003Wz-Fy for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2018 16:30:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4Xzm-0002SG-8Q for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2018 16:30:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32774) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f4Xzm-0002SA-5W for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2018 16:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f4Xzl-0002eX-VG for bug-gnu-emacs@gnu.org; Fri, 06 Apr 2018 16:30:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Apr 2018 20:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31052 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31052-submit@debbugs.gnu.org id=B31052.152304657510139 (code B ref 31052); Fri, 06 Apr 2018 20:30:01 +0000 Original-Received: (at 31052) by debbugs.gnu.org; 6 Apr 2018 20:29:35 +0000 Original-Received: from localhost ([127.0.0.1]:40671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f4XzK-0002dT-Q0 for submit@debbugs.gnu.org; Fri, 06 Apr 2018 16:29:34 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:57532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f4XzI-0002dK-Iy for 31052@debbugs.gnu.org; Fri, 06 Apr 2018 16:29:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Type:MIME-Version:Message-ID:Date:In-reply-to: Subject:Cc:To:From:References; bh=W5LKm88lP2hWOtoaRc0kYJZEILpai0bwGeU5LULOwxA=; b=lRXHSrRBr9mAkJ6xMXZ18vSWac vTV0qCh85WaEWCRCSojd772PZz5zuAQezFwuOnOEsefWssUitzIp9jMjkrONDzI9Ye+FtQ1lv8GgJ y4Z6/V7Jnrq6gVtThybnQCTfaZBcxOY8WbOwArgK0MZYxZVV/QDev/pL3dZYfIXXcggkHteqDQqfw 0C5LRjkqvRiMAgIivyULBmqD++gkqWf9sZfIklGv8KWzEY07Du3i1KIByIKsP6E47HnqTZ0H9g3sz oGDjRxx2PFW6n+3vZ5M1GBDbUsDDpq5jywQxPp+vClZ9Aq1pmMGgVxVixrYoTHWxHh/Rw0YQJlDT1 oRjT/eMA==; Original-Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1f4XzH-0003Yg-23; Fri, 06 Apr 2018 22:29:31 +0200 Original-Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=chinook) by mailfront10.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1f4XzC-00073f-10; Fri, 06 Apr 2018 22:29:26 +0200 In-reply-to: <834lkq2d1w.fsf@gnu.org> 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:144953 Archived-At: Eli Zaretskii writes: > When an element of @var{bindings} is just a symbol @var{var}, the > result of evaluating @var{var} is re-bound to @var{var}. > > Is this what caused you to say it "does a completely different thing > to symbols in the binding list"? Or did I misunderstand? > What caused me to say it does a completely different thing is that, for example, if VAR is bound to 3 in an outside scope, inside: (let (var) ...) it will be bound to nil. But inside (inline-letevals (var) ...) it will be bound to 3. And if VAR is unbound in the outside scope, let will bind it to nil and inline-letevals will signal an error. It's occurred to me while writing this that (inline-letevals (var) ...) behaves much like (let ((var (eval var))) ...) although I'm not sure how to turn that into a concise explanation for the documentation.