From: Giles Chamberlin <giles.chamberlin@tandberg.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Q: Testing forthe existence of a function
Date: Tue, 27 Oct 2009 17:06:15 +0000 [thread overview]
Message-ID: <87aazcrcl4.fsf@ukdev-lin-grc.uk.rd.tandberg.com> (raw)
In-Reply-To: 36E8CB7B010C489883A781568F0156AE@us.oracle.com
"Drew Adams" <drew.adams@oracle.com> writes:
> Usually, it is better to test whether the function or variable that
> you will use is defined. That provides finer granularity.
Interesting. I was thinking of my usual use case where I may or may not
have a particular library loaded, which admittedly was not the wording
of the original question.
> In sum, it helps to know a bit about the function and library in question, and
> even whether other libraries are common that might define a function with the
> same name.
Now that I can't argue with!
--
Giles
next prev parent reply other threads:[~2009-10-27 17:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-27 13:11 Q: Testing forthe existence of a function grkuntzmd
2009-10-27 16:32 ` Giles Chamberlin
2009-10-27 16:49 ` Drew Adams
2009-10-27 17:06 ` Giles Chamberlin [this message]
2009-10-27 16:44 ` Drew Adams
[not found] ` <mailman.9565.1256661618.2239.help-gnu-emacs@gnu.org>
2009-10-27 19:08 ` Q: " Ilya Zakharevich
[not found] <mailman.9564.1256660727.2239.help-gnu-emacs@gnu.org>
2009-10-27 16:41 ` Colin S. Miller
2009-10-27 17:43 ` grkuntzmd
[not found] ` <mailman.9573.1256665424.2239.help-gnu-emacs@gnu.org>
2009-10-27 17:57 ` Colin S. Miller
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=87aazcrcl4.fsf@ukdev-lin-grc.uk.rd.tandberg.com \
--to=giles.chamberlin@tandberg.com \
--cc=help-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.
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).