unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11266: emacs 23.4 with --batch and (next-line)
@ 2012-04-17 17:11 michael_rytting
  2012-04-18  3:05 ` Kevin Rodgers
  2012-04-18 21:46 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: michael_rytting @ 2012-04-17 17:11 UTC (permalink / raw)
  To: 11266

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

I recently upgraded to emacs 23.4 and found a rather obscure bug.  When invoked with -batch emacs behaves differently with the command (next-line) compared to when it is invoked without batch.  I had to switch to using (forward-line) in my code to work around this.  This behavior can be easily seen by running.

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.


Michael Rytting
Agilent Technologies
michael_rytting@agilent.com<mailto:michael_rytting@agilent.com>
719-590-3708


[-- Attachment #2: Type: text/html, Size: 2709 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-18 21:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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