all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Peder O. Klingenberg" <peder@klingenberg.no>
Cc: 1321@debbugs.gnu.org
Subject: bug#1321: process-lines
Date: Sun, 15 Mar 2015 16:43:57 -0400	[thread overview]
Message-ID: <jwvzj7em1w0.fsf-monnier+bug#1321@gnu.org> (raw)
In-Reply-To: <4055444A-BE2E-47A5-BAD1-BD174E8EDB43@klingenberg.no> (Peder O. Klingenberg's message of "Sat, 14 Mar 2015 23:36:26 +0100")

> 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:

FWIW, I don't really like process-lines at all.  It's used rather
rarely, so most uses would be just as happy with something like

    (with-temp-buffer
      (call-process <prog> nil t nil <args>)
      (get-buffer-lines))


-- Stefan





      parent reply	other threads:[~2015-03-15 20:43 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
2015-03-15 20:43   ` Stefan Monnier [this message]

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='jwvzj7em1w0.fsf-monnier+bug#1321@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=1321@debbugs.gnu.org \
    --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.