emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Certain numbers of special forms cause changing behaviour on functio


From: Michael Heerdegen
Subject: Re: Certain numbers of special forms cause changing behaviour on function calls in --batch
Date: Tue, 05 Jul 2016 23:33:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> Eli Zaretskii <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]