From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Narendra Joshi Newsgroups: gmane.emacs.help Subject: Re: introduction to lisp Date: Sun, 25 Jun 2017 13:04:35 +0530 Message-ID: <87h8z4tt9w.fsf@vicarie> References: <86vantbokk.fsf@zoho.com> <86tw3b9rvh.fsf@zoho.com> <20170620084255.GA13647@tuxteam.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1498376092 26327 195.159.176.226 (25 Jun 2017 07:34:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2017 07:34:52 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 25 09:34:47 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dP24D-0006JF-3Z for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jun 2017 09:34:45 +0200 Original-Received: from localhost ([::1]:41534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP24D-0002v4-GC for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jun 2017 03:34:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP23c-0002un-Ov for help-gnu-emacs@gnu.org; Sun, 25 Jun 2017 03:34:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dP23X-0001cv-SN for help-gnu-emacs@gnu.org; Sun, 25 Jun 2017 03:34:08 -0400 Original-Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:34679) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dP23X-0001cU-MC for help-gnu-emacs@gnu.org; Sun, 25 Jun 2017 03:34:03 -0400 Original-Received: by mail-pg0-x241.google.com with SMTP id j186so11480832pge.1 for ; Sun, 25 Jun 2017 00:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=WdULwBH3Ecs2BmkecZglGWo0/zVamfHwF9/au+NbsHo=; b=bX4hKJoTN/vXMPYdAFDU81ER2JQ+9CXbQ3N1srzg3XNqXHbOseA70P94HRewGyuyG6 B7Z7A0RhBASQ1oVpW2EDT0WV9JeNPCd28chAcM1xKf2gsrfW8XlTiq+TalDal1skJ+Q8 YafF10AsL/KzKBSdpbR7qe4l2tqEGPEjuenJ0PU2lJVgJc7nGooUekrW9/oUbYIRgEkO 7qbAVh/0r6SSKkFezd6V9qH8JRuj2PO1gINnb/Lq2saAeOCOwyBCssA1Vdu/k01PCe09 yh4jDMHQOaxH+RTvHFQTNY9fbYj8tGJ/lZUZBz+K1hKRi1GmPCrJqxWMd7/MKlUTY0j3 80Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=WdULwBH3Ecs2BmkecZglGWo0/zVamfHwF9/au+NbsHo=; b=QTJXjEzOLf+dAjzrtqlDr/201ALmJQU2Ympq6TEtpOE8D5BNZ2edombJDWry5KXQCQ 9GhuAQW+VJOMVvvSMzFncnRWhFbAX9rFY7/uaYrrtmDqmxkKJvSXZvRaXsz8SPss7WKh q5CfcX8LpLTMKkdpkq+6UlCBTXlhi+vguup4tus/NwYUj8zWpwtb6pKred97VVh5cyVh JsVEWsyBxoOHRNsPV2qDZeutQ//8fx4VjocxSqoP4E4uAYP5sk2HSlbQlsFTPrqZqYKy +xUWCRCPZoUFRw0iKpHelSy0RlOxwhLCPgd6qSCk7JP5qDv43UpQnE7IExVuHQizgfuW twwQ== X-Gm-Message-State: AKS2vOzhua46RZKy1Wf2PUCF6VV0phP0SDl5hyhz9GtDLzQgEgMh8ZHc nWOQjd7b4EqbBK68 X-Received: by 10.84.236.14 with SMTP id q14mr17411600plk.254.1498376042553; Sun, 25 Jun 2017 00:34:02 -0700 (PDT) Original-Received: from vicarie ([182.70.0.144]) by smtp.gmail.com with ESMTPSA id 84sm19714638pfq.125.2017.06.25.00.34.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Jun 2017 00:34:01 -0700 (PDT) In-Reply-To: <20170620084255.GA13647@tuxteam.de> (tomas's message of "Tue, 20 Jun 2017 10:42:55 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::241 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113564 Archived-At: writes: > On Tue, Jun 20, 2017 at 06:59:14AM +0200, Emanuel Berg wrote: >> Kaushal Modi wrote: >>=20 >> > Example: - How do I bind F1? - Do C-h k F1.. >> > Realize that emacs shows that as - >> > Simply wrap that with (kbd "...") and you >> > have (kbd "") - Put that in the >> > global-set-key or define-key form. >>=20 >> But that evaluates to [f1], so then why not >>=20 >> (global-set-key [f1] >> (lambda () (interactive) (message "Formula 1")) ) > > But that evaluates to > > (global-set-key [f1] #[nil "=C3=80=C3=81!=C2=87" [message "Formula 1"] = 2 nil nil]) > > (I just asked byte-compile to tell me that). So why not write that > right away? > > Of course, that was a bit tongue-in-cheek ;-P > > What I mean: sometimes it makes sense to let people go the > extra ten meters to meet the computer (mainly because there's > an interesting spot to meet [1]), sometimes it makes sense What do you use for footnotes? [An unrelated question] > to let the computer do the walk, perhaps because the spot to > meet is pretty boring (personally, I find conventions to name > keys pretty boring, to be honest). > > Which is which depends, of course, on Things :) > > [1] as is the case with lambda calculus and The Lisps. > Giving up on traditional infix arithmetic may feel > awkward at first, but tends to bring some kind of > Enlightenment upon (some of) us. Then we get high > and all worked up and try to convince others and > they look at us with those strange looks ;-D > > Cheers > -- tom=C3=A1s > --=20 Narendra Joshi