unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Try and detect common problems in lexical code
Date: Wed, 18 Mar 2020 21:54:28 -0400	[thread overview]
Message-ID: <E1jEkOC-000856-6d@fencepost.gnu.org> (raw)
In-Reply-To: <jwvsgi5mn6n.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Wed, 18 Mar 2020 16:30:28 -0400)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > because the file that defines `byte-compile-dest-file-function` might be
  > loaded after the let binding is created (i.e. in response to the call
  > to `byte-compile`).

ISTR that in lexically-scoped languages you usually have to load
an interface spec for a program before you can call it.
Maybe that is the right direction to go, for this.

Maybe it is possible to have a function 'lexical-require'
which is like 'require' except that, instead of _loading_ the
file require, it only prepares to call things in that file.

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





      parent reply	other threads:[~2020-03-19  1:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18 20:30 Try and detect common problems in lexical code Stefan Monnier
2020-03-18 22:29 ` Clément Pit-Claudel
2020-03-19  0:00   ` Stefan Monnier
2020-03-20 16:47     ` Clément Pit-Claudel
2020-03-19  1:54 ` Richard Stallman [this message]

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=E1jEkOC-000856-6d@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).