GNU bug report logs - #11266
emacs 23.4 with --batch and (next-line)

Previous Next

Package: emacs;

Reported by: <michael_rytting <at> agilent.com>

Date: Tue, 17 Apr 2012 17:16:01 UTC

Severity: normal

Tags: notabug

Merged with 11053

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: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: <michael_rytting <at> agilent.com>
Cc: 11266 <at> debbugs.gnu.org
Subject: bug#11266: emacs 23.4 with --batch and (next-line)
Date: Wed, 18 Apr 2012 17:46:29 -0400
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




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

Previous Next


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