Subject: Re: bug#19211: 25.0.50; move-end-of-line goes to start of buffer in -batch
From: Eli Zaretskii <[email-masked]>
To: Oleh <[email-masked]>
Cc: [email-masked]
Date: Sun, 30 Nov 2014 18:08:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Fri, 28 Nov 2014 20:20:50 +0100
> From: Oleh <[email-masked]>
> 
> (defun test-eol ()
>   (message "%S"
>            (with-temp-buffer
>              (insert "foobar")
>              (goto-char 1)
>              (move-end-of-line nil)
>              (point))))
> #+end_src
> 
> Then test:
> 
>     emacs -batch -Q -l test-eol.el -f test-eol
>     => 1
> 
> Works fine for the old one:
> 
>     emacs23 -batch -Q -l test-eol.el -f test-eol
>     => 7
> 
> Also works fine without -batch.

Thanks, this is now fixed by commit 59c4d5f on the emacs-24 branch.