From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Certain numbers of special forms cause changing behaviour on function calls in --batch Date: Wed, 29 Jun 2016 19:23:30 +0300 Message-ID: <834m8cvu9p.fsf@gnu.org> References: <8760stvwzp.fsf@web.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1467217452 2450 80.91.229.3 (29 Jun 2016 16:24:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2016 16:24:12 +0000 (UTC) Cc: me@wilfred.me.uk, emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 29 18:24:12 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 1bIIHb-0001DB-Kh for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2016 18:24:11 +0200 Original-Received: from localhost ([::1]:44813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIIHa-0003dq-Pd for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2016 12:24:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIIHP-0003Ym-5n for emacs-devel@gnu.org; Wed, 29 Jun 2016 12:24:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIIHK-00048k-08 for emacs-devel@gnu.org; Wed, 29 Jun 2016 12:23:58 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIIHJ-00047v-TD; Wed, 29 Jun 2016 12:23:53 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1220 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bIIHH-0003Hc-UU; Wed, 29 Jun 2016 12:23:52 -0400 In-reply-to: <8760stvwzp.fsf@web.de> (message from Michael Heerdegen on Tue, 28 Jun 2016 23:12:26 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:204935 Archived-At: > From: Michael Heerdegen > Date: Tue, 28 Jun 2016 23:12:26 +0200 > Cc: emacs-devel > > Wilfred Hughes writes: > > > However, running it in --batch gives: > > > > $ emacs -batch -l ~/projects/pyimport/nasty.el > > point is: 20 > > > > This is incorrect: for some reason move-end-of-line is behaving > > differently here. Removing any of the extra special forms (e.g. the > > redundant lets) fixes it. > > Strange indeed. I see no strangeness: I cannot reproduce the problem, neither in Emacs 24.4, nor 24.5, nor the current pretest of Emacs 25.1. So I'm going to claim that OP's Emacs 24.5 was compiled by a buggy compiler or something.