From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: How to quote a list of functions? Date: Sun, 09 Aug 2015 17:58:56 +0200 Message-ID: <87r3ncpi67.fsf@nl106-137-147.student.uu.se> References: <871tfdjqjx.fsf@mbork.pl> <877fp5b52v.fsf@nl106-137-147.student.uu.se> <8737zs7uq3.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439136094 14286 80.91.229.3 (9 Aug 2015 16:01:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Aug 2015 16:01:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 09 18:01:25 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZOT2K-0004kU-Kl for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Aug 2015 18:01:24 +0200 Original-Received: from localhost ([::1]:55621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOT2J-0005kQ-Vf for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Aug 2015 12:01:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOT1f-0005JR-3f for help-gnu-emacs@gnu.org; Sun, 09 Aug 2015 12:00:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOT1b-0000AW-Gd for help-gnu-emacs@gnu.org; Sun, 09 Aug 2015 12:00:42 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:51100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOT1b-0000AH-4W for help-gnu-emacs@gnu.org; Sun, 09 Aug 2015 12:00:39 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZOT1Z-000479-Ec for help-gnu-emacs@gnu.org; Sun, 09 Aug 2015 18:00:37 +0200 Original-Received: from nl106-137-246.student.uu.se ([130.243.137.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Aug 2015 18:00:37 +0200 Original-Received: from embe8573 by nl106-137-246.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Aug 2015 18:00:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-246.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:F04K456Vaqzt10S91Vq6q4NscjE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106404 Archived-At: Marcin Borkowski writes: >>> functions should be quoted with sharp-quote and not >>> just regular quote, i.e., #'my-function and not >>> 'my-function. >> >> Why? > > See other answers and/or the linked blog post. If you say something is absolutely so it is not too much asked if you yourself is able to explain why this is in a couple of sentences. Anyway, I just tried it in one case - as I have hundreds of 'functions none of which are #'sharp-quoted. It was - and now is, again - like this: (defun set-pane-scroll-keys (map) "Set MAP keys for vertical scrolling in panes." (define-key map "I" 'scroll-up-pane) (define-key map "K" 'scroll-down-pane) ) However, changing it to sharp quotes doesn't seem to be anything a sharp programmer would do, as it results in the following compile warning: In end of data: global-keys.el:170:1:Warning: the following functions are not known to be defined: scroll-up-pane, scroll-down-pane -- underground experts united http://user.it.uu.se/~embe8573