* Bug in Emacs' batch mode
@ 2009-05-11 23:09 Davin Pearson
2009-05-14 5:06 ` bug#3283: " Kevin Rodgers
[not found] ` <mailman.7131.1242279129.31690.bug-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Davin Pearson @ 2009-05-11 23:09 UTC (permalink / raw
To: bug-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#3283: Bug in Emacs' batch mode
2009-05-11 23:09 Bug in Emacs' batch mode Davin Pearson
@ 2009-05-14 5:06 ` Kevin Rodgers
[not found] ` <mailman.7131.1242279129.31690.bug-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2009-05-14 5:06 UTC (permalink / raw
To: bug-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bug#3283: Bug in Emacs' batch mode
[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
0 siblings, 1 reply; 4+ messages in thread
From: Davin Pearson @ 2009-05-19 9:07 UTC (permalink / raw
To: bug-gnu-emacs
On May 14, 5:06 pm, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
> There are calls to Fmessage() in Emacs' C source code which do not go
> through the `message' Lisp symbol.
Isn't that a bug, since it seems reasonable to redefine message to a
do-nothing function?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#3283: Bug in Emacs' batch mode
2009-05-19 9:07 ` Davin Pearson
@ 2009-05-22 4:48 ` Kevin Rodgers
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2009-05-22 4:48 UTC (permalink / raw
To: bug-gnu-emacs
Davin Pearson wrote:
> On May 14, 5:06 pm, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
>> There are calls to Fmessage() in Emacs' C source code which do not go
>> through the `message' Lisp symbol.
>
> Isn't that a bug, since it seems reasonable to redefine message to a
> do-nothing function?
There are many calls to Ffoo() functions in Emacs' C source code which
do not go through the `foo' Lisp symbols. Are they all bugs?
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-22 4:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-11 23:09 Bug in Emacs' batch mode Davin Pearson
2009-05-14 5:06 ` bug#3283: " 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
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.