From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Newsgroups: gmane.emacs.bugs Subject: bug#19211: 25.0.50; move-end-of-line goes to start of buffer in -batch Date: Fri, 28 Nov 2014 20:20:50 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1417202480 26071 80.91.229.3 (28 Nov 2014 19:21:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2014 19:21:20 +0000 (UTC) To: 19211@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 28 20:21:10 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XuR6K-00057s-5T for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Nov 2014 20:21:08 +0100 Original-Received: from localhost ([::1]:45624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuR6J-0006Fn-I4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Nov 2014 14:21:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuR6F-0006Fg-Pe for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 14:21:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuR6F-0000mo-1B for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 14:21:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuR6E-0000mf-UP for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 14:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XuR6E-0002uF-Kw for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 14:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Oleh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Nov 2014 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19211 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141720246011149 (code B ref -1); Fri, 28 Nov 2014 19:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Nov 2014 19:21:00 +0000 Original-Received: from localhost ([127.0.0.1]:48668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuR6C-0002tl-CK for submit@debbugs.gnu.org; Fri, 28 Nov 2014 14:21:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45043) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuR69-0002tZ-Vv for submit@debbugs.gnu.org; Fri, 28 Nov 2014 14:20:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuR68-0000lj-QH for submit@debbugs.gnu.org; Fri, 28 Nov 2014 14:20:57 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuR68-0000le-Nv for submit@debbugs.gnu.org; Fri, 28 Nov 2014 14:20:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuR67-0006FL-NF for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 14:20:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuR63-0000kI-VQ for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 14:20:55 -0500 Original-Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:35913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuR63-0000k5-O8 for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 14:20:51 -0500 Original-Received: by mail-wg0-f50.google.com with SMTP id k14so9519851wgh.37 for ; Fri, 28 Nov 2014 11:20:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WFYZC5TfV4EhyeF0FXSKJJhQWW3hTFNOKJB+TOrPYD0=; b=QIOcblGui6vfYg2qHeLWssAJYrDLCqBa3vWEhWZZ+8q/hAGAuPBaF5z/4ZVTD/KrsM ylq4T8giYg8fxSd7LlX8eXYonj2mjtuDWQufoyNnj7w0oERXy3G0GVY3mULolnzkn20H 7U9/qDcKvg1GQp1FbUGX/cBOsI64JqxOaue4Fc0YNAwfXXLs1o8PIaTOPfVMP7bI6HuR X6o/IxdOb+WSgFlHD+T1Sj3A6PM/DfmBIlesZcOPHRacJm4b+UjRzYW0XagfoCNhflxC LyWGnAnv+bMRT4MGdEgRD4KANEzMLMdnqZyNr1yNXjTYN0VNbcLG1NgqjJBy8bvAP6ue +q1A== X-Received: by 10.194.95.100 with SMTP id dj4mr69509139wjb.48.1417202450715; Fri, 28 Nov 2014 11:20:50 -0800 (PST) Original-Received: by 10.27.133.84 with HTTP; Fri, 28 Nov 2014 11:20:50 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96708 Archived-At: 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