From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 03:43:13 2022 Received: (at submit) by debbugs.gnu.org; 12 Dec 2022 08:43:13 +0000 Received: from localhost ([127.0.0.1]:51433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4eP1-0004pT-Ez for submit@debbugs.gnu.org; Mon, 12 Dec 2022 03:43:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:52786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4cJ2-0000gx-Ec for submit@debbugs.gnu.org; Mon, 12 Dec 2022 01:28:53 -0500 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 1p4cJ2-0004tP-7u for automake-patches@gnu.org; Mon, 12 Dec 2022 01:28:52 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4cJ0-000769-Ey for automake-patches@gnu.org; Mon, 12 Dec 2022 01:28:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670826529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TlzRqAf5pcMvelATAUGTA03nbpYZTMLac6RnA+Q2ym0=; b=fB5ZmzsLqefhpGYtnBhawFAox2Ex8IEpP5kUQnPfOwn28PCODyCA/5h7cY5BdKXXa5+iRP alCqDtMKoDDwe6r3pu7/Rl97R91O6h8S9RUzPTHAmfhtANRXFvphDmsk6Qx1B8fBlxcN6N D4UiYSHmqQPpkwKZLy4qjVWgIfVZ8DY= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-54-RudtaBziMdmwNSHDVAJJQQ-1; Mon, 12 Dec 2022 01:28:47 -0500 X-MC-Unique: RudtaBziMdmwNSHDVAJJQQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 81A4E29ABA09 for ; Mon, 12 Dec 2022 06:28:47 +0000 (UTC) Received: from Nymeria-redhat.redhat.com (unknown [10.39.192.133]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9652A2166B29; Mon, 12 Dec 2022 06:28:39 +0000 (UTC) From: Frederic Berat To: automake-patches@gnu.org Subject: [PATCH] tests: Fix txinfo-include test for texinfo 7.x Date: Mon, 12 Dec 2022 07:28:38 +0100 Message-Id: <20221212062838.1635534-1-fberat@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=fberat@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 12 Dec 2022 03:43:10 -0500 Cc: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20B=C3=A9rat?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From: Frédéric Bérat Texinfo modified its behavior regarding apostrophes, which are now replaced by UTF-8 right single quotes by default. It looks like this was supposed to be the default for few years already, but this behavior was broken so far. Use the @verb construct in order to ensure that the quotes are kept has-is, so that we can easily grep for "GNU's Not Unix". --- t/txinfo-include.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/txinfo-include.sh b/t/txinfo-include.sh index 8a15f01b0..40b61878f 100644 --- a/t/txinfo-include.sh +++ b/t/txinfo-include.sh @@ -62,7 +62,7 @@ END cat > three.texi << 'END' @node three @chapter Chapter two -GNU's Not Unix. +@verb{.GNU's Not Unix..} END mkdir sub -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 17:51:11 2022 Received: (at 59989) by debbugs.gnu.org; 12 Dec 2022 22:51:11 +0000 Received: from localhost ([127.0.0.1]:55955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rdf-0005Ms-1L for submit@debbugs.gnu.org; Mon, 12 Dec 2022 17:51:11 -0500 Received: from freefriends.org ([96.88.95.60]:39876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rdZ-0005Md-Rb; Mon, 12 Dec 2022 17:51:09 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 2BCMp4HV014305 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Dec 2022 15:51:04 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 2BCMp35N014304; Mon, 12 Dec 2022 15:51:03 -0700 Date: Mon, 12 Dec 2022 15:51:03 -0700 Message-Id: <202212122251.2BCMp35N014304@freefriends.org> From: Karl Berry To: fberat@redhat.com Subject: Re: [bug#59989] [PATCH] tests: Fix txinfo-include test for texinfo 7.x In-Reply-To: <20221212062838.1635534-1-fberat@redhat.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59989 Cc: 59989@debbugs.gnu.org, 59989-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Frederic, Texinfo modified its behavior regarding apostrophes, which are now replaced by UTF-8 right single quotes by default. Sorry to hear it, but not surprised. -GNU's Not Unix. +@verb{.GNU's Not Unix..} I don't think there's any guarantee that verb quotes will also be "helpfully" changed in the future. One wouldn't think so, but ... So instead, I changed the test document to avoid apostrophes. Pushed the below. Hope it flies. --thanks, karl. --- a/t/txinfo-include.sh +++ b/t/txinfo-include.sh @@ -28,6 +28,9 @@ main_TEXINFOS = one.texi two.texi three.texi sub_more_TEXINFOS = sub/desc.texi sub/hist.texi END +# We avoid apostrophes in the test document since Texinfo +# turns them into UTF-8, which is not easy to grep. +# cat > main.texi << 'END' \input texinfo @setfilename main.info @@ -61,8 +64,8 @@ END cat > three.texi << 'END' @node three -@chapter Chapter two -GNU's Not Unix. +@chapter Chapter three +Quux quux quux. END mkdir sub @@ -106,7 +109,7 @@ check_info_contents () srcdir=${1-.} $FGREP "Foo bar, baz." $srcdir/main.info $FGREP "Blah Blah Blah." $srcdir/main.info - $FGREP "GNU's Not Unix." $srcdir/main.info + $FGREP "Quux quux quux." $srcdir/main.info $FGREP 'It does something, really.' $srcdir/sub/more.info $FGREP 'It was written somehow.' $srcdir/sub/more.info } compile finished at Mon Dec 12 14:48:33 2022 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 19:35:57 2022 Received: (at 59989) by debbugs.gnu.org; 13 Dec 2022 00:35:57 +0000 Received: from localhost ([127.0.0.1]:56509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4tH3-0000gH-9T for submit@debbugs.gnu.org; Mon, 12 Dec 2022 19:35:57 -0500 Received: from mail-oa1-f54.google.com ([209.85.160.54]:39875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4tH1-0000g4-4e; Mon, 12 Dec 2022 19:35:55 -0500 Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-1442977d77dso10627468fac.6; Mon, 12 Dec 2022 16:35:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=FJ/ALwYN5oIcDlJ+bUTh79ZEaVedDBFimz/gflqAMXU=; b=iW4RxHOTcOMV9nZDT2NvuWPdtUPErRvdtQ2tkPtDb0cnim4gNsud9CHqKBIHEsokJ+ 4lzo2tPC1TNFxwPD94B1pzbCPDkrkB2VjhjQjpbornRCNLFTMaN3TpfQE15F6av9AFh4 aw35ex5hJns04EljosxpsSWPQBx+zNb1HWVUffu6r7smQB75xnW9lMWVr7nl7BepmqPC Zt7juPGyjMJ9p5AZNr9BuMwdmyMiqsimwsLeJsmUFVssTE2jY5Dyf+dF2jPt5f4CcMUD vcHA5+nvgGMTot1h8RPfA2W9lFY/G+cdCNnDvsozEvi5m1sdQaq3WMsE2XUMzbGQgFzW 8mog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:subject:cc:to :mime-version:user-agent:reply-to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FJ/ALwYN5oIcDlJ+bUTh79ZEaVedDBFimz/gflqAMXU=; b=4M5kIPYKThPk9N6494MzCXBaWBeDmnT/R+k3arRMqBfV9cmEBisg62f20KRXN4RfzH xvfhR32vAxAoDrZn0Mt7RqCt9qXLDncO504+Ee9iN/2F3xmDOlaAzDDYqTHYrulYBIob d7VFjXnK2hpLNKlnJXpcqcYDgRrI1E/LVH0/NI1cJtiXuuLifbNqFlXL52X12XIj91jN nfPsj3EPieFFkHOXUt5X5AAxJRvkZVUIfQlecZhTjVLaRSCqSih8cJRLGnhK+w1jwlqV 55aeUC2QxxntPVWQwWXQ1l8ZcpLYTxZV0DPXMuEAluYYkXs7/3TR2ttZGC3IeWBxlbLz vTTg== X-Gm-Message-State: ANoB5pnienyZRLBc+sFR8NFYx0z9gb1caU8pMFUSSgC6Q5RgV7NPab5u TdbXHUJ84QfiyIqCuZDlzV4= X-Google-Smtp-Source: AA0mqf5addS3+ekuvHkk0UIKWn8Bvpl5QICOnvxOilRxnmPB6ENfDNfbfq1iL+g1+g9v7uVzzH6WtA== X-Received: by 2002:a05:6870:1d17:b0:144:6f19:319 with SMTP id pa23-20020a0568701d1700b001446f190319mr9598538oab.42.1670891749522; Mon, 12 Dec 2022 16:35:49 -0800 (PST) Received: from [127.0.0.1] ([70.133.144.146]) by smtp.gmail.com with ESMTPSA id a19-20020a056870b31300b0013bc95650c8sm643371oao.54.2022.12.12.16.35.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Dec 2022 16:35:48 -0800 (PST) Message-ID: <6397C8E3.8050907@gmail.com> Date: Mon, 12 Dec 2022 18:35:47 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Karl Berry Subject: Re: [bug#59989] [PATCH] tests: Fix txinfo-include test for texinfo 7.x References: <20221212062838.1635534-1-fberat@redhat.com> <202212122251.2BCMp35N014304@freefriends.org> In-Reply-To: <202212122251.2BCMp35N014304@freefriends.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 59989 Cc: fberat@redhat.com, 59989@debbugs.gnu.org, 59989-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jcb62281@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Karl Berry wrote: > Hi Frederic, > > Texinfo modified its behavior regarding apostrophes, which are now > replaced by UTF-8 right single quotes by default. > > Sorry to hear it, but not surprised. > > -GNU's Not Unix. > +@verb{.GNU's Not Unix..} > > I don't think there's any guarantee that verb quotes will also be > "helpfully" changed in the future. One wouldn't think so, but ... > There has to be some way to get a straight quote, and verbatim is (as far as I can tell) intended for code examples and similar literal text. Note that TeX has long (always?) converted backtick and apostrophe to left and right quotes, building up double quotes from `` and '', so this change in Texinfo harmonizes Info output with what texinfo.tex has always produced. (There have been a few places in the DejaGnu manual where I have converted ASCII double quotes to TeX style because regular double quotes look seriously out of place in the PDF version.) > So instead, I changed the test document to avoid apostrophes. Pushed the > below. Hope it flies. --thanks, karl. > Since this is a test document, that should not be a problem. -- Jacob From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 03:02:57 2022 Received: (at 59989) by debbugs.gnu.org; 13 Dec 2022 08:02:57 +0000 Received: from localhost ([127.0.0.1]:58776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p50Fc-0001LU-Ce for submit@debbugs.gnu.org; Tue, 13 Dec 2022 03:02:56 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:21683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4yZs-00065c-6M for 59989@debbugs.gnu.org; Tue, 13 Dec 2022 01:15:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670912143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CpiUvf2QXqLwkr/i1jdWwImdHBE+2WHHx7E+nkDEe/Q=; b=BJ9uImI86ylldpHDSiOqGb3t0Cpql1AlbqVV3ajVvZf/J+wzyBimjLMAJS3u0ZAwCLoWR8 Nx6ofEqdmztE8OxMFFoKKQya22DaVfrwIixgWukldToHDqiYpgAqqHf3cuPLz8aWUMbrAn qqNRwE2Z+xTy3lZgyoAx7rFDwLNa21w= Received: from mail-yb1-f199.google.com (mail-yb1-f199.google.com [209.85.219.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-58-WRWCsN_PMWi3PhHRAHqo1A-1; Tue, 13 Dec 2022 01:15:42 -0500 X-MC-Unique: WRWCsN_PMWi3PhHRAHqo1A-1 Received: by mail-yb1-f199.google.com with SMTP id j6-20020a05690212c600b006fc7f6e6955so15632617ybu.12 for <59989@debbugs.gnu.org>; Mon, 12 Dec 2022 22:15:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CpiUvf2QXqLwkr/i1jdWwImdHBE+2WHHx7E+nkDEe/Q=; b=gOU/adnTsY9N1NJ5ixCWIb5Zn8scONDj2PkpF+dNJcbRSQiKoWQ0aTbGdxkKaEIZdE 4YdeCENx18u0Kna7vPGq24br4CnrP44QAvAiDrLqp3sL1WVMnJDMXs9/Nr9l8AZUOV1Z fiPFkKY+6l+MbXd7E7sv9Ya+MFhE49P49Rc2yxZ6Ra0HNdwss5tTqTMgGHkYbsIq3hz2 b4YRs+Y25SJgma/6oyHqtCoeuqgWPP0470haGDFlLEBEBa7V52lx9sa/yI5F8v+CEIZp 3k1z2NY0r8s9HLzv2ZXZKMp7x1ZjI3xZUvFV8l/GU+w1pRK0klvKS1VPrEkfMK6KumcE Q9yg== X-Gm-Message-State: ANoB5pmcd1eo0BlbEvjix54z+Exk2zKbLEGNb0aH946mgMQz+C+JIGzz OiAMYS/Y7OpaGOSVtXIg1AifCv7HPiFErcSyf24kMlN3ar1W8pezqVW4cX6gz/g9APSPQUJzuoA 68OT0lu1XJjNU16iK4l3AsA/jm0PRi3I= X-Received: by 2002:a25:13c2:0:b0:724:321b:55e3 with SMTP id 185-20020a2513c2000000b00724321b55e3mr1196491ybt.393.1670912141425; Mon, 12 Dec 2022 22:15:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf7IMgcj9H8LCRvbVW7LFiWp1V60V4Z7HxXVL+xUy3V29Qw3Y2y45Epl+bm38RWa73e9m+opKzFE5iLLk5FQdpk= X-Received: by 2002:a25:13c2:0:b0:724:321b:55e3 with SMTP id 185-20020a2513c2000000b00724321b55e3mr1196487ybt.393.1670912141142; Mon, 12 Dec 2022 22:15:41 -0800 (PST) MIME-Version: 1.0 References: <20221212062838.1635534-1-fberat@redhat.com> <202212122251.2BCMp35N014304@freefriends.org> In-Reply-To: <202212122251.2BCMp35N014304@freefriends.org> From: Frederic Berat Date: Tue, 13 Dec 2022 07:15:30 +0100 Message-ID: Subject: Re: [bug#59989] [PATCH] tests: Fix txinfo-include test for texinfo 7.x To: Karl Berry X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="0000000000009fc7ce05efaf8c5f" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59989 X-Mailman-Approved-At: Tue, 13 Dec 2022 03:02:53 -0500 Cc: 59989@debbugs.gnu.org, 59989-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000009fc7ce05efaf8c5f Content-Type: text/plain; charset="UTF-8" Fine with me, thanks ! On Mon, Dec 12, 2022 at 11:52 PM Karl Berry wrote: > Hi Frederic, > > Texinfo modified its behavior regarding apostrophes, which are now > replaced by UTF-8 right single quotes by default. > > Sorry to hear it, but not surprised. > > -GNU's Not Unix. > +@verb{.GNU's Not Unix..} > > I don't think there's any guarantee that verb quotes will also be > "helpfully" changed in the future. One wouldn't think so, but ... > > So instead, I changed the test document to avoid apostrophes. Pushed the > below. Hope it flies. --thanks, karl. > > --- a/t/txinfo-include.sh > +++ b/t/txinfo-include.sh > @@ -28,6 +28,9 @@ main_TEXINFOS = one.texi two.texi three.texi > sub_more_TEXINFOS = sub/desc.texi sub/hist.texi > END > > +# We avoid apostrophes in the test document since Texinfo > +# turns them into UTF-8, which is not easy to grep. > +# > cat > main.texi << 'END' > \input texinfo > @setfilename main.info > @@ -61,8 +64,8 @@ END > > cat > three.texi << 'END' > @node three > -@chapter Chapter two > -GNU's Not Unix. > +@chapter Chapter three > +Quux quux quux. > END > > mkdir sub > @@ -106,7 +109,7 @@ check_info_contents () > srcdir=${1-.} > $FGREP "Foo bar, baz." $srcdir/main.info > $FGREP "Blah Blah Blah." $srcdir/main.info > - $FGREP "GNU's Not Unix." $srcdir/main.info > + $FGREP "Quux quux quux." $srcdir/main.info > $FGREP 'It does something, really.' $srcdir/sub/more.info > $FGREP 'It was written somehow.' $srcdir/sub/more.info > } > > compile finished at Mon Dec 12 14:48:33 2022 > > > > --0000000000009fc7ce05efaf8c5f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Fine with me, thanks !

On Mon, Dec 12, 2022 at 11:52 PM= Karl Berry <karl@freefriends.or= g> wrote:
Hi Frederic,

=C2=A0 =C2=A0 Texinfo modified its behavior regarding apostrophes, which ar= e now
=C2=A0 =C2=A0 replaced by UTF-8 right single quotes by default.

Sorry to hear it, but not surprised.

=C2=A0 =C2=A0 -GNU's Not Unix.
=C2=A0 =C2=A0 +@verb{.GNU's Not Unix..}

I don't think there's any guarantee that verb quotes will also be "helpfully" changed in the future. One wouldn't think so, but= ...

So instead, I changed the test document to avoid apostrophes. Pushed the below. Hope it flies. --thanks, karl.

--- a/t/txinfo-include.sh
+++ b/t/txinfo-include.sh
@@ -28,6 +28,9 @@ main_TEXINFOS =3D one.texi two.texi three.texi
=C2=A0sub_more_TEXINFOS =3D sub/desc.texi sub/hist.texi
=C2=A0END

+# We avoid apostrophes in the test document since Texinfo
+# turns them into UTF-8, which is not easy to grep.
+#
=C2=A0cat > main.texi << 'END'
=C2=A0\input texinfo
=C2=A0@setfilename main.info
@@ -61,8 +64,8 @@ END

=C2=A0cat > three.texi << 'END'
=C2=A0@node three
-@chapter Chapter two
-GNU's Not Unix.
+@chapter Chapter three
+Quux quux quux.
=C2=A0END

=C2=A0mkdir sub
@@ -106,7 +109,7 @@ check_info_contents ()
=C2=A0 =C2=A0srcdir=3D${1-.}
=C2=A0 =C2=A0$FGREP "Foo bar, baz."=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 $srcdir/main.info
=C2=A0 =C2=A0$FGREP "Blah Blah Blah."=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 $srcdir/main.info
-=C2=A0 $FGREP "GNU's Not Unix."=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 $srcdir/main.info
+=C2=A0 $FGREP "Quux quux quux."=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 $srcdir/main.info
=C2=A0 =C2=A0$FGREP 'It does something, really.'=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0$srcdir/sub/more.info
=C2=A0 =C2=A0$FGREP 'It was written somehow.'=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 $srcdir/sub/more.info
=C2=A0}

compile finished at Mon Dec 12 14:48:33 2022



--0000000000009fc7ce05efaf8c5f-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 14 03:14:06 2022 Received: (at 59989) by debbugs.gnu.org; 14 Dec 2022 08:14:06 +0000 Received: from localhost ([127.0.0.1]:37535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5Mtx-0004A9-SH for submit@debbugs.gnu.org; Wed, 14 Dec 2022 03:14:06 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:36833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5Mtv-00049f-OY for 59989@debbugs.gnu.org; Wed, 14 Dec 2022 03:14:04 -0500 Received: by mail-wr1-f53.google.com with SMTP id h10so18430963wrx.3 for <59989@debbugs.gnu.org>; Wed, 14 Dec 2022 00:14:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :date:from:from:to:cc:subject:date:message-id:reply-to; bh=LrvnEXSTyRkwZNf3Tl9BHDlSCOjR/Fre/yoWA+id2Fk=; b=PTraVKgNRwFeK9bsn0eVeQ/Ww0PiUit8Tr+Nl4BmhLxo6XuAe3QB/ufwl+uad4E2tW BBflbYna5qnDOC9OKT8uxjUKJFFnhUWSBKoq/X+Z4W/iU6ESFXQw4ZABbQxNqLDIDa3z +ycunQ85Hbdj67uwNhLN2/FIMeq+rNDxBjfSKGUwTJS3PUv6PEbJiXY4uktosALWCABP ECLnTgD8trjgMNmma5CAD5iK9/iQ0BsOnWpxr7fU8f6yrYQ2wp+UlyvDcPr9XHlp/miq rNjvyjMbDds/JNFs8fpXh15KR0sVWP7mRiG4z10b/qmD0MNkRvZgZChLdC0c1ID7kh5O Z+vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LrvnEXSTyRkwZNf3Tl9BHDlSCOjR/Fre/yoWA+id2Fk=; b=nW3qDsAROFlFrZA5eLX3/SbFu5PiUlhD77Ze5jSN4hL19bnJG9hm4xdb+Nl2Zg4w+l Pc28vZOEVOESelsNwXGV1t2DQt5qGgHULlAGu8JjNCH/qp+4q4sE2zmZXK5z+Iltn7sl sEBl/19SYVUnzRqYveQE02ZlmXHAsuC5wpXquC30HiVTb9m8whCoXN4pn1u/Tfb2SF4B HGx38VsPmNIPv+16xM5jM187U6P661EuVbRfD8ygG3cx/Xhj1FId2gYr/D0oU989953N wRLx6Mw91jkbzKPJ4BIh/5ZM1yw/nuquvVuMBn2iQQNeb1ntX4fxO0sH2cfsPHpLHb/V j9JQ== X-Gm-Message-State: ANoB5pkwrrB6q7b3Q+fWcW2k7BAyOAFiEI9hPARiz0HLVghppKT/Nsv0 erBNBbJr5yuXTS+vM/+6di0= X-Google-Smtp-Source: AA0mqf5t79tZ2HuyOM2Pqn8K+vUY2FUpsebi8QfuzJWZBeleL2E4Npe6mlA7nehUQ6W4QR7hH5a5mQ== X-Received: by 2002:a05:6000:552:b0:242:4035:634 with SMTP id b18-20020a056000055200b0024240350634mr13807837wrf.6.1671005637589; Wed, 14 Dec 2022 00:13:57 -0800 (PST) Received: from localhost (241.84.90.146.dyn.plus.net. [146.90.84.241]) by smtp.gmail.com with ESMTPSA id n18-20020a5d4c52000000b0024216d2e386sm2108438wrt.16.2022.12.14.00.13.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 00:13:56 -0800 (PST) From: Gavin Smith X-Google-Original-From: Gavin Smith Date: Wed, 14 Dec 2022 08:13:55 +0000 To: Frederic Berat Subject: Re: [bug#59989] [PATCH] tests: Fix txinfo-include test for texinfo 7.x Message-ID: Mail-Followup-To: Gavin Smith , Frederic Berat , 59989@debbugs.gnu.org, bug-texinfo@gnu.org References: <20221212062838.1635534-1-fberat@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221212062838.1635534-1-fberat@redhat.com> X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 59989 Cc: 59989@debbugs.gnu.org, bug-texinfo@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) On Mon, Dec 12, 2022 at 07:28:38AM +0100, Frederic Berat wrote: > From: Frédéric Bérat > > Texinfo modified its behavior regarding apostrophes, which are now > replaced by UTF-8 right single quotes by default. > It looks like this was supposed to be the default for few years already, > but this behavior was broken so far. > > Use the @verb construct in order to ensure that the quotes are kept > has-is, so that we can easily grep for "GNU's Not Unix". The change affected the output when a @documentencoding directive was not present in the Texinfo file. The curly quotes were used from Texinfo 5.0 onwards I believe (the big Perl rewrite from 2013) if "@documentencoding UTF-8" was specified. Later (2019) UTF-8 was made the default encoding for input files but the curly quotes were not used in the output unless there was an explicit @documentencoding directive. This was not documented well and users found it confusing, and in the latest release, it makes no difference whether the directive is present. These non-ASCII characters are on by default and turned off by passing "-c ASCII_PUNCTUATION=0" on the texi2any command line. I think using curly quotes by default was a mistake in the first place for UTF-8 input; however, any changes to the defaults should be discussed on bug-texinfo@gnu.org. The main issue that I would foresee is that in Emacs Info mode, there can be highlighting of text surrounded by curly quotes, so we would have to check that this highlighting also worked if ASCII apostrophes were used instead. One option would be to carry on using ‘ and ’ for the output of @code etc., but not for where literal ` and ' appeared in the Texinfo source. Likewise for “ and ” and `` and ''. This would mean you could easily search for words like "Don't" in the Info browser. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 14 07:51:14 2022 Received: (at 59989) by debbugs.gnu.org; 14 Dec 2022 12:51:14 +0000 Received: from localhost ([127.0.0.1]:39042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5REA-0008Vf-5a for submit@debbugs.gnu.org; Wed, 14 Dec 2022 07:51:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5RE8-0008VY-Dv for 59989@debbugs.gnu.org; Wed, 14 Dec 2022 07:51:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5RE3-0000hl-35; Wed, 14 Dec 2022 07:51:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=dBHCytYJYK6Qkry6bHeMx+YvbDpO67fOlO3PE81nL9A=; b=OypaqfKxPx/mq4Z5pMJh Wmr14KFrUpztj/p6GTYXX3aMgyGtxOT3AsCkSpl6duFjHqtp7tPqdSWw1MupbNSn/rzwqWgXo626l phs9ewnxL+ZbpPMSSDhOmhA6PNw1bKLh5091LRjOpWp7q7klUOaXUCc8jwZZGP+V+bBE+EZrf4eQS tNmE0DcOKOfB+473m5qkilrzONnJfS+R1Unh8NpdhbJpw76Stmp2vi1Qch7/OQUroXojgReGwX49m gtOn6/c4bCeXQosnZ4f/r8jlAFnK6NI1HfKqf61TQ5vj2H1IwIUYS7udwePNvmHxV6VWOf/kM+We5 Il71Il5x85Fwog==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5RE2-0000bs-Ij; Wed, 14 Dec 2022 07:51:06 -0500 Date: Wed, 14 Dec 2022 14:51:02 +0200 Message-Id: <834jtyno7d.fsf@gnu.org> From: Eli Zaretskii To: Gavin Smith In-Reply-To: (message from Gavin Smith on Wed, 14 Dec 2022 08:13:55 +0000) Subject: Re: [bug#59989] [PATCH] tests: Fix txinfo-include test for texinfo 7.x References: <20221212062838.1635534-1-fberat@redhat.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59989 Cc: fberat@redhat.com, 59989@debbugs.gnu.org, bug-texinfo@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Gavin Smith > Date: Wed, 14 Dec 2022 08:13:55 +0000 > Cc: 59989@debbugs.gnu.org, bug-texinfo@gnu.org > > I think using curly quotes by default was a mistake in the first place > for UTF-8 input; however, any changes to the defaults should be discussed > on bug-texinfo@gnu.org. The main issue that I would foresee is that > in Emacs Info mode, there can be highlighting of text surrounded by > curly quotes, so we would have to check that this highlighting also > worked if ASCII apostrophes were used instead. Emacs never highlighted symbols quoted `like this', before Texinfo started producing Unicode quotes. So people who want the latter style of quoting are (or should be) already accustomed to not seeing such symbols highlighted, and so if we now introduce an optional feature to produce quoting `like this', there will be no complaints -- provided that the default behavior will remain ‘like this’. Making `this' be the default now is not recommended, as I expect too many people to complain. From unknown Sun Jun 22 11:41:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 12 Jan 2023 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator