all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Is there symbol-plist functionality in Emacs Lisp?
Date: Sat, 8 May 2021 18:32:54 +0300	[thread overview]
Message-ID: <YJavJkdzV9z2hPO1@protected.localdomain> (raw)
In-Reply-To: <jwv5yzt5o1c.fsf-monnier+emacs@gnu.org>

* Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2021-05-08 17:01]:
> > While `symbol-plist' in Common Lisp returns the definition as below.
> 
> Is that really true of Common Lisp, or just of some implementations?
> I can't seem to find that documented in the CLHS.

True, it works just in CLISP. Is there equivalent in Emacs that I can
get a function definition this way?

[1]> (defun myfn (a) a)
MYFN

[2]> (SYMBOL-PLIST (INTERN (STRING-upcase "myfn")))
(SYSTEM::DEFINITION
 ((DEFUN MYFN (A) A) .
  #(NIL NIL NIL NIL
    ((DECLARATION OPTIMIZE DECLARATION DYNAMICALLY-MODIFIABLE SYSTEM::IMPLEMENTATION-DEPENDENT)))))


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/




  parent reply	other threads:[~2021-05-08 15:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-08  7:28 Is there symbol-plist functionality in Emacs Lisp? Jean Louis
2021-05-08 13:54 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-05-08 14:38   ` FW: [External] : " Drew Adams
2021-05-08 16:23     ` Jean Louis
2021-05-08 23:13     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-08 15:32   ` Jean Louis [this message]
2021-05-08 15:47     ` Stefan Monnier
2021-05-08 16:36       ` Jean Louis

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=YJavJkdzV9z2hPO1@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@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 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.