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: Tue, 03 Nov 2020 09:16:58 +0200 Message-ID: <31F4D2BA-185A-484B-845D-8C812B2D9B30@gnu.org> References: <87mtzzj9fa.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12335"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: 44409@debbugs.gnu.org, jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 03 08:18:12 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 1kZqa3-00037G-BH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Nov 2020 08:18:11 +0100 Original-Received: from localhost ([::1]:50230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZqa2-0002Mb-CT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Nov 2020 02:18:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZqZv-0002MF-3y for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 02:18:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59918) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZqZu-0006VJ-Qo for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 02:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZqZu-0005EA-N6 for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 02:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Nov 2020 07:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44409 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , 44409@debbugs.gnu.org Original-Received: via spool by 44409-submit@debbugs.gnu.org id=B44409.160438783020025 (code B ref 44409); Tue, 03 Nov 2020 07:18:02 +0000 Original-Received: (at 44409) by debbugs.gnu.org; 3 Nov 2020 07:17:10 +0000 Original-Received: from localhost ([127.0.0.1]:43230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZqZ4-0005Cv-5n for submit@debbugs.gnu.org; Tue, 03 Nov 2020 02:17:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZqZ3-0005CU-7m for 44409@debbugs.gnu.org; Tue, 03 Nov 2020 02:17:09 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38797) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZqYx-0006Eq-Lf; Tue, 03 Nov 2020 02:17:03 -0500 Original-Received: from [2a02:14f:1fe:933f::ad2b:d8fd] (port=43820) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kZqYw-0007zw-Mm; Tue, 03 Nov 2020 02:17:03 -0500 In-Reply-To: <87mtzzj9fa.5.fsf@jidanni.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" Xref: news.gmane.io gmane.emacs.bugs:192589 Archived-At: On November 3, 2020 7:28:41 AM GMT+02:00, "=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan = Jacobson" wrote: > (info "(emacs) Grep Searching") Says >=20 > For instance, you can chain =E2=80=98grep=E2=80=99 commands, like thi= s: =2E=2E=2E >=20 > But the example it then gives is for older emacs versions=2E >=20 > Newer emacs versions' grep string contains "--null" (proof: try > $ emacs -f grep > ) which will cause the example to fail=2E >=20 > How can one rewrite the example to work with newer emacs versions? I just tried the example in the manual with a recent version of Enacs, and= the example works just fine=2E So in what sense doesn't the example work = for you? And what is the significance of --null for this purpose? IOW, I see no reason to rewrite the example=2E