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, 06 Jul 2016 17:30:02 +0300 Message-ID: <8337nmon4l.fsf@gnu.org> 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> <871t37n51y.fsf@web.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1467815510 11545 80.91.229.3 (6 Jul 2016 14:31:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2016 14:31:50 +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 Jul 06 16:31:45 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 1bKnrb-0000ba-UM for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2016 16:31:44 +0200 Original-Received: from localhost ([::1]:33837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKnrb-0004z3-1H for ged-emacs-devel@m.gmane.org; Wed, 06 Jul 2016 10:31:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKnqI-0002pA-4s for emacs-devel@gnu.org; Wed, 06 Jul 2016 10:30:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKnqG-0003MS-59 for emacs-devel@gnu.org; Wed, 06 Jul 2016 10:30:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKnqG-0003Ly-1l; Wed, 06 Jul 2016 10:30:20 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4370 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKnqC-0001Kw-TH; Wed, 06 Jul 2016 10:30:17 -0400 In-reply-to: <871t37n51y.fsf@web.de> (message from Michael Heerdegen on Tue, 05 Jul 2016 23:33:29 +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:205251 Archived-At: > From: Michael Heerdegen > Cc: me@wilfred.me.uk, emacs-devel@gnu.org > Date: Tue, 05 Jul 2016 23:33:29 +0200 > > 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. Did the experiments with the compiled simple.elc load it into a running session, or did you re-dump Emacs after byte-compiling simple.el? > Seems we won't find out anything useful by debugging on the Lisp level. What other practical alternatives are there?