unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: safe-get
Date: Thu, 21 Apr 2005 10:09:39 +0200	[thread overview]
Message-ID: <m3k6mwsg8s.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <E1DOMxc-0004fa-I7@fencepost.gnu.org> (Richard Stallman's message of "Wed, 20 Apr 2005 17:42:16 -0400")

Richard Stallman <rms@gnu.org> writes:

> Is there a reason not to make ordinary `get' safe?  

Not really, except
a) it will not catch errors in the symbol plist.
b) it is slightly slower

>                                                     That would be
> simpler for Lisp programmers than introducing safe-get.
> The code would be simpler, the manual would be simpler, even
> etc/NEWS would be simpler.


I will revert my changes, and just make get safe...

But then, why don't we make plist-get safe
and get rid of safe-plist-get, too ?

IIRC, safe-plist-get is new in 22.1, so I don't see any big
problems doing that...

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  parent reply	other threads:[~2005-04-21  8:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20 21:42 safe-get Richard Stallman
2005-04-20 23:52 ` safe-get Stefan Monnier
2005-04-21 19:56   ` safe-get Richard Stallman
2005-04-21  8:09 ` Kim F. Storm [this message]
2005-04-21 19:56   ` safe-get Richard Stallman
2005-04-21 23:47     ` safe-get Kim F. Storm

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=m3k6mwsg8s.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --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).