unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 11053@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	[thread overview]
Message-ID: <87fwc1ttan.fsf@gnu.org> (raw)
In-Reply-To: <87bonrcaw6.fsf@sc3d.org> (Reuben Thomas's message of "Tue, 20 Mar 2012 19:47:37 +0000")

Reuben Thomas <rrt@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.





  parent reply	other threads:[~2012-04-18  7:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 19:47 bug#11053: 24.0.94; When run with --batch, Emacs seems to start with point on the second line of the given file Reuben Thomas
2012-03-20 21:24 ` Glenn Morris
2012-03-20 21:29   ` Reuben Thomas
2012-04-18  7:04 ` Chong Yidong [this message]
2012-04-19  7:55   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwc1ttan.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=11053@debbugs.gnu.org \
    --cc=rrt@sc3d.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).