all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <michael_rytting@agilent.com>
To: 11266@debbugs.gnu.org
Subject: bug#11266: emacs 23.4 with --batch and (next-line)
Date: Tue, 17 Apr 2012 11:11:45 -0600	[thread overview]
Message-ID: <B9DACE0D88F57F458EAEB9B2083FFE0D0450C8A021@cos-us-mb12.agilent.com> (raw)

[-- 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 --]

             reply	other threads:[~2012-04-17 17:11 UTC|newest]

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

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

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

  git send-email \
    --in-reply-to=B9DACE0D88F57F458EAEB9B2083FFE0D0450C8A021@cos-us-mb12.agilent.com \
    --to=michael_rytting@agilent.com \
    --cc=11266@debbugs.gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.