From: Dave Love <d.love@dl.ac.uk>
Cc: emacs-devel@gnu.org
Subject: Re: smerge fix
Date: 29 Aug 2002 23:52:27 +0100 [thread overview]
Message-ID: <rzq3csx1dn8.fsf@albion.dl.ac.uk> (raw)
In-Reply-To: 200208240232.g7O2WoY11599@wijiji.santafe.edu
Richard Stallman <rms@gnu.org> writes:
> Using defvar inside eval-when-compile is rather a nuisance.
> Whatever we recommend for preventing warnings about unknown
> variables, it should be more convenient than that.
[I don't see why it's more inconvenient than using it around `require',
and code that has to be portable to older versions and XEmacs will
need to carry on doing that.]
> What we actually recommend for the purpose is a plain defvar.
The example in (elisp)Tips uses eval-when-compile, and the text was
meant to caution explicitly to use it.
> The easiest thing to do is to say that simple (defvar foo)
> does not count as a definition.
When this came up before, you said that should not be done. I think
you said that construct was intentionally used to declare variables
per se.
next prev parent reply other threads:[~2002-08-29 22:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <rzqy9b0cd0u.fsf@albion.dl.ac.uk>
2002-08-24 2:32 ` smerge fix Richard Stallman
2002-08-29 22:52 ` Dave Love [this message]
2002-08-30 6:11 ` Richard Stallman
2002-08-31 17:40 ` Dave Love
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=rzq3csx1dn8.fsf@albion.dl.ac.uk \
--to=d.love@dl.ac.uk \
--cc=emacs-devel@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).