From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alin Soare Newsgroups: gmane.emacs.devel Subject: Re: Fwd: Tabs for console. Date: Fri, 10 Dec 2010 23:09:52 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016364267df838117049714c6a8 X-Trace: dough.gmane.org 1292015412 16999 80.91.229.12 (10 Dec 2010 21:10:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 21:10:12 +0000 (UTC) Cc: Emacs Dev To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 10 22:10:05 2010 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.69) (envelope-from ) id 1PRAE8-00043f-Ju for ged-emacs-devel@m.gmane.org; Fri, 10 Dec 2010 22:10:04 +0100 Original-Received: from localhost ([127.0.0.1]:35683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRAE7-0000P6-UD for ged-emacs-devel@m.gmane.org; Fri, 10 Dec 2010 16:10:03 -0500 Original-Received: from [140.186.70.92] (port=42925 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRADz-0000O4-Fw for emacs-devel@gnu.org; Fri, 10 Dec 2010 16:09:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRADy-0006RM-Gd for emacs-devel@gnu.org; Fri, 10 Dec 2010 16:09:55 -0500 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:60140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRADy-0006Nt-CI for emacs-devel@gnu.org; Fri, 10 Dec 2010 16:09:54 -0500 Original-Received: by wwb17 with SMTP id 17so4117558wwb.30 for ; Fri, 10 Dec 2010 13:09:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=CoBi1qRBkHHQbhOQ5iN1f0a1scg+q1/WBzh/rSTy8RU=; b=ewJZ2oEmJVoy19p+bP1aEcgKzzmUAMyqd5TT17Rr4/in08cLeRifZ6FJg8aYkV3NsU w15u4pS3dwECWUvr3/cSLMKScpNHAwldgYsMcdDMtU+k7QYSW26uObql9fv/3WDSnE83 0o146GnESAdhpcHqA1B0FyCUBGeSjsRMVqHqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HMvbfb4QAFcxlOcVdJB6B2++zKXcrVuUoiLCYTbddvn3dG/b3RqvXZ4yzbj+eLvPFv R8Q2zFd4lQxDN44EtvmHzy9Z/BCAUOaVh0bS3lR9+q2HEnYoeVg8cETGLYJMOK8CoSfI Nr5lNeCDVP8jhBnsWdkk0s2z+x80kcQTnhpls= Original-Received: by 10.216.162.198 with SMTP id y48mr108681wek.63.1292015392489; Fri, 10 Dec 2010 13:09:52 -0800 (PST) Original-Received: by 10.227.38.162 with HTTP; Fri, 10 Dec 2010 13:09:52 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:133589 Archived-At: --0016364267df838117049714c6a8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > > The :data solution still allows that: the data can be a defstruct > (hence named slots), a has-table, or an obarray if you so wish. > I do not like to insert in elisp clisp stuff. That is why I did not want to think in clisp . I prefer all the time the style of Ben Bitdiddle. If, in my loss of knowledge , emacs can make lexical scope, how do you re-write this chunk of Scheme code in elisp ? (define (create-tab x) (lambda (m) (cond ((equal? m ':init) (display (string-append x ":init") ) ) ((equal? m ':activate) (display (string-append x ":activate") ) ) ) ) ) (define tab (create-tab "tab1")) (tab ':init) (tab ':activate) Alin ---- Wenn ich 'Kultur' h=C3=B6re, nehme ich meine Pistole. --0016364267df838117049714c6a8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

The :data solution still allows that: the data can be a defstruct
(hence named slots), a has-table, or an obarray if you so wish.

I do not like to insert in elisp clisp stuff. That is why I d= id not want to think in clisp .

I prefer all the time the style of B= en Bitdiddle.

If, in my loss of knowledge , emacs can make lexical scope, how do you = re-write this chunk of Scheme code in elisp ?



(define (creat= e-tab x)
=C2=A0 (lambda (m)
=C2=A0=C2=A0=C2=A0 (cond ((equal? m '= :init)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 (display (string-append x ":= init") ) )
=C2=A0=C2=A0=C2=A0 =C2=A0 ((equal? m ':activate)
=C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0 (display (string-append x ":activate") ) ) ) ) )
=
(define tab (create-tab "tab1"))

(tab ':init)
<= br>(tab ':activate)



Alin

----

Wenn ich 'Kultur' h=C3=B6re, nehme ich meine Pistol= e.




--0016364267df838117049714c6a8--