[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb-ui.el assumes images support
From: |
Luc Teirlinck |
Subject: |
Re: gdb-ui.el assumes images support |
Date: |
Tue, 9 Nov 2004 16:58:33 -0600 (CST) |
Richard Stallman wrote:
It may also require another file simply to avoid warnings for using
undefined functions that are defined in that file.
This "solution" causes more trouble the problem it is meant to solve;
please don't use it.
I do not know whether you are talking about a _run-time_ require or
about the (eval-when-compile (require ...) ...) _in this particular
file_.
If you are talking about (eval-when-compile (require ...) ...) _in
general_ then the following text from `(elisp)Coding Conventions'
which encourages use of this construct to avoid compiler warnings
should be changed:
Sometimes adding a `require' for another package is useful to
avoid compilation warnings for variables and functions defined in
that package. If you do this, often it is better if the
`require' acts only at compile time. Here's how to do that:
(eval-when-compile
(require 'foo)
(defvar bar-baz))
Sincerely,
Luc.
- Re: gdb-ui.el assumes images support, (continued)
- Re: gdb-ui.el assumes images support, Kim F. Storm, 2004/11/08
- Re: gdb-ui.el assumes images support, Kevin Rodgers, 2004/11/08
- Re: gdb-ui.el assumes images support, Nick Roberts, 2004/11/08
- Re: gdb-ui.el assumes images support, Luc Teirlinck, 2004/11/08
- Re: gdb-ui.el assumes images support, Luc Teirlinck, 2004/11/08
- Re: gdb-ui.el assumes images support, Luc Teirlinck, 2004/11/08
- Re: gdb-ui.el assumes images support, Kim F. Storm, 2004/11/09
- Re: gdb-ui.el assumes images support, Kevin Rodgers, 2004/11/09
- Re: gdb-ui.el assumes images support, Richard Stallman, 2004/11/10
- Re: gdb-ui.el assumes images support, Richard Stallman, 2004/11/09
- Re: gdb-ui.el assumes images support,
Luc Teirlinck <=
- Re: gdb-ui.el assumes images support, Stefan Monnier, 2004/11/09
- Re: gdb-ui.el assumes images support, Luc Teirlinck, 2004/11/09
- Re: gdb-ui.el assumes images support, Richard Stallman, 2004/11/10
- Re: gdb-ui.el assumes images support, Kim F. Storm, 2004/11/09
- Re: gdb-ui.el assumes images support, Richard Stallman, 2004/11/09
- Re: gdb-ui.el assumes images support, Nick Roberts, 2004/11/10
- Re: gdb-ui.el assumes images support, Richard Stallman, 2004/11/08
- Re: gdb-ui.el assumes images support, Eli Zaretskii, 2004/11/08
- Re: gdb-ui.el assumes images support, Kim F. Storm, 2004/11/09
- Re: gdb-ui.el assumes images support, Richard Stallman, 2004/11/10