all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: Using custom as a type checker:- ramble
Date: 27 Mar 2003 11:32:33 -0500	[thread overview]
Message-ID: <5lr88s93dq.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: vf3cl9umvl.fsf@rpc71.cs.man.ac.uk

Stefan> It should be possible to get the desired result without
Stefan> implementing an elisp interpreter in elisp, but instead by
Stefan> temporarily rebinding `setq' as a macro (and things like
Stefan> that).
> I think that would be fairly hard! setq is such a basic function, and
> to change it so that it worked correctly, but still failed at the
> appropriate time. 

I don't intend it to fail any more than the plain `setq' does.
The only difference would be a bunch of warnings.

> I presume you are still suggesting using the type information in
> custom to make the determination as to whether an .emacs setq was
> "type safe" or not? If this is the case, it would seem the two
> approaches (a custom-setq, or augmented setq) would use a lot of
> common code.

Probably, but without making it visible at the source level and
without impacting the semantics of the code at all.


        Stefan

  reply	other threads:[~2003-03-27 16:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25 18:22 Using custom as a type checker:- ramble Phillip Lord
2003-03-26 16:17 ` Stefan Monnier
2003-03-26 16:59   ` Phillip Lord
2003-03-26 19:14     ` Stefan Monnier
2003-03-27 10:25       ` Phillip Lord
2003-03-27 16:32         ` Stefan Monnier [this message]
2003-03-27 17:11           ` Phillip Lord

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5lr88s93dq.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
    /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 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.