From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: How to quote a list of functions? Date: Sun, 16 Aug 2015 21:31:27 -0500 Organization: A noiseless patient Spider Message-ID: References: <871tfdjqjx.fsf@mbork.pl> <8737zs7uq3.fsf@mbork.pl> <87zj1vddkz.fsf@kuiper.lan.informatimago.com> <87mvxug2us.fsf@nl106-137-147.student.uu.se> <87vbch1gb0.fsf@nl106-137-147.student.uu.se> <87wpwudby7.fsf@nl106-137-147.student.uu.se> <87zj1qbwxs.fsf@kuiper.lan.informatimago.com> <87r3n2btjl.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1439778919 16136 80.91.229.3 (17 Aug 2015 02:35:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Aug 2015 02:35:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 17 04:35:19 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 1ZRAGa-00055H-2o for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Aug 2015 04:35:16 +0200 Original-Received: from localhost ([::1]:53965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRAGZ-0005GZ-8a for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2015 22:35:15 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Injection-Info: barmar.motzarella.org; posting-host="fe5f2cc61fef7c699db91cb9d217e15e"; logging-data="24862"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+N7miOEBPPnmxg5tfyYk26" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:FGPtN+SvsjWeXQwriRr29d28QPU= Original-Xref: usenet.stanford.edu gnu.emacs.help:214354 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:106638 Archived-At: In article , Emanuel Berg wrote: > "Pascal J. Bourguignon" > writes: > > > put doesn't take functions and neither does it take > > function designators. > > But it does accept functions, as that piece of code > shows, so the sharp quote syntax is even more No it doesn't. It looks like it does, but only because sharp-quote just returns the symbol in Emacs Lisp, not a function. The problem is that sharp-quote is just syntactic sugar in Elisp, it doesn't actually do anything different from quote. > confusing/tedious/error-prone as it separates > functions from symbols, only that shouldn't always be > done, as it depends on the function that gets the > symbols (or functions as symbols) as well! > > It is very much to think about compared to just > typing: > > ;; enable commands > (put 'upcase-region 'disabled nil) > (put 'downcase-region 'disabled nil) > (put 'erase-buffer 'disabled nil) > (put 'suspend-frame 'disabled t ) > > Here, everyone immediately understands that > `upcase-region' is a function and that isn't disabled > anymore. The special syntax for functions, which > shouldn't even be used, would, if used, not clarify > that one bit in my eyes/fingers. You don't disable functions, you disable *commands*, and commands are denoted using symbols. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***