From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: Certain numbers of special forms cause changing behaviour on function calls in --batch Date: Thu, 30 Jun 2016 14:34:28 +0200 Message-ID: <87a8i2dfe3.fsf@web.de> References: <8760stvwzp.fsf@web.de> <834m8cvu9p.fsf@gnu.org> <87h9cbpw61.fsf@web.de> <83wpl7v1sg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1467290150 12741 80.91.229.3 (30 Jun 2016 12:35:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2016 12:35:50 +0000 (UTC) Cc: me@wilfred.me.uk, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 30 14:35:41 2016 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 1bIbBt-000645-3n for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2016 14:35:33 +0200 Original-Received: from localhost ([::1]:49054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIbBs-0001ls-7h for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2016 08:35:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIbB3-0001jj-7z for emacs-devel@gnu.org; Thu, 30 Jun 2016 08:34:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIbB1-0008Lj-A9 for emacs-devel@gnu.org; Thu, 30 Jun 2016 08:34:40 -0400 Original-Received: from mout.web.de ([212.227.17.12]:62711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIbAw-0008L1-Fy; Thu, 30 Jun 2016 08:34:34 -0400 Original-Received: from drachen.dragon ([79.216.83.88]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0LxOHm-1bPyv73ZV4-0171H4; Thu, 30 Jun 2016 14:34:32 +0200 In-Reply-To: <83wpl7v1sg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 Jun 2016 05:38:39 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-Provags-ID: V03:K0:rwqMlborjhX5htXQ62cC1bYS+xMzG3YLIDwv+4duhriU+Tms5GX TiBO8DegdocJZW3We0rmwcMhQscowiyWFw0KA7clApjzIi8f2hg2e30LxazWMv6iTkQ6OdV 4yuBoJPQNHpVz+b+6QbABhfEJfB9zDo5jdfJLQU1Lpy4QdDoUdfgze08bYSC3Wgcjq3dUFQ 1pHVpOsL1iqP/d9SPND+g== X-UI-Out-Filterresults: notjunk:1;V01:K0:o8Ksw06KiIc=:cwdAiOXSo5IUTHVvZKU5BS MbgoEamfdpU9FAi54aOrNrcAwvcPNKBizfZiuijLw0tKh3SscS6nLjdAnffI3BLWa2su3hAsV ZW9+oFhk7SJVCMVy5UzlRBadaidpHlXyNHte+QmssEiGCg8K4hNoxzOEbJz+QHAI6DVONGitN zXgu8uil42MZ2eiQIJLptJMjjmbTbuaILzdRqLoBHTBN8/PjuEecIjVtrF8QMJRJEuQjZ2Hkr gw8LFEgK4iirdQT3bt5vUGPPysSxVPcdIF1PdEpsngdTKLY1BvnMKQ+kU0pWXeG4xA2kY7DQv gS036ep8QD0SLAyiNKBuod/9+7axvparpVJS0gmXL7K8uCjkMHGXPGNkSN7sagyx7JRwLlkrV 4a4lS/aK+KT9r2w30DZQfIpE5XGW5pvXXfpThHXasCOcMh1vdbIOCt8HEPgZrSYYF+dPUYvlb xCaZNdXBTfTg/Lvpn6CfZxRgPaL3qP8yct7M40k9FsF8i2tZaJ54jQBtisug0lbifS0mRBPli Eu9rr2glLciTA42ztRJ65uAbnD49STHKLRCwMAowS4Vtke0CuHHP3i2UCYDz5CDaePiN1lzyM 5fgK9S1Uj//lSKfdPb8IAjtb2holSWSj5/j/cEhcCvOo3MDPTXic2ZcTrhhPeeWcAS0W0+CNM iOnw16LSut2PNQqKGdMQ/eWFqq793/zW3y+yt2lbwcu4A8e8QqmZvyjGhTCt3s2050yaM3A03 FVClh+opI3q+gDSJ3RmXgxBuqRcynpPZ3wMfZdxGajWQn4E7etKWt2I5B7g= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:204981 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: > I need a reproducible recipe to look into this. So far, it's not > reproducible for me. If someone can come up with a recipe, there are > good chances we will at least understand the reasons for this. Maybe it's just not reproducible on your system. I have this file in "/home/micha/Treasure/today/test.el": --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=test.el Content-Transfer-Encoding: quoted-printable (defun call-fn-in-let (unused) (let (xx) (let (yy) (split-string "foo" "bar" nil)))) (with-temp-buffer (insert "foofoofoo\nbarbarbar") (let ((dd (let (aa) (let (bb) (let (cc) (progn (call-fn-in-let nil))))))) (let (ee) (save-excursion (goto-char (point-min)) (if t (progn (move-end-of-line nil) (message "point is: %s" (point)))))))) --=-=-= Content-Type: text/plain >From the shell: micha@drachen ~/T/today> emacs -batch -l ./test.el point is: 20 When I open the file from Emacs and M-x eval-buffer, Emacs prints 10. Michael. --=-=-=--