From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: C K Kashyap Newsgroups: gmane.emacs.help Subject: Re: emacs lisp - unable to write a function maker Date: Fri, 16 Sep 2011 14:56:38 +0530 Message-ID: References: <87pqj0q2wo.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba6e8e5821039304ad0b97cb X-Trace: dough.gmane.org 1316165211 19073 80.91.229.12 (16 Sep 2011 09:26:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Sep 2011 09:26:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thien-Thi Nguyen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 16 11:26:47 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R4Uh4-0004c2-LA for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Sep 2011 11:26:46 +0200 Original-Received: from localhost ([::1]:59639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4Uh4-0000qj-6X for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Sep 2011 05:26:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4Uh0-0000qA-7f for help-gnu-emacs@gnu.org; Fri, 16 Sep 2011 05:26:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4Ugx-00023y-RY for help-gnu-emacs@gnu.org; Fri, 16 Sep 2011 05:26:42 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:43062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4Ugx-00023Q-Gj for help-gnu-emacs@gnu.org; Fri, 16 Sep 2011 05:26:39 -0400 Original-Received: by iaen33 with SMTP id n33so2998773iae.0 for ; Fri, 16 Sep 2011 02:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8p9pduCWYkUcva4AOQWvQxqRypXGs9wmx4RsB4zdmpQ=; b=u0pa/40cG1LC3eRJCJDMmFTnFJsmQlg+DEbuXd+1wzKYQa//D9soiUvQ+Johh7kV3y nPy8oQ6tsfUhFPk91zQT/2pimHuEIaAoYl9sX1sYq/TeRHoZc39DDzdFwa+Fsh3Zak4d mkMflkCs1FTu+muZUKN7AIkCToxo8LZGkLnw4= Original-Received: by 10.42.161.3 with SMTP id r3mr1698874icx.186.1316165198611; Fri, 16 Sep 2011 02:26:38 -0700 (PDT) Original-Received: by 10.42.176.72 with HTTP; Fri, 16 Sep 2011 02:26:38 -0700 (PDT) In-Reply-To: <87pqj0q2wo.fsf@ambire.localdomain> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82246 Archived-At: --90e6ba6e8e5821039304ad0b97cb Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Fri, Sep 16, 2011 at 2:28 PM, Thien-Thi Nguyen wrote: > () C K Kashyap > () Fri, 16 Sep 2011 14:16:04 +0530 > > Could someone please let me know how I can achieve this? > > Don't be so hasty; pass =91eval=92 something that is not yet =91eval=92ed= . > Actually, I used eval because I noticed that if I did not, the formal parameter "name" becomes the defined function. --90e6ba6e8e5821039304ad0b97cb Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

On Fri, Sep 16, 2011 at 2:28 PM, Thien-T= hi Nguyen <ttn@gnuv= ola.org> wrote:
() C K Kashyap <ckkashyap@gmail.c= om>
() Fri, 16 Sep 2011 14:16:04 +0530

=A0 Could someone please let me know how I can achieve this?

Don't be so hasty; pass =91eval=92 something that is not yet =91e= val=92ed.

Actually, I used eval because I noticed that if= I did not, the formal parameter "name" becomes the defined funct= ion.
--90e6ba6e8e5821039304ad0b97cb--