all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Feature request: eval-defun on defcustom :initialize / :set
Date: Fri, 04 Apr 2008 17:33:25 +0200	[thread overview]
Message-ID: <v9sky163ei.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <47F6490C.5050409@gnu.org> (Sam Steingold's message of "Fri, 04 Apr 2008 11:28:12 -0400")

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.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2008-04-04 15:33 UTC|newest]

Thread overview: 6+ 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 [this message]
2008-04-04 18:10     ` Sam Steingold
2008-04-04 19:07       ` lisp-eval-defun on defvar (was: 23.0.60; Feature request: eval-defun on defcustom :initialize / :set) Reiner Steib
2012-12-09  1:06 ` bug#109: 23.0.60; Feature request: eval-defun on defcustom :initialize / :set Glenn Morris

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=v9sky163ei.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --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 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.