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: Fri, 14 Aug 2015 01:55:55 +0200 Message-ID: <87mvxug2us.fsf@nl106-137-147.student.uu.se> References: <871tfdjqjx.fsf@mbork.pl> <877fp5b52v.fsf@nl106-137-147.student.uu.se> <8737zs7uq3.fsf@mbork.pl> <87zj1vddkz.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439510284 2193 80.91.229.3 (13 Aug 2015 23:58:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2015 23:58:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 14 01:57:55 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 1ZQ2Nf-0001UD-Mn for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 01:57:55 +0200 Original-Received: from localhost ([::1]:44464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ2Nf-0001vm-61 for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Aug 2015 19:57:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ2NT-0001sy-Fq for help-gnu-emacs@gnu.org; Thu, 13 Aug 2015 19:57:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQ2NP-0002eH-R5 for help-gnu-emacs@gnu.org; Thu, 13 Aug 2015 19:57:43 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ2NP-0002e9-KH for help-gnu-emacs@gnu.org; Thu, 13 Aug 2015 19:57:39 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZQ2NO-0001EX-12 for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 01:57:38 +0200 Original-Received: from nl106-137-171.student.uu.se ([130.243.137.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Aug 2015 01:57:38 +0200 Original-Received: from embe8573 by nl106-137-171.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Aug 2015 01:57:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-171.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:/4w3D0dqrCjlDAA/kY9YR3hNqxg= 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:106562 Archived-At: "Pascal J. Bourguignon" writes: > Definitely not. > > The notion of type should still exist in the mind of > the programmer, if not in the compiler! > > The first parameter of put is of type symbol > (function x) returns an object of type function. > While it's true that in emacs lisp, symbol is > a subtype of function, the reverse is not true. > Some functions are not symbols. Therefore, the > Lyskoff Substitution Principle tells us that > > (put #'upcase-region 'disabled nil) > > is a gross error. It should be: > > (put 'upcase-region 'disabled nil) I'm not going to use this at all. I don't see the benefit of it because if I misspell a function, I will realize that immediately as the keystroke or otherwise invocation won't work. Besides I don't want to stop and think if I should but the sharp sign there or not. I never did and it always worked. Part of the pleasure with Lisp is not thinking like a computer, but like a man, and this poor man's typing is a step away from that while not offering any benefits what I can see. The OP presented it as something you should definitely do but the subsequent discussion hasn't showed that by far, and even he himself couldn't say why you should bother. -- underground experts united http://user.it.uu.se/~embe8573