unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19211: 25.0.50; move-end-of-line goes to start of buffer in -batch
@ 2014-11-28 19:20 Oleh
  2014-11-30 16:08 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Oleh @ 2014-11-28 19:20 UTC (permalink / raw)
  To: 19211

Hi,

To reproduce, create a file "test-eol.el" with:

#+begin_src elisp
(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.

regards,
Oleh





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-30 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 19:20 bug#19211: 25.0.50; move-end-of-line goes to start of buffer in -batch Oleh
2014-11-30 16:08 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).