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: Tue, 11 Aug 2015 01:16:23 -0500 Organization: A noiseless patient Spider Message-ID: References: <871tfdjqjx.fsf@mbork.pl> <877fp5b52v.fsf@nl106-137-147.student.uu.se> <8737zs7uq3.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1439274021 28400 80.91.229.3 (11 Aug 2015 06:20:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2015 06:20:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 11 08:20:21 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 1ZP2v6-0003Yg-SM for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Aug 2015 08:20:21 +0200 Original-Received: from localhost ([::1]:32974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZP2v6-0002jd-6M for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Aug 2015 02:20:20 -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: 34 Injection-Info: barmar.motzarella.org; posting-host="fe5f2cc61fef7c699db91cb9d217e15e"; logging-data="24542"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19h8wggrtC7HBe6Xo7GkXwP" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:s30NAC23yAUQVSp6B/sLMm3FTwE= Original-Xref: usenet.stanford.edu gnu.emacs.help:214173 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:106457 Archived-At: In article , Emanuel Berg wrote: > Barry Margolin writes: > > > You consider that a misfeature? Isn't it a feature > > that it warns you about possible typos in the > > function names? Why are you binding keys to > > nonexistent functions? > > They are existing when I use them because I have > hundreds of key bindings that work like that. So? The compiler runs when you byte-compile the file, there's no way it can know what the state will be when you run it. > The compiler has no issues either as it didn't produce > any warnings until I added the sharp quotes. Don't you > think the compiler should warn you when you do > something wrong, and encourage you when you do > something right - not the other way around? Yes, but there's a limit to its knowledge. When you use the sharp quotes, you're telling it that the symbol is being used as a function name, not just data. Given this context, it performs function-related checks. > Anyway I'll add sharp quotes and see how to please the > compiler - stay tuned... -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***