From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] New convenience macros Date: Mon, 20 Aug 2007 14:30:54 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1187634546 27219 80.91.229.12 (20 Aug 2007 18:29:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2007 18:29:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Steve Youngs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 20 20:29:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INBzo-0002v0-FI for ged-emacs-devel@m.gmane.org; Mon, 20 Aug 2007 20:29:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INBzc-0001lD-9u for ged-emacs-devel@m.gmane.org; Mon, 20 Aug 2007 14:28:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INBxn-0000oS-Il for emacs-devel@gnu.org; Mon, 20 Aug 2007 14:26:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INBxl-0000mt-DU for emacs-devel@gnu.org; Mon, 20 Aug 2007 14:26:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INBxk-0000mY-PV for emacs-devel@gnu.org; Mon, 20 Aug 2007 14:26:52 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1INBxk-0004VZ-QI for emacs-devel@gnu.org; Mon, 20 Aug 2007 14:26:52 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1INC1e-0000oV-1r; Mon, 20 Aug 2007 14:30:54 -0400 In-reply-to: (message from Steve Youngs on Mon, 20 Aug 2007 12:06:03 +1000) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76849 Archived-At: How about.. `do-in-emacs', `do-in-xemacs', `do-in-sxemacs', and `with-emacs-type', and change the symbol in `with-emacs-type' from `gnu' to `emacs'. Would that be better? Those names are ok. We could install them with those names. However, Stefan wrote: The advantage over a macro is that the elisp code will work regardless of whether this optimization is implemented (it only affects byte-compiler warnings anyway), so it's trivially backward&forward compatible. This is a good argument for _using_ featurep rather than the macros. That doesn't mean we can't also install the macros. But maybe you will agree it is better to use featurep.