From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold 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 14:10:36 -0400 Message-ID: <47F66F1C.3020502@gnu.org> References: <47F6490C.5050409@gnu.org> Reply-To: emacs-pretest-bug@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207332656 24293 80.91.229.12 (4 Apr 2008 18:10:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 18:10:56 +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 20:11:28 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 1JhqNr-0001JV-Gv for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 20:11:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhqNE-0000ou-MZ for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 14:10:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhqNA-0000nr-Ha for emacs-devel@gnu.org; Fri, 04 Apr 2008 14:10:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhqN8-0000nC-Mn for emacs-devel@gnu.org; Fri, 04 Apr 2008 14:10:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhqN8-0000n9-JD for emacs-devel@gnu.org; Fri, 04 Apr 2008 14:10:42 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhqN8-0006ib-GH for emacs-devel@gnu.org; Fri, 04 Apr 2008 14:10:42 -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 1JhqN8-0002WN-83 for emacs-pretest-bug@gnu.org; Fri, 04 Apr 2008 14:10:42 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JhqN4-0006i5-T1 for emacs-pretest-bug@gnu.org; Fri, 04 Apr 2008 14:10:42 -0400 Original-Received: from [66.155.124.107] (helo=smtp.janestcapital.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhqN4-0006hv-JX for emacs-pretest-bug@gnu.org; Fri, 04 Apr 2008 14:10:38 -0400 Original-Received: from [172.25.131.105] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id AF1D10CC; Fri, 04 Apr 2008 14:10:37 -0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) Original-Newsgroups: gmane.emacs.devel Original-Followup-To: gmane.emacs.pretest.bugs In-Reply-To: X-Enigmail-Version: 0.95.6 X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:94363 gmane.emacs.pretest.bugs:21871 Archived-At: -----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-----