From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Old-style backquotes in cc-vars.el Date: Thu, 11 Oct 2007 10:41:11 -0700 (PDT) Message-ID: <59233.128.165.123.18.1192124471.squirrel@webmail.lanl.gov> References: <20071006163101.GA2565@muc.de> <87y7egjdr6.fsf@ambire.localdomain> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1192124515 23231 80.91.229.12 (11 Oct 2007 17:41:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2007 17:41:55 +0000 (UTC) Cc: Martin Stjernholm , Peter Dyballa , emacs-devel@gnu.org, bug-cc-mode@gnu.org, Stefan Monnier , Alan Mackenzie To: "Thien-Thi Nguyen" Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Thu Oct 11 19:41:52 2007 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ig22V-0007Tf-QY for sf-cc-mode-help@m.gmane.org; Thu, 11 Oct 2007 19:41:40 +0200 Original-Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 84E7212D81; Thu, 11 Oct 2007 10:41:33 -0700 (PDT) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1Ig22M-0005xU-IZ for cc-mode-help@lists.sourceforge.net; Thu, 11 Oct 2007 10:41:31 -0700 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Ig22K-0001sj-Oa for cc-mode-help@lists.sourceforge.net; Thu, 11 Oct 2007 10:41:30 -0700 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ig22I-0000xF-Dr for bug-cc-mode@gnu.org; Thu, 11 Oct 2007 13:41:26 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ig22D-0004jd-8n for bug-cc-mode@gnu.org; Thu, 11 Oct 2007 13:41:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.1.0 Original-Received: from mailwasher.lanl.gov ([204.121.3.2]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ig22C-0004it-Rb; Thu, 11 Oct 2007 13:41:21 -0400 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9BHfGUR000743; Thu, 11 Oct 2007 11:41:16 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay1.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9BHfCMS016403; Thu, 11 Oct 2007 11:41:12 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l9BHfCYF026130; Thu, 11 Oct 2007 11:41:12 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l9BHfBMS026127; Thu, 11 Oct 2007 10:41:11 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Thu, 11 Oct 2007 10:41:11 -0700 (PDT) In-Reply-To: <87y7egjdr6.fsf@ambire.localdomain> User-Agent: SquirrelMail/1.4.8-6.el3.2lanl X-Priority: 3 (Normal) Importance: Normal X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: herring@lanl.gov X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: cc-mode-help-bounces@lists.sourceforge.net Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:4797 gmane.emacs.devel:80639 Archived-At: > (defmacro defcustom-c-stylevar (name val doc &rest args) > "Defines a style variable." > (let* ((val (eval val)) > (type (eval (list 'identity (plist-get args :type)))) > (head (car type)) > (tail (cdr type)) > (newt (append (unless (plist-get tail :tag) > '(:tag "Override style settings")) > (unless (plist-get tail :value) > `(:value ,val)) > tail))) Are we sure that it's okay to do all these evaluations at macro expansion time -- that is, do any of them depend on runtime things? And what is (eval (list 'identity foo))) supposed to do differently than (eval foo)? Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/