GNU bug report logs - #19211
25.0.50; move-end-of-line goes to start of buffer in -batch

Previous Next

Package: emacs;

Reported by: Oleh <ohwoeowho <at> gmail.com>

Date: Fri, 28 Nov 2014 19:21:02 UTC

Severity: normal

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#19211: closed (25.0.50; move-end-of-line goes to start of
 buffer in -batch)
Date: Sun, 30 Nov 2014 16:09:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 30 Nov 2014 18:08:40 +0200
with message-id <833890acxj.fsf <at> gnu.org>
and subject line Re: bug#19211: 25.0.50; move-end-of-line goes to start of buffer in -batch
has caused the debbugs.gnu.org bug report #19211,
regarding 25.0.50; move-end-of-line goes to start of buffer in -batch
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
19211: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19211
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Oleh <ohwoeowho <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; move-end-of-line goes to start of buffer in -batch
Date: Fri, 28 Nov 2014 20:20:50 +0100
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


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Oleh <ohwoeowho <at> gmail.com>
Cc: 19211-done <at> debbugs.gnu.org
Subject: Re: bug#19211: 25.0.50;
 move-end-of-line goes to start of buffer in -batch
Date: Sun, 30 Nov 2014 18:08:40 +0200
> Date: Fri, 28 Nov 2014 20:20:50 +0100
> From: Oleh <ohwoeowho <at> gmail.com>
> 
> (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.


This bug report was last modified 10 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.