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: un-deprecating CL Date: Sun, 16 Sep 2007 23:58:52 -0400 Message-ID: References: <864phxjj03.fsf@macs.hw.ac.uk> <87hclx834d.fsf@red-bean.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1190001594 9773 80.91.229.12 (17 Sep 2007 03:59:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 03:59:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: David O'Toole Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 17 05:59:53 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 1IX7m4-0007Yy-F0 for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 05:59:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IX7m3-0005VW-D6 for ged-emacs-devel@m.gmane.org; Sun, 16 Sep 2007 23:59:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IX7ld-0005KW-58 for emacs-devel@gnu.org; Sun, 16 Sep 2007 23:59:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IX7lc-0005KF-Ki for emacs-devel@gnu.org; Sun, 16 Sep 2007 23:59:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IX7lc-0005KC-HM for emacs-devel@gnu.org; Sun, 16 Sep 2007 23:59:24 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IX7lb-00026Y-Jz for emacs-devel@gnu.org; Sun, 16 Sep 2007 23:59:23 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IX7l6-0007k5-DB; Sun, 16 Sep 2007 23:58:52 -0400 In-reply-to: (message from David O'Toole on Sun, 16 Sep 2007 17:56:53 -0400) 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:79073 Archived-At: > One possible alternative is to define these functions with a cl- > prefix, and for callers to use that prefix. That gets rid of the > namespace issue. And if we think of them as internal parts of > some Lisp package, they would not have to be in the Lisp Manual. Would it be possible to use compiler macros so that existing programs could continue to use these functions' un-prefixed names at compile time? That would be possible, but it seems like a bad idea -- it would confuse people reading the program. Writing the calls with `cl-' would be a clearer practice. That would be helpful but it would still prevent many programs from being contributed. "Prevent" is too strong a word. These programs would need some change in order to be installed in Emacs. Adding `cl-' in front of certain function names is a pretty easy change to make; we could add a command like query-replace to do it semiautomatically.