From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: john@ankarstrom.se (John =?utf-8?Q?Ankarstr=C3=B6m?=) Newsgroups: gmane.emacs.help Subject: Re: introduction to lisp Date: Tue, 20 Jun 2017 07:10:54 +0700 Message-ID: References: <86vantbokk.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497917614 22724 195.159.176.226 (20 Jun 2017 00:13:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Jun 2017 00:13:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin) 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 02:13:29 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 1dN6nQ-0005Xi-7L for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jun 2017 02:13:28 +0200 Original-Received: from localhost ([::1]:44902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN6nT-0002rA-Mu for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jun 2017 20:13:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN6lI-0001hD-9Y for help-gnu-emacs@gnu.org; Mon, 19 Jun 2017 20:11:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dN6lD-0004kY-DH for help-gnu-emacs@gnu.org; Mon, 19 Jun 2017 20:11:16 -0400 Original-Received: from pusjkin.ankarstrom.se ([172.104.152.215]:42882) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dN6lD-0004jW-4c for help-gnu-emacs@gnu.org; Mon, 19 Jun 2017 20:11:11 -0400 Original-Received: from sissels-mbp.dfresh (unknown [180.248.29.11]) by pusjkin.ankarstrom.se (Postfix) with ESMTPSA id DA7943EEDD for ; Tue, 20 Jun 2017 02:11:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ankarstrom.se; s=default; t=1497917467; bh=kPiWTICL6okRZrHCbFOt5A74YBUZrXnUAuBIFaocmcw=; h=From:To:Subject:References:Date:In-Reply-To:From; b=kyf7O5Hedpw9tAmhJcc5lcHB5s0lX9hghaTLgIcOUtsI86R0i2UXeyWAW8Lhq5xug 4SKlbxyA7HI4Gz991sAZ31mglVvn5I0yoJdPFVETkgqagMlJ9sasOVDx0W6m6mE6xP pPQT3ryR7Dc2G2ELB1UEzLpLdFUxeSXFjHYBkNJU= In-Reply-To: <86vantbokk.fsf@zoho.com> (Emanuel Berg's message of "Sun, 18 Jun 2017 12:03:07 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 172.104.152.215 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:113528 Archived-At: Emanuel Berg writes: > Also I would write > > (global-set-key (kbd "C-c C-d") 'buster-disable-test) > > like this: > > (global-set-key "\C-c\C-d" #'buster-disable-test) I'm 100% with you on everything else you said, but I personally prefer the `kbd' notation. It's clearer and easier to understand, because it's consistent with how Emacs itself displays key bindings for the user (through `describe-key'). I do agree that #' is better than ' for functions :-) - John