[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11266: emacs 23.4 with --batch and (next-line)

From: Stefan Monnier
Subject: bug#11266: emacs 23.4 with --batch and (next-line)
Date: Wed, 18 Apr 2012 17:46:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

tags 11266 notabug

> 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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]