From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#65156: 29.1; Reading from pipe with --insert or insert-file-contents no longer supported Date: Wed, 9 Aug 2023 23:08:49 -0700 Organization: UCLA Computer Science Department Message-ID: <6755e91e-1318-8ca8-33e4-30d354d95a2f@cs.ucla.edu> References: <4b873c29-e8ca-403c-bd37-a531d93661f3@lucaswerkmeister.de> <83fs4tmlik.fsf@gnu.org> <83cyzxmj1g.fsf@gnu.org> <63a54bee-6bfd-70e5-a9b5-a6f650cabd12@cs.ucla.edu> <83ttt7jx1m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19794"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: larsi@gnus.org, 65156@debbugs.gnu.org, mail@lucaswerkmeister.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 10 08:09:38 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qTyrY-0004wV-Oy for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Aug 2023 08:09:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTyrH-0006qC-7Y; Thu, 10 Aug 2023 02:09:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTyr1-0006p4-Om for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2023 02:09:08 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTyr0-0002SQ-LX for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2023 02:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTyr0-0000ya-FN for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2023 02:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Aug 2023 06:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65156 X-GNU-PR-Package: emacs Original-Received: via spool by 65156-submit@debbugs.gnu.org id=B65156.16916477383743 (code B ref 65156); Thu, 10 Aug 2023 06:09:02 +0000 Original-Received: (at 65156) by debbugs.gnu.org; 10 Aug 2023 06:08:58 +0000 Original-Received: from localhost ([127.0.0.1]:41059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTyqw-0000yJ-EW for submit@debbugs.gnu.org; Thu, 10 Aug 2023 02:08:58 -0400 Original-Received: from mail.cs.ucla.edu ([131.179.128.66]:48288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTyqu-0000xq-CQ for 65156@debbugs.gnu.org; Thu, 10 Aug 2023 02:08:56 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 93E6E3C011BD8; Wed, 9 Aug 2023 23:08:50 -0700 (PDT) Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id VLv6p_d0UXVe; Wed, 9 Aug 2023 23:08:50 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 49B233C011BD9; Wed, 9 Aug 2023 23:08:50 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 49B233C011BD9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1691647730; bh=yOO+AUfg7CyAIhwVFh25Np1EgId8IB5Q7bBsjvdu+0U=; h=Message-ID:Date:MIME-Version:To:From; b=nDZhuggMGsYLJjaXJcvnllyYDh0T4B4xRGSSV7g0NkdIwpjnPUMM3aM0DazkH/01X eW6S6SRkhyBQV8KqGYBLjRWRU6gK80EPAdwtx7B4xEXB7LZZnZkleFBl+kDg1x3R9X Q0nSAex4WcHBS0je0Ft72LCIMW7WRAWZeYs+PK7R8qA8RyczxkpUUinoaaMB+XvCjw 3LzqfzoelVFQWOTa5auRVxWtqdTxrGJrSm/MUq4oUmqkpvqmF1r7e4ynoMOfsZmb1C RtHg0dRcytEiPw+Qck6WnKLVMN7bLz2oXeEQJRSC6XJ7b+ogDqH4VbVTcMkJn+K/ku N6UkyhKGGwLIA== X-Virus-Scanned: amavisd-new at mail.cs.ucla.edu Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ekeVJsyud5OV; Wed, 9 Aug 2023 23:08:50 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 1E69D3C011BD8; Wed, 9 Aug 2023 23:08:50 -0700 (PDT) Content-Language: en-US In-Reply-To: <83ttt7jx1m.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267084 Archived-At: On 2023-08-09 22:17, Eli Zaretskii wrote: > If REPLACE is the symbol =E2=80=98if-regular=E2=80=99, then eschew p= reserving marker > positions or the undo list if REPLACE is nil if FILENAME is not a > regular file. Otherwise, signal an error if REPLACE is non-nil and > FILENAME is not a regular file. >=20 > Which part(s) of this are unclear? In "If REPLACE is the symbol 'if-regular', then if REPLACE is nil if=20 . Otherwise, ..." I don't know what the first sentence means. The "if=20 REPLACE is nil" seems to contradict the "If REPLACE is the symbol=20 'if-regular'" and the relationship between and is unclear. Nor do I know which "if" the "Otherwise" is referring to. Nor is it easy to see how this paragraph connects to the previous one,=20 the one that begins "If optional fifth argument REPLACE is non-nil" and=20 that goes on to say "When REPLACE is non-nil" as if the second phrase=20 were not redundant (so which part of that paragraph talks about what=20 happens when REPLACE being nil?). It's understandable that the doc string is a mess, since the code is=20 messier. (Yes, this is the peanut gallery talking....)