From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Feature request: eval-defun on defcustom :initialize / :set Date: Fri, 04 Apr 2008 17:33:25 +0200 Message-ID: References: <47F6490C.5050409@gnu.org> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207323259 20852 80.91.229.12 (4 Apr 2008 15:34:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 15:34:19 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 04 17:34:51 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jhnvz-0003YY-O3 for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 17:34:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhnvN-00071j-1I for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 11:33:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhnvJ-00071e-ID for emacs-devel@gnu.org; Fri, 04 Apr 2008 11:33:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhnvH-00071S-3e for emacs-devel@gnu.org; Fri, 04 Apr 2008 11:33:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhnvG-00071P-V0 for emacs-devel@gnu.org; Fri, 04 Apr 2008 11:33:46 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhnvG-0006RU-SR for emacs-devel@gnu.org; Fri, 04 Apr 2008 11:33:46 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JhnvG-0004b0-Dj for emacs-pretest-bug@gnu.org; Fri, 04 Apr 2008 11:33:46 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JhnvD-0006Qm-20 for emacs-pretest-bug@gnu.org; Fri, 04 Apr 2008 11:33:46 -0400 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JhnvC-0006QM-LI for emacs-pretest-bug@gnu.org; Fri, 04 Apr 2008 11:33:42 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m34FXfjJ010554 for ; Fri, 4 Apr 2008 17:33:41 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 6F88212FB5 for ; Fri, 4 Apr 2008 17:33:40 +0200 (CEST) X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l; 3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2; n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 (Sam Steingold's message of "Fri, 04 Apr 2008 11:28:12 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2.50 (gnu/linux) X-DCC-CollegeOfNewCaledonia-Metrics: poseidon 1189; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94341 gmane.emacs.pretest.bugs:21863 Archived-At: 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/