unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: <michael_rytting@agilent.com>
To: <monnier@IRO.UMontreal.CA>
Cc: 11266@debbugs.gnu.org
Subject: bug#11266: emacs 23.4 with --batch and (next-line)
Date: Wed, 18 Apr 2012 15:47:49 -0600	[thread overview]
Message-ID: <B9DACE0D88F57F458EAEB9B2083FFE0D0450C8A689@cos-us-mb12.agilent.com> (raw)
In-Reply-To: <jwvfwc090lz.fsf-monnier+emacs@gnu.org>

Good to know, I've already corrected my scripts to use forward-line instead.

-----Original Message-----
From: Stefan Monnier [mailto:monnier@IRO.UMontreal.CA] 
Sent: Wednesday, April 18, 2012 3:46 PM
To: RYTTING,MICHAEL (A-ColSprings,ex1)
Cc: 11266@debbugs.gnu.org
Subject: Re: bug#11266: emacs 23.4 with --batch and (next-line)

tags 11266 notabug
thanks

> emacs -batch config.log --eval "(next-line 1)"
> And you'll see and End of buffer message.  While emacs -Q config.log 
> --eval "(next-line 1)"
> Produces no such error.

`next-line' in Emacs-23 was changed to use visual lines rather than logical lines, so its behavior depends on the shape of the selected window.  And indeed, the selected-window depends on the terminal (-batch uses a dummy terminal).


        Stefan





      reply	other threads:[~2012-04-18 21:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17 17:11 bug#11266: emacs 23.4 with --batch and (next-line) michael_rytting
2012-04-18  3:05 ` Kevin Rodgers
2012-04-18 21:46 ` Stefan Monnier
2012-04-18 21:47   ` michael_rytting [this message]

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=B9DACE0D88F57F458EAEB9B2083FFE0D0450C8A689@cos-us-mb12.agilent.com \
    --to=michael_rytting@agilent.com \
    --cc=11266@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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).