From: Davin Pearson <davin.pearson@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: Bug in Emacs' batch mode
Date: Mon, 11 May 2009 16:09:03 -0700 (PDT) [thread overview]
Message-ID: <4e536696-1063-43c1-871f-588fe59efb5b@k19g2000prh.googlegroups.com> (raw)
When I run a file in Emacs' batch mode like so:
emacs --batch --load foo.el
It prints out the following information:
-*- mode: compilation; default-directory: "~/dlisp/" -*-
Compilation started at Tue May 12 11:06:41
make foo
emacs --batch --load foo.el
Loading cl...
Loading cl-macs...
Compilation finished at Tue May 12 11:06:43
Compilation took 2 seconds
This is a bug because I have redefined the function message to do
nothing. Therefore it shouldn't print out "Loading cl..." and
"Loading cl-macs". What follows is the contents of the file foo.el:
(defun message (format-string &rest args) (interactive))
(load-library "cl")
(load-library "cl-macs")
(require 'cl-19 "cl")
(require 'cl)
;; batch code goes here
next reply other threads:[~2009-05-11 23:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 23:09 Davin Pearson [this message]
2009-05-14 5:06 ` bug#3283: Bug in Emacs' batch mode Kevin Rodgers
[not found] ` <mailman.7131.1242279129.31690.bug-gnu-emacs@gnu.org>
2009-05-19 9:07 ` Davin Pearson
2009-05-22 4:48 ` Kevin Rodgers
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=4e536696-1063-43c1-871f-588fe59efb5b@k19g2000prh.googlegroups.com \
--to=davin.pearson@gmail.com \
--cc=bug-gnu-emacs@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.