From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Byte-compilation of custom themes Date: Fri, 11 May 2018 12:03:47 -0400 Message-ID: References: <87efmk2qk0.fsf@tcd.ie> <87vafjhu04.fsf@tcd.ie> <87po5po7ul.fsf@tcd.ie> <87o9hoxm0w.fsf@tcd.ie> <83fu2ynvda.fsf@gnu.org> <87zi169q9y.fsf@tcd.ie> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1526054533 7928 195.159.176.226 (11 May 2018 16:02:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 May 2018 16:02:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 11 18:02:08 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fHAUi-0001z0-9c for ged-emacs-devel@m.gmane.org; Fri, 11 May 2018 18:02:08 +0200 Original-Received: from localhost ([::1]:53669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHAWp-0005un-32 for ged-emacs-devel@m.gmane.org; Fri, 11 May 2018 12:04:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHAWO-0005bi-AQ for emacs-devel@gnu.org; Fri, 11 May 2018 12:03:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHAWK-0000gV-VK for emacs-devel@gnu.org; Fri, 11 May 2018 12:03:52 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:33392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHAWK-0000g5-Qh; Fri, 11 May 2018 12:03:48 -0400 Original-Received: from lechazo.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w4BG3lI5023505; Fri, 11 May 2018 12:03:47 -0400 Original-Received: by lechazo.home (Postfix, from userid 20848) id 60DF860359; Fri, 11 May 2018 12:03:47 -0400 (EDT) In-Reply-To: <87zi169q9y.fsf@tcd.ie> (Basil L. Contovounesios's message of "Fri, 11 May 2018 16:16:09 +0100") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6284=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6284> : inlines <6629> : streams <1786590> : uri <2640408> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225240 Archived-At: > Though I personally prefer to consistently #'-quote function symbols in > my own code, both for the extra byte-compiler check and narrower > in-buffer completion, I have no strong opinion here; I was simply making > the change in a sweeping fashion, in line with what I had perceived as a > welcome style. Out of curiosity, though, what makes key bindings > special w.r.t. quoting? [ I'm probably responsible in large part for the recent popularity of the #' notation, so I figured I should chime in: ] While I generally prefer to use #' where applicable, I have resisted the temptation to use it in keymaps because I have found it leads to "spurious" warnings more often than in other contexts (and the impact of an invalid binding is also less serious than a call to a non-existing function). Also, to me #'f means "the function bound to this symbol" whereas 'f means "the symbol f", and in key-bindings I really want to use "the symbol" rather than "the associated function" because `C-h m` gives poor results when keys are bound to lambda expressions. It's a rather "philosophical" argument, tho. Stefan