GNU bug report logs - #11053
batch mode line motion

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Tue, 20 Mar 2012 20:19:02 UTC

Severity: normal

Tags: notabug

Merged with 11266

Found in version 24.0.94

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Reuben Thomas <rrt <at> sc3d.org>
Cc: 11053 <at> debbugs.gnu.org
Subject: bug#11053: 24.0.94; When run with --batch, Emacs seems to start with point on the second line of the given file
Date: Wed, 18 Apr 2012 15:04:16 +0800
Reuben Thomas <rrt <at> sc3d.org> writes:

> I noticed this when running the GNU Zile tests, which are also run on
> Emacs to ensure that Zile is slavishly following Emacs's behavior.
>
> Here is an interactive test test.el:
>
> (execute-kbd-macro "\C-e\M-b\M-ba\C-x\C-s\C-x\C-c")

The visual line motion commands won't work in batch mode, because the
screen size is not defined in batch mode.  I changed line-move to use
forward-line in batch mode, which is as good an approximation as we are
likely to get.




This bug report was last modified 13 years and 34 days ago.

Previous Next


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