From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#3283: Bug in Emacs' batch mode
Date: Wed, 13 May 2009 23:06:26 -0600 [thread overview]
Message-ID: <gug8sn$35o$1@ger.gmane.org> (raw)
In-Reply-To: <4e536696-1063-43c1-871f-588fe59efb5b@k19g2000prh.googlegroups.com>
Davin Pearson wrote:
> 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
message is a built-in function in `C source code'.
(message format-string &rest args)
There are calls to Fmessage() in Emacs' C source code which do not go
through the `message' Lisp symbol.
--
Kevin Rodgers
Denver, Colorado, USA
next prev parent reply other threads:[~2009-05-14 5:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 23:09 Bug in Emacs' batch mode Davin Pearson
2009-05-14 5:06 ` Kevin Rodgers [this message]
[not found] ` <mailman.7131.1242279129.31690.bug-gnu-emacs@gnu.org>
2009-05-19 9:07 ` bug#3283: " 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gug8sn$35o$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=3283@emacsbugs.donarmstrong.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 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).