From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Eglen Newsgroups: gmane.emacs.devel Subject: Any chance of a `flatten-list' to merge 4 current versions? Date: Fri, 2 Jul 2004 12:12:52 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <16613.17204.80743.770959@bushmills.inf.ed.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1088766803 20245 80.91.224.253 (2 Jul 2004 11:13:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2004 11:13:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jul 02 13:13:18 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BgLyo-0001r4-00 for ; Fri, 02 Jul 2004 13:13:18 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BgLyo-0004us-00 for ; Fri, 02 Jul 2004 13:13:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgM0c-0002ax-AB for emacs-devel@quimby.gnus.org; Fri, 02 Jul 2004 07:15:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BgM0N-0002a3-U8 for emacs-devel@gnu.org; Fri, 02 Jul 2004 07:14:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BgM0N-0002Zi-5q for emacs-devel@gnu.org; Fri, 02 Jul 2004 07:14:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgM0M-0002Zd-W9 for emacs-devel@gnu.org; Fri, 02 Jul 2004 07:14:55 -0400 Original-Received: from [129.215.32.40] (helo=topper.inf.ed.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgLyP-00042V-HJ for emacs-devel@gnu.org; Fri, 02 Jul 2004 07:12:54 -0400 Original-Received: from bushmills.inf.ed.ac.uk (bushmills.inf.ed.ac.uk [129.215.29.144]) by topper.inf.ed.ac.uk (8.11.6/8.11.6) with ESMTP id i62BCqi02293 for ; Fri, 2 Jul 2004 12:12:52 +0100 Original-Received: from bushmills.inf.ed.ac.uk (localhost [127.0.0.1]) by bushmills.inf.ed.ac.uk (8.12.8/8.12.8) with ESMTP id i62BCqZ6009224 for ; Fri, 2 Jul 2004 12:12:52 +0100 Original-Received: (from stephen@localhost) by bushmills.inf.ed.ac.uk (8.12.8/8.12.8/Submit) id i62BCqmL009220; Fri, 2 Jul 2004 12:12:52 +0100 Original-To: emacs-devel@gnu.org X-Mailer: VM 7.17 under Emacs 21.3.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25392 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25392 Hello, --text follows this line-- I'm writing some lisp for another package (ESS) not included in Emacs. I would like to use a `flatten-list' defun, but was surprised to see this is not included in elisp. However, a quick grep of the lisp directory showed: % grep -r 'defun .*flatten-list' . ./gnus/message.el:(defun message-flatten-list (list) ./lpr.el:(defun lpr-flatten-list (&rest list) ./lpr.el:(defun lpr-flatten-list-1 (list) ./ps-print.el:(defun ps-flatten-list (&rest list) ./ps-print.el:(defun ps-flatten-list-1 (list) ./eshell/esh-util.el:(defun eshell-flatten-list (args) i.e. four different packages, all quite widely used, have their own version. Would it be worth providing just one common version called `flatten-list'? Thanks, Stephen