unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Feature request: eval-defun on defcustom :initialize / :set
Date: Fri, 04 Apr 2008 14:10:36 -0400	[thread overview]
Message-ID: <47F66F1C.3020502@gnu.org> (raw)
In-Reply-To: <v9sky163ei.fsf@marauder.physik.uni-ulm.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reiner Steib wrote:
| On Fri, Apr 04 2008, Sam Steingold wrote:
|
|> Reiner Steib wrote:
|> |
|> | I think `eval-defun' (C-M-x) on a defcustom which has should evaluate
|> | the :initialize or :set function.
| [...]
|> it is not obvious that this is correct.
|> defcustom is similar to defvar which does not set the the variable if it
|> is already defined.
|
| `eval-defun' _does_ set the variable for both, defvar and defcustom.

cool!
maybe lisp-eval-defun should do the same in inferior lisp?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH9m8cPp1Qsf2qnMcRAuNuAJ4zZwmLyR1RmUM4erKDj5n4U9EIUQCeIcV1
NET3LOk8qHAitCxKYqaYfzc=
=iImG
-----END PGP SIGNATURE-----




  reply	other threads:[~2008-04-04 18:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 14:03 23.0.60; Feature request: eval-defun on defcustom :initialize / :set Reiner Steib
2008-04-04 15:28 ` Sam Steingold
2008-04-04 15:33   ` Reiner Steib
2008-04-04 18:10     ` Sam Steingold [this message]
2008-04-04 19:07       ` lisp-eval-defun on defvar (was: 23.0.60; Feature request: eval-defun on defcustom :initialize / :set) Reiner Steib

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=47F66F1C.3020502@gnu.org \
    --to=sds@gnu.org \
    --cc=emacs-pretest-bug@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).