From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: problem understanding font-lock-defaults structure Date: Wed, 08 Oct 2008 20:25:54 -0600 Message-ID: References: <13173afe-f51c-4c67-b738-1949f2b28b5f@f40g2000pri.googlegroups.com> <48ED5632.9050102@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1223519180 12710 80.91.229.12 (9 Oct 2008 02:26:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 02:26:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 04:27:17 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnlF8-00045e-JX for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 04:27:10 +0200 Original-Received: from localhost ([127.0.0.1]:40531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnlE4-0005b0-1n for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 22:26:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnlDl-0005av-JX for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 22:25:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnlDj-0005ag-83 for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 22:25:44 -0400 Original-Received: from [199.232.76.173] (port=47478 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnlDj-0005ad-1W for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 22:25:43 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:48432 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnlDj-0006WQ-HY for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 22:25:43 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KnlDa-0001jj-Fc for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 02:25:34 +0000 Original-Received: from c-67-161-145-183.hsd1.co.comcast.net ([67.161.145.183]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 02:25:34 +0000 Original-Received: from kevin.d.rodgers by c-67-161-145-183.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 02:25:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-161-145-183.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) In-Reply-To: <48ED5632.9050102@gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58593 Archived-At: Lennart Borgman (gmail) wrote: > Xah wrote: ... >> (setq myKeywordsLevel1 >> (quote >> ("Sin\\|Cos" . font-lock-function-name-face) >> ("π\\|∞" . font-lock-constant-face) >> ("x\\|y" . font-lock-variable-name-face) >> ) >> ) > > Could it be that the `quote' just takes one argument? Indeed. Is it a bug that quote does not signal "Wrong number of arguments"? I know that special forms do not necessarily evaluate their arguments, but neither do macros and eval/apply manages to make sure that the number of supplied arguments conforms to a macro's argument list. -- Kevin Rodgers Denver, Colorado, USA