From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: introduction to lisp Date: Tue, 20 Jun 2017 12:29:24 +0000 Message-ID: References: <86vantbokk.fsf@zoho.com> <86tw3b9rvh.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1497961814 16976 195.159.176.226 (20 Jun 2017 12:30:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Jun 2017 12:30:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 20 14:30:10 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 1dNIIK-00045z-Nw for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jun 2017 14:30:08 +0200 Original-Received: from localhost ([::1]:48565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNIIQ-0007nk-1c for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jun 2017 08:30:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNIHq-0007nN-QO for help-gnu-emacs@gnu.org; Tue, 20 Jun 2017 08:29:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNIHp-0006Hj-Qk for help-gnu-emacs@gnu.org; Tue, 20 Jun 2017 08:29:38 -0400 Original-Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:34848) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNIHp-0006HX-Gr for help-gnu-emacs@gnu.org; Tue, 20 Jun 2017 08:29:37 -0400 Original-Received: by mail-lf0-x22f.google.com with SMTP id p189so72761862lfe.2 for ; Tue, 20 Jun 2017 05:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Zs60NnOWGWpYsVVbhqTBgjfQvwErV5sKWK4FRRwgtUI=; b=acxsHwSjq12Y6+jyEniG27YmcLPlj3VwE2RAmJZQoCxc7lfgQ+QQza0+VKLJ8bj2GO JCaRFF6s22Wn+PzP2VfLN1dyiRkLH75csje5MxtKcDGcbEyYIBwkEwoLUbgvRZYgL963 BrBe5XW647HxSHsTxsD3qU6JWiDnJObhmNZZnSXI7BXI7VBVuf5SArL4fsB5o90QysFB pE9bCnqAWn5oHG8vzk2Y05cTdtutPFqZvxEjDXJIqq0l4eQB+udT4oA8GEotcIRDeTAP w899/SkVw2WtwJ6H47BQZWOkCnMyczXbDHk5wS5c9C9I8YLTDyHuYMAZLviHQZ5AJ8jt I23g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Zs60NnOWGWpYsVVbhqTBgjfQvwErV5sKWK4FRRwgtUI=; b=hcBo9jXymNBjhxrDp7nBr/p6aLX+9rg2JVd22aqVXTrf5OebzinxD6Htqe4yLIkEGY Qp0o7lZjLDgFWr675q/noo806mOhC9axG97TYkknk3o2hPSQwd2EiWXxh0k6DUvdYpVv FfpXbahfm3JalSvYfmcaK+El5dsNckGtscNZUXfuVQnJ9fkTnVYtr8cK1cqxn/O4mdR6 S2zT19qeQiIVBcaGTP1JzHHxiHRc70iRP3vQDMGi0VUD3w0hTpl8gRwRyLaYQ3Egf8FK V3IhiKhvjS/rPezi7Ma3AoSJ90sWe7752zjFoKHD1JKlExkxyGHr4cwONDWCG2AUNPZq +BcQ== X-Gm-Message-State: AKS2vOzS4w7QvU2myQCx1oSdwKJc4dOnOy55cABCV80e4DU19/UdwV5T /jk/dL28zv0DwULkzQr8AQPoUvd9FA== X-Received: by 10.46.21.22 with SMTP id s22mr8993523ljd.121.1497961775369; Tue, 20 Jun 2017 05:29:35 -0700 (PDT) In-Reply-To: <86tw3b9rvh.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::22f X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:113537 Archived-At: On Tue, Jun 20, 2017 at 1:00 AM Emanuel Berg wrote: > But that evaluates to [f1], so then why not > > (global-set-key [f1] > (lambda () (interactive) (message "Formula 1")) ) > > ? > Not sure if that's a joke. Again, as I said, this approach is simply "what is see is what you type"; with just kbd wrapped around. If you see , the binding notation is (kbd ""), if you see C-c C-d, (kbd "C-c C-d"), if you see , (kbd ""), and so on. > Actually the only case I have against `kbd' is > that it is more bulky and longer to type... > The value is not having to think if certain chars need to be escaped or having to spend time doing one more eval to find the correct string. -- Kaushal Modi