From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Gnu Elpa: stream.el: Add some more basic stream operations Date: Sun, 25 Sep 2016 13:49:07 -0700 Message-ID: References: <87twhbmwbx.fsf@web.de> <878tynl720.fsf@petton.fr> <8737onlapw.fsf@web.de> <87ziqu7ew9.fsf@petton.fr> <87mvmuxuyo.fsf@web.de> <8760tixi99.fsf@web.de> <87twh1kpem.fsf@web.de> <87y42r4d3a.fsf@web.de> <878tug9eh3.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474836604 11690 195.159.176.226 (25 Sep 2016 20:50:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Sep 2016 20:50:04 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1 (darwin) Cc: Nicolas Petton , Emacs developers , Yuri Khan To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 25 22:50:00 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boGN4-0002Jo-SK for ged-emacs-devel@m.gmane.org; Sun, 25 Sep 2016 22:49:58 +0200 Original-Received: from localhost ([::1]:40361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boGN3-0007Ti-EC for ged-emacs-devel@m.gmane.org; Sun, 25 Sep 2016 16:49:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boGMx-0007RX-Mh for emacs-devel@gnu.org; Sun, 25 Sep 2016 16:49:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boGMu-0004Gs-Ff for emacs-devel@gnu.org; Sun, 25 Sep 2016 16:49:51 -0400 Original-Received: from mail-oi0-x233.google.com ([2607:f8b0:4003:c06::233]:35423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boGMu-0004Gb-Bc for emacs-devel@gnu.org; Sun, 25 Sep 2016 16:49:48 -0400 Original-Received: by mail-oi0-x233.google.com with SMTP id w11so187604784oia.2 for ; Sun, 25 Sep 2016 13:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=oaPC9OQ/VEIuMxA03EE3fQQCYuiwolEF+rrk5yj61ts=; b=uot0z1fwAMm2iK04nf/UUXggmbTkmP3ugcTOuOVYm6wNE/I2NzgXi71VoPJYS9EuDb Xmjs99iaDcP1oXXh3Yz2Keoc7kWy76KA4R2VHwsXR0aX7K2fRGhoW+QxzTQtM3sElZ4z 1uqrDXJc+s9vhhIRvmtBIYg83Rt2Drwa+h1Ii2Q6H7UvI0ZI/Bmzi3T5q5BWCFbOgZlW yBIL3Oom5Hq7zDmJJwPtdXI/8hEEGZNy3e1C+Yf/0jsOwralnFK3UxsiDW64jxs/4GqN zCUs34eAAVEpocx8XR7/P4Jv2mrvcf2KASEmJMvm/Sr7sBzmhISssX63c1KEFNBWVCnm L/nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=oaPC9OQ/VEIuMxA03EE3fQQCYuiwolEF+rrk5yj61ts=; b=gSjSROSWWWpxyVw67ziqoXbnSe8tCyIJQVtBWXuUF/BueSSAm108WeNpGZZsO4L1J1 nfHBtLvVBceb3Dx6MbOuj6b+2mdJtg/+MdZxg7mOCi0kyZnaxOlvo0+wWwm7t8j6RLWj 6pmvd8TOo4c/RnekrDNKPqCoG+1ZrAD5ug5G0Iyj3mspLq1vHKLh160NnGyBNw4SK38x fhq5/YziusbmgZuamvpmG0KcPUMALJWbRzSrgqX38lhcB8RXxhvAasSZ3NfnXMhFGcsF oJJrTfspAu3+kh7p9yXNUChvGPWPnuSaDMnwPjvlAsaKYCxTDfY14F6YhwNbWgSuxuqa ku9A== X-Gm-Message-State: AE9vXwMhAI0U9hL15/gi4NiYatAbATNSBSflhD16OjV8XA9tl2j5SSxLARj36pZpts30xA== X-Received: by 10.202.72.83 with SMTP id v80mr21102309oia.67.1474836587939; Sun, 25 Sep 2016 13:49:47 -0700 (PDT) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id e188sm6267137oic.24.2016.09.25.13.49.46 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 25 Sep 2016 13:49:46 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id BF760287F20D; Sun, 25 Sep 2016 13:49:45 -0700 (PDT) In-Reply-To: <878tug9eh3.fsf@web.de> (Michael Heerdegen's message of "Sun, 25 Sep 2016 17:38:32 +0200") Mail-Followup-To: Michael Heerdegen , Yuri Khan , Nicolas Petton , Emacs developers X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:207800 Archived-At: >>>>> "MH" == Michael Heerdegen writes: HM> #+begin_src emacs-lisp MH> (cl-defgeneric seq-drop-while (pred sequence &optional less) MH> (seq-drop sequence (- (seq--count-successive pred sequence) (or less 0)))) HM> (cl-defgeneric seq-take-while (pred sequence &optional more) MH> (seq-take sequence (+ (seq--count-successive pred sequence) (or more 0)))) HM> #+end_src I had no idea Org/Gnus were integrated lately to display these source code blocks using syntax highlighting, but it's quite nice for reading. :) Thanks for using this sort of markup. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2