From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#1321: process-lines Date: Sat, 14 Mar 2015 16:45:29 -0700 Message-ID: <5504C819.80701@dancol.org> References: <4055444A-BE2E-47A5-BAD1-BD174E8EDB43@klingenberg.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HhLjrxPSvbht3j1jr82Bq3hIjId0g1Mk9" X-Trace: ger.gmane.org 1426376779 16658 80.91.229.3 (14 Mar 2015 23:46:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Mar 2015 23:46:19 +0000 (UTC) To: "Peder O. Klingenberg" , 1321@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 15 00:46:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1YWvkv-0004nY-Rw for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Mar 2015 00:46:10 +0100 Original-Received: from localhost ([::1]:42128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWvkv-00063N-7R for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Mar 2015 19:46:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWvkr-00061l-Kg for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 19:46:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWvko-0005YZ-Cs for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 19:46:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWvko-0005YV-6I for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 19:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YWvkn-00013t-TR for bug-gnu-emacs@gnu.org; Sat, 14 Mar 2015 19:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Mar 2015 23:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1321 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 1321-submit@debbugs.gnu.org id=B1321.14263767424053 (code B ref 1321); Sat, 14 Mar 2015 23:46:01 +0000 Original-Received: (at 1321) by debbugs.gnu.org; 14 Mar 2015 23:45:42 +0000 Original-Received: from localhost ([127.0.0.1]:46886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWvkS-00013G-Aw for submit@debbugs.gnu.org; Sat, 14 Mar 2015 19:45:41 -0400 Original-Received: from dancol.org ([96.126.100.184]:52330) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YWvkP-000137-Qb for 1321@debbugs.gnu.org; Sat, 14 Mar 2015 19:45:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=9aVZ5NHaYKkxzFE58Pobas/XwQS8oNLjggiIWfZ+7OY=; b=OX91FGv1/d08c0DwDbJvNDazEGnPg6unDnLgtMJUc7qs6SGHYkvAHJIMd6ziPdhJNBzS44MIo+nscTYxsaJ2QqcfJUDJWg7jGqfxTcRu9vgbMYPnCxpDZ2eWLQkRzfXDcAyYAeccD3aDAoSY2dVhhuI/I6xcmD9QmvLp0lBWuhUo8jaibq90f+/R1Hn+xYvStJBdgPmflZxz+d5TrOfSDGHHDwGmez/1zMmaCp+ImRMUTDXseBUlP98KJwxnjhFAoc1pQqXg7cCuvafkJ88CS4mnE20sq4YL+dZrXsZmoGdiaMCL2Uk62kvECOpTfqJz8S5XA6BESjlqpnIwcoGHVw==; Original-Received: from [2620:10d:c081:1100:8000::21c7] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YWvkN-00078l-56; Sat, 14 Mar 2015 16:45:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <4055444A-BE2E-47A5-BAD1-BD174E8EDB43@klingenberg.no> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100489 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HhLjrxPSvbht3j1jr82Bq3hIjId0g1Mk9 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/14/2015 03:36 PM, Peder O. Klingenberg wrote: > Just adding an optional argument to process-lines is difficult > without breaking the API, due to its use of &rest. I suggest something along the lines of the following patch: What about defining a `process-lines-2' that takes keyword arguments and accepts a list for PROGRAM? --HhLjrxPSvbht3j1jr82Bq3hIjId0g1Mk9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVBMgZAAoJEN4WImmbpWBltp4QAJRjEqcUthkTe6OS4HNHuM3w EXXPBy7gFZo8TH6hvDzr1Pq24rHuTemXpa+4mhQgleXAsrWjNotjdCnar9gDj0aW DK/urt/5dHQYWhYSTIkVvMD8DtIhkKA8hnE0JUnxblAZpQkLVXUWY2o5cP8k+mf5 YVCEtkqvTETyeCLpKOEVbezZ/If01/PuJoD0NwLC1ddaLLqnsgqB3AfbvDP/Yka/ QAwj7A005NSQL+O3vtXYuXJQJ9eFu057TpYdz4r4PncXdHzeD9WGNHKlUqNclwk/ fmKmsdUCHbjm/Sa+sP0AeFvgneIugY9UaC1XuH7NpIu+k3QdeamphbfMbk1esnAR SMPYBfi/sDZAbBxaXM+hZvGftgxlIxqMx6ffsVSQpx2fZjaGU9612T7AphD1K1lp AN3xfQbkT2VvYiYrqg3REmL3YrgWJKlfvYFaa6/wYbcWIFzxt63np+vfFHPECfgW Jl5PG8gFQKCdntZAiy1dRYB9BFXlqvCHKpy8KxfWGlkT8FlX2+AUmPa+ftXi4iiA cBKmVWAvV5Pu8pqkKmZbm88lh6Ci19aJ7gE47b3VdNMaBKrr0YjAbJ2IXW++RizU x/QvzEIJM3ljuaNTJ8cUNBu6qNW26Dy3BhP/eY4M+0BGH2M6/ZKqxgm5eBigckaw VPWjDtHxweoUHXQ222hK =BT/G -----END PGP SIGNATURE----- --HhLjrxPSvbht3j1jr82Bq3hIjId0g1Mk9--