From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Marco Munari Newsgroups: gmane.emacs.bugs Subject: bug#46082: (texinfo) @ref says something lisp/info.el do not respect by default Date: Sun, 24 Jan 2021 17:26:57 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27164"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: "Kim F. Storm" To: 46082@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 24 19:31:18 2021 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 1l3kAP-0006x2-If for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jan 2021 19:31:17 +0100 Original-Received: from localhost ([::1]:43954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3kAO-0002Af-EI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jan 2021 13:31:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3kAB-00028x-OW for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 13:31:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3kAA-00082m-Af for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 13:31:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3kAA-0001Ef-7O for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 13:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marco Munari Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jan 2021 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46082 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16115130144681 (code B ref -1); Sun, 24 Jan 2021 18:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jan 2021 18:30:14 +0000 Original-Received: from localhost ([127.0.0.1]:37226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3k9N-0001DN-DE for submit@debbugs.gnu.org; Sun, 24 Jan 2021 13:30:14 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:43256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3iED-0002Mn-3V for submit@debbugs.gnu.org; Sun, 24 Jan 2021 11:27:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3iEC-0006RA-SG for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 11:27:04 -0500 Original-Received: from fastcode.eu ([45.79.166.47]:27895 helo=nj1.fastcode.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3iE9-0003Ml-Ay for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2021 11:27:03 -0500 Original-Received: from nb (127.10.132.1 [127.10.132.1]) by nj1.fastcode.eu (OpenSMTPD) with ESMTP id e7e34204; Sun, 24 Jan 2021 11:26:31 -0500 (EST) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAOBAMAAADUAYG5AAAAMFBMVEVmLnCAgn+EhoOIioeNj4yRk5CYmpefoZ6jpaKpq6ivsa62uLS6vLnBw8DJy8h7fXrqFMmXAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAABsSURBVAjXY2BgYODsZICAGeUQmntaAYRxOwxC8x4xgDDuOPHuaGBLZeC71nU7LKJiJsO7jvAlRuZlDQx3SyKVVMVLgWq3TZafVCTAwMCzK/DDSnmgpjPL7TkbPwAZd6c7lBuBjDnbytASAKQBe1ofD2Lqno4AAAAASUVORK5CYII= Received-SPF: pass client-ip=45.79.166.47; envelope-from=mar21+dev.emacs.bugfix@allerta.it; helo=nj1.fastcode.eu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 24 Jan 2021 13:30:12 -0500 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:198510 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Kim, I'm writing in relation to defcustom Info-hide-note-references t in lisp= /info.el a9efebd0ba1 (Kim 2002-11-01 306) (defcustom Info-hide-note-references t because it's a bad default to proper info documentation as said in (texinfo) @ref documentation https://www.gnu.org/software/texinfo/manual/texinfo/html_node/_0040ref.html ,-----------------------------------------------------------------------= ---- | 6.6 @ref | @ref is nearly the same as @xref except that it does not generate a = =E2=80=98See=E2=80=99 | in the printed output, just the reference itself. | This makes it useful as the last part of a sentence. | | For example, |=20 | For more information, @pxref{This}, and @ref{That}. | produces in Info: |=20 (*)| For more information, *note This::, and *note That::. | and in printed output: |=20 | For more information, see Section 1.1 [This], page 1, and Section 1.2 = [That], page 2. `-----------------------------------------------------------------------= ---- but with current info.el default in emacs shows (*)| For more information, see [This]., and see [That]. ( A part that with only two examples (texinfo) @ref it's not very clear that there are three cases: @ref @xref @pxref ) As I intended it, the second "see" should absolutely not be present, Info-hide-note-references is already customize-able to nil(=3Dcompliant) or hide(my preference), but the current default of t is(seem to me) not at all as designed in texinfo, for example python info documentation was plenty of misplaced ``See`` ... ``.`` (which is the reason I looked into the origin of the problem) and found it: @ref should have not a processing for info that add "See" as should while processing @xref, than the pxref is to distinguish printed rendering. I will not insist over this trivial change, if ever you disagree you can also ignore the request Cheers, Marco Munari --=20 x(t),y(t) =3D th(3t-34.5)*e^[-(3t-34.5)^2]/2-4.3+e^(-1.8/t^2)/(.8*atg(t- 3)+2)(t-1.8)-.3th(5t-42.5),(1.4e^[-(3t-34.5)^2]+1-sgn[|t-8.5|-.5]*1.5* |sin(pi*t)|^[2e^(-(t-11.5)^2)+.5+e^(-(.6t-3.3)^2)])/(.5+t)+1 ; 0