unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Subject: Deleting skeleton-proxy
Date: Thu, 22 May 2003 20:42:52 -0400	[thread overview]
Message-ID: <200305230042.h4N0gqWd028126@rum.cs.yale.edu> (raw)


While looking at abbrevs and friends, I bumped into the skeleton-proxy horror.
Trying to understand what happened, I finally discovered that
skeleton used to use something like

	(defmacro define-skeleton (name &rest skel)
          `(progn (defvar ,name ',skel)
	          (defalias ',name 'skeleton-proxy)))

and so skeleton-proxy looked up the stack to find the name of the
alias used, then looked up the var-binding of that name to find
the actual skeleton.

Someone (apparently Richard) saw how disgusting it was and fixed it
to do the right thing.  This was way back in 96.

	revision 1.15
	date: 1996/06/28 08:11:18;  author: rms;  state: Exp;  lines: +53 -3
	(skeleton-proxy-new): New function.
	(define-skeleton): Define the skeleton as a defun
	using skeleton-proxy-new.

Now, skeleton-proxy was kept at that time because it was still needed
by code byte-compiled with the old macro.  I don't know if the code
still works (its stack-walking thing is something that I'd expect to
break at least somewhat in the course of 7 years), but it is still
autoloaded.

Any objection to getting rid of this thing ?


	Stefan

             reply	other threads:[~2003-05-23  0:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-23  0:42 Stefan Monnier [this message]
2003-05-24 23:20 ` Deleting skeleton-proxy Richard Stallman

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=200305230042.h4N0gqWd028126@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.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 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).