From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Emacs Lisp's future Date: Thu, 18 Sep 2014 15:23:38 -0400 Message-ID: References: <87wq97i78i.fsf@earlgrey.lan> <87sijqxzr2.fsf@newcastle.ac.uk> <877g11c8wh.fsf@gmx.us> <87wq91uhe8.fsf@newcastle.ac.uk> <8738bpc6qv.fsf@gmx.us> <87oaucvrlp.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411068265 11432 80.91.229.3 (18 Sep 2014 19:24:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2014 19:24:25 +0000 (UTC) Cc: Rasmus , emacs-devel@gnu.org To: phillip.lord@newcastle.ac.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 18 21:24:18 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XUhJP-0003B2-KQ for ged-emacs-devel@m.gmane.org; Thu, 18 Sep 2014 21:24:15 +0200 Original-Received: from localhost ([::1]:53127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUhJP-0006FO-0D for ged-emacs-devel@m.gmane.org; Thu, 18 Sep 2014 15:24:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUhJ6-0006F5-5w for emacs-devel@gnu.org; Thu, 18 Sep 2014 15:24:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUhIy-0005o8-NI for emacs-devel@gnu.org; Thu, 18 Sep 2014 15:23:56 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:57624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUhIy-0005nM-Ii for emacs-devel@gnu.org; Thu, 18 Sep 2014 15:23:48 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s8IJNafm006907; Thu, 18 Sep 2014 15:23:37 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 3291FAE0D2; Thu, 18 Sep 2014 15:23:38 -0400 (EDT) In-Reply-To: <87oaucvrlp.fsf@newcastle.ac.uk> (Phillip Lord's message of "Thu, 18 Sep 2014 17:08:34 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5068=0 X-NAI-Spam-Version: 2.3.0.9378 : core <5068> : inlines <1316> : streams <1293337> : uri <1815528> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174517 Archived-At: > (defun m-buffer-nil-marker (markers) > (-map > (lambda (marker) > (set-marker marker nil)) > (-flatten markers))) I must say I dislike flatten. Here for example, it just creates a list to iterate over some elements. > (--tree-map > (set-marker it nil) > markers) That's much better, for instance. Stefan