From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Goel Newsgroups: gmane.emacs.devel Subject: Re: Accepting and returning multiple values in 'cl Date: Fri, 13 Mar 2009 15:05:46 -0400 Message-ID: <877i2t6y5x.fsf@marie.gnufans.net> References: <87prgnquvh.fsf@marie.gnufans.net> <87wsauiu8f.fsf@marie.gnufans.net> <87bps6ip3n.fsf@marie.gnufans.net> <87mybq8qew.fsf@marie.gnufans.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236971282 24096 80.91.229.12 (13 Mar 2009 19:08:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2009 19:08:02 +0000 (UTC) Cc: Dave Goel , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 13 20:09:18 2009 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 1LiCjn-0004Ww-Fx for ged-emacs-devel@m.gmane.org; Fri, 13 Mar 2009 20:08:08 +0100 Original-Received: from localhost ([127.0.0.1]:38195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiCiR-00025N-KK for ged-emacs-devel@m.gmane.org; Fri, 13 Mar 2009 15:06:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiCiN-00024N-4d for emacs-devel@gnu.org; Fri, 13 Mar 2009 15:06:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiCiI-0001vA-Dw for emacs-devel@gnu.org; Fri, 13 Mar 2009 15:06:38 -0400 Original-Received: from [199.232.76.173] (port=45855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiCiI-0001ur-91 for emacs-devel@gnu.org; Fri, 13 Mar 2009 15:06:34 -0400 Original-Received: from mta21.charter.net ([216.33.127.81]:39738) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiCiH-00031D-Ou for emacs-devel@gnu.org; Fri, 13 Mar 2009 15:06:33 -0400 Original-Received: from imp10 ([10.20.200.10]) by mta21.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090313190546.QOWL3344.mta21.charter.net@imp10>; Fri, 13 Mar 2009 15:05:46 -0400 Original-Received: from marie.gnufans.net ([24.197.155.76]) by imp10 with charter.net id Sj5m1b00W1fAMNY05j5mdY; Fri, 13 Mar 2009 15:05:46 -0400 Original-Received: from deego by marie.gnufans.net with local (Exim 3.36 #1 (Debian)) id 1LiChW-0001QF-00; Fri, 13 Mar 2009 15:05:46 -0400 X-Face: #5@=vrmx5t3mZaPY8(mR.n+V#:%4NW7j5A&^}@lGp2rK; CQ4%iH1v'gh/^A)w5*6c&R2(P' 4+seYDq8OK'LPI/C(C^A*w|f*t+8, 'T8b#_0~h3!A7GoVroE[cr0Fb'A0%SdU|Lk@gBV&1vA In-Reply-To: (Stefan Monnier's message of "Thu, 12 Mar 2009 17:03:44 -0400") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:109606 Archived-At: Stefan Monnier writes: >> Do you mind if I fix these bugs with cl-compat.el and reimplement its >> m-v functions? > > Of course, not (tho, since we're in pretest, we won't be able to > install such changes immediately). > I wanted to make my cl-multiple.el not overwrite emacs' default bindings - I believe that merely loading a library should not change the way a user's emacs functions.. So I capitalized everything, just as cl-compat does. ..with the end result being that it is a replacement for cl-compat. Its docs provide an easy way to get rid of the (rare) m-v gotchas. "the TWO RULES to make m-v work correctly". It has better error checking, warning, etc. For example, M-x Cl-internal-test-08-gotchas-warn, and its corrected version 8b. See also the function cl-multiple-install, and the 25 tests at the end. http://www.gnufans.net/~deego/emacspub/lisp-mine/cl-multiple/dev/cl-multiple.el