From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44409: Example in manual no longer works Date: Wed, 04 Nov 2020 05:24:40 +0200 Message-ID: <83v9elby87.fsf@gnu.org> References: <87mtzzj9fa.5.fsf@jidanni.org> <31F4D2BA-185A-484B-845D-8C812B2D9B30@gnu.org> <87tuu6j2zq.5.fsf@jidanni.org> <8CA5025D-C9C5-4371-9636-8A04A46D9806@gnu.org> <87h7q6j9t1.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37314"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44409-done@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 04 04:25:11 2020 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 1ka9Q6-0009Zj-6r for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Nov 2020 04:25:10 +0100 Original-Received: from localhost ([::1]:43808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ka9Q5-0001Mx-8Z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Nov 2020 22:25:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka9Py-0001Ma-EZ for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 22:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ka9Py-0000uO-3v for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 22:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ka9Py-0006qz-0j for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 22:25:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Nov 2020 03:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44409 X-GNU-PR-Package: emacs Mail-Followup-To: 44409@debbugs.gnu.org, eliz@gnu.org, jidanni@jidanni.org Original-Received: via spool by 44409-done@debbugs.gnu.org id=D44409.160446029726328 (code D ref 44409); Wed, 04 Nov 2020 03:25:01 +0000 Original-Received: (at 44409-done) by debbugs.gnu.org; 4 Nov 2020 03:24:57 +0000 Original-Received: from localhost ([127.0.0.1]:47061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka9Pt-0006qa-HO for submit@debbugs.gnu.org; Tue, 03 Nov 2020 22:24:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka9Pr-0006qJ-Tt for 44409-done@debbugs.gnu.org; Tue, 03 Nov 2020 22:24:56 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58719) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ka9Pm-0000rC-Jy; Tue, 03 Nov 2020 22:24:50 -0500 Original-Received: from [176.228.60.248] (port=2746 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ka9Pi-0005wW-To; Tue, 03 Nov 2020 22:24:50 -0500 In-Reply-To: <87h7q6j9t1.5.fsf@jidanni.org> (message from =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson on Wed, 04 Nov 2020 07:32:42 +0800) 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" Xref: news.gmane.io gmane.emacs.bugs:192658 Archived-At: > From: 積丹尼 Dan Jacobson > Cc: bug-gnu-emacs@gnu.org, 44409@debbugs.gnu.org > Date: Wed, 04 Nov 2020 07:32:42 +0800 > > >>>>> "EZ" == Eli Zaretskii writes: > > EZ> The example in the manual doesn't mention /etc/motd of any other binary file. It uses text files, where this issue doesn't exist. > > Since when is /etc/motd a binary file? I didn't say it was. > >> $ grep --color -nH --null -e a /etc/motd | grep x > >> Binary file (standard input) matches > > So we see the issue indeed exists with text files!! No, it exists if you use Grep incorrectly. > EZ> Yes, but you need to edit that prompt anyway in order to type the > EZ> command with a pipe, so the original prompt doesn't matter much. > > No! > > In the past one could simply slap the pipe(s) on to the back. > > Now that no longer works. > > Therefore the example needs to be rewritten to make it work again. The example already works without any changes, so it doesn't need to be rewritten. > (Or specific instructions need to be given: "Be sure to remove any > '--null' that emacs has stuck in, for this example to work.") That's the stuff for Grep manual, not for Emacs. So I don't see any problem here to fix, and I'm closing this bug report.