all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Peder O. Klingenberg" <peder@klingenberg.no>
Cc: 1321@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#1321: process-lines
Date: Sun, 20 Sep 2020 00:20:14 +0200	[thread overview]
Message-ID: <87k0wpjtnl.fsf@gnus.org> (raw)
In-Reply-To: <C44A4D48-7FDA-4A18-9E07-2C814167910E@klingenberg.no> (Peder O. Klingenberg's message of "Sun, 15 Mar 2015 09:37:38 +0100")

"Peder O. Klingenberg" <peder@klingenberg.no> writes:

> That’s another possibility, of course.  But in my opinion, the &rest
> is usually a more convenient API for the callers, saving them the
> trouble of consing up a new list.

Yup, makes sense to me.

Stefan raises the excellent objection that `process-lines' is pretty
trivial, and that it's not much used.  The former is definitely true,
but I wonder whether the reason it's not used much is because of the
very awkward interface.  Peder's patch fixes this by introducing a
-ignore-status version of the function (which is how it should have been
all along), so perhaps this version will get more usage.

So I've applied Peder's patch to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-09-19 22:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jkiqqwioj6.fsf@fencepost.gnu.org>
2015-03-14 22:36 ` bug#1321: process-lines Peder O. Klingenberg
2015-03-14 23:45   ` Daniel Colascione
2015-03-15  8:37     ` Peder O. Klingenberg
2020-09-19 22:20       ` Lars Ingebrigtsen [this message]
2015-03-15 20:43   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0wpjtnl.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=1321@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=peder@klingenberg.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.