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: Tue, 05 Jul 2016 23:33:29 +0200 Message-ID: <871t37n51y.fsf@web.de> References: <8760stvwzp.fsf@web.de> <834m8cvu9p.fsf@gnu.org> <87h9cbpw61.fsf@web.de> <83wpl7v1sg.fsf@gnu.org> <87a8i2dfe3.fsf@web.de> <83poqyvh58.fsf@gnu.org> <87shvu1ixp.fsf@web.de> <8360spvn6i.fsf@gnu.org> <8760sjn5me.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467754468 26674 80.91.229.3 (5 Jul 2016 21:34:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2016 21:34:28 +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 Tue Jul 05 23:34:19 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 1bKXz0-0001Yx-O9 for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2016 23:34:19 +0200 Original-Received: from localhost ([::1]:58200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKXyz-0002tP-N4 for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2016 17:34:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKXyO-0002tK-4H for emacs-devel@gnu.org; Tue, 05 Jul 2016 17:33:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKXyI-0003qD-3V for emacs-devel@gnu.org; Tue, 05 Jul 2016 17:33:39 -0400 Original-Received: from mout.web.de ([212.227.15.14]:51888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKXyH-0003pg-PH; Tue, 05 Jul 2016 17:33:34 -0400 Original-Received: from drachen.dragon ([88.67.73.210]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MSav6-1at4xD0zQa-00RWNL; Tue, 05 Jul 2016 23:33:31 +0200 In-Reply-To: <8760sjn5me.fsf@web.de> (Michael Heerdegen's message of "Tue, 05 Jul 2016 23:21:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-Provags-ID: V03:K0:EZqCnAzkjaMXDlVFF8PkpbBKb3y6Oa/KT2ldks8/kkggptZp+0W 4nYJXTeYE/tCuQ7yLApajbKXb4Ez0rzMhRN+3xV615Zy9moIA4uRwp2ml/+Y8D3cKGvG7Ps ZSR9aQkloGrqwMi6xzT03URahFp+ycRkHWp9Furf89HTylSSSqnxa8gyjvj8w3HiWbHXQ1n j+8AnGufwtXsrTNTtqvlw== X-UI-Out-Filterresults: notjunk:1;V01:K0:5p38PqjxGpI=:dr62cfYUxa7a91q/EhxqDu IbYaxheulByKceiloZ6d/SyL/ST1f69UQIMJgqTsQAckpmpoR/gquvSu8hv1+LWQ2qRq1RfFA CuZZtTSoEI4wJCC59Xt8yPqGdQUUp/vi+8GHNffYAIsKB4hnuZFyCQPB1FOGmUqjKSNWTt7vn LTAHkm53jpe7X3ziXeOzCOto21zN0eQoND+Kb51UlHxkz5HBDtU3g8KvWzjUl2WHnRkezCfvg zCwThZUdJ9VKBDokJn83Ngts47ODRUpMD5ygWJv4IVkJPmChnNaqvwbHhZcWNkpRXn0T/cZHV 40Mm9L1/wE1b0PiHhLm4WrZYehNqVPut9neQiFlhHlcJy4NkgC3HLeDTYXfb9ikZlvnHXhtjl DZpkLisZejPqk3VGpRzDmeFNgq7f/J74VUyt8qtA8KQiI2mxBQxxgbyFGpMswzUJ+qePxlLIe +eDXdaWHNyPbpDtCGqRSvo0XkBr74kwy8o9AErspjdG+nkr+bQeRJ7NUzeNO6o4uOqfIQSDbV oe/Y+99h/aDftuaACpkEKt4YZOQ6OCP6L29UkoCh8lfCyilBZ7sxpm8vpgLfdnalf4UtArksz zsBvXsk4nnsMbY+D+L6vDe10cXtLoP2R8PUE7W7dnctjy/lWAtkn/jd9FHu08fkPJb3BZkYMI oMPWVsGHOYVcsGzpvhrPFMRdA8lUqKWbX7DXuWM+x1Q0/AuaECRipYrHr759V3NObT1bsX/Ve AmAuRG7I4hC3FpFgXdk9dD9NnuUtyRm+9R6AeovqSmW5DMQA6QejzRzMriE0W5I/RE8WSo2j X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 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:205211 Archived-At: Michael Heerdegen writes: > Eli Zaretskii writes: > > > > I can give it a quick try (I'm on vacation). > > The first thing that I found out: it makes a difference whether I use > the compiled simple.elc or the source simple.el. Only with the compiled > simple.elc I get the unexpected result of 20. But when I load the > uncompiled simple.el into the batch session, I'm not able to reproduce > the issue (I get 10). Hmm, now I changed simple.el like this: *** /tmp/ediff230416Vp 2016-07-05 23:29:32.557789593 +0200 --- /home/micha/software/emacs/lisp/simple.el 2016-07-05 23:27:12.017360250 +0200 *************** *** 6341,6346 **** --- 6341,6347 ---- (point) 'invisible))) (backward-char 1))) (point))))) + (message "%s" newpos) (goto-char newpos) (if (and (> (point) newpos) (eq (preceding-char) ?\n)) and recompiled it. After that, the issue is not reproducible anymore at all; neither with the uncompiled nor with compiled "simple" library. Seems we won't find out anything useful by debugging on the Lisp level. Michael.