From unknown Sun Jun 22 11:40:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23142: 25.1.50; Kind of duplicated lines in info TOC Resent-From: Johan Claesson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2016 12:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23142 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23142@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.145925584916551 (code B ref -1); Tue, 29 Mar 2016 12:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2016 12:50:49 +0000 Received: from localhost ([127.0.0.1]:42936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akt6f-0004Is-29 for submit@debbugs.gnu.org; Tue, 29 Mar 2016 08:50:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akt6d-0004Id-AE for submit@debbugs.gnu.org; Tue, 29 Mar 2016 08:50:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akt6Q-0003sm-WF for submit@debbugs.gnu.org; Tue, 29 Mar 2016 08:50:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akt6Q-0003si-TG for submit@debbugs.gnu.org; Tue, 29 Mar 2016 08:50:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akt6L-0003BA-Bz for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 08:50:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akt6H-0003qe-Vf for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 08:50:29 -0400 Received: from smtprelay-b22.telenor.se ([195.54.99.213]:41569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akt6H-0003pB-ER for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 08:50:25 -0400 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b22.telenor.se (Postfix) with ESMTP id 0F6BD45713 for ; Tue, 29 Mar 2016 14:50:15 +0200 (CEST) X-SENDER-IP: [213.114.146.248] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CMAwC+efpW//iSctVdHAGDER41fbp2AQ2BcBIHhyA5FAEBAQEBAQFkJ4UeEwEnJA8lAQQZDFWIDQGgD6BlGYYEiFwGAQEFZoUIBY1EiWREj22HdYUyhhKIfR4BAUKBNgw+AwEYgUs6MIc+CBeBHQEBAQ X-IPAS-Result: A2CMAwC+efpW//iSctVdHAGDER41fbp2AQ2BcBIHhyA5FAEBAQEBAQFkJ4UeEwEnJA8lAQQZDFWIDQGgD6BlGYYEiFwGAQEFZoUIBY1EiWREj22HdYUyhhKIfR4BAUKBNgw+AwEYgUs6MIc+CBeBHQEBAQ X-IronPort-AV: E=Sophos;i="5.24,410,1454972400"; d="scan'208";a="656476132" Received: from c-f89272d5.04-99-73746f3.cust.bredbandsbolaget.se (HELO goblin) ([213.114.146.248]) by ipb1.telenor.se with ESMTP; 29 Mar 2016 13:51:20 +0200 From: Johan Claesson User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Date: Tue, 29 Mar 2016 13:51:07 +0200 Message-ID: <8760w55wpg.fsf@bredband.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) 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: -4.4 (----) Hi, Regarding the table-of-contents that is generated by typing T in info. Whenever there is a new level of sections the section name is printed twice. For example in the start of the elisp manual "Introduction" and "Conventions" are duplicated (and the second "Conventions" is not indented which disturbs the readability): Top:: Introduction:: Introduction Caveats:: Lisp History:: Conventions:: Conventions Some Terms:: nil and t:: [...] This is not a bug and the TOC have looked like this for quite some time. I just think it would be easier to read the TOC without these extra lines. (Sometimes the first and second line for a section are not identical. For example further down in the elisp manual there is "Cons Cell Type" and "Cons Cell and List Types". But to print both is too much information for a table of contents.) If it is ok to remove the second line it could be done in the function Info-toc-insert by removing the lines which are commented below: (defun Info-toc-insert (nodes node-list level curr-file) "Insert table of contents with references to nodes." ;; (let ((section "Top")) (while nodes (let ((node (assoc (car nodes) node-list))) ;; (unless (member (nth 2 node) (list nil section)) ;; (insert (setq section (nth 2 node)) "\n")) (insert (make-string level ?\t)) (insert "*Note " (car nodes) ":: \n") (Info-toc-insert (nth 3 node) node-list (1+ level) curr-file) (setq nodes (cdr nodes))))) Or if these lines have to be there i think they should be indented: (defun Info-toc-insert (nodes node-list level curr-file) "Insert table of contents with references to nodes." (let ((section "Top")) (while nodes (let ((node (assoc (car nodes) node-list)) (indentation (make-string level ?\t))) (unless (member (nth 2 node) (list nil section)) (insert indentation (setq section (nth 2 node)) "\n")) (insert indentation "*Note " (car nodes) ":: \n") (Info-toc-insert (nth 3 node) node-list (1+ level) curr-file) (setq nodes (cdr nodes)))))) Regards, /Johan In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, X toolkit) of 2016-03-28 built on goblin Repository revision: a30e7e12ed8465e2565dd318d921bc87f52ce18e Windowing system distributor 'The X.Org Foundation', version 11.0.11702000 System Description: Ubuntu 15.10 Configured using: 'configure --prefix=/ssd/home/jcl/usr --with-x-toolkit=lucid --without-toolkit-scroll-bars --disable-silent-rules --without-compress-install --enable-link-time-optimization PKG_CONFIG_PATH=/home/jcl/usr/lib/pkgconfig' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB LUCID X11 Important settings: value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: magit-auto-revert-mode: t display-time-mode: t minibuffer-depth-indicate-mode: t num3-mode: t minibuffer-electric-default-mode: t icomplete-mode: t diff-auto-refine-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t wc-mode: t winner-mode: t ido-everywhere: t which-function-mode: t global-eldoc-mode: t electric-layout-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t auto-fill-function: do-auto-fill transient-mark-mode: t abbrev-mode: t Recent messages: forward-sexp: Scan error: "Unbalanced parentheses", 927, 2063 Entering debugger... Back to top level Info-toc-insert Mark set forward-sexp: Scan error: "Unbalanced parentheses", 927, 2063 Quit Mark set [4 times] Quit Mark set Load-path shadows: None found. Features: (nnir emacsbug two-column iso-transl w3m-cookie jcl-replace jcl-games-init jcl-muse-init htmlize-hack htmlize muse-latex muse-html muse-xml-common muse-colors cus-edit muse-publish muse-project muse-protocols muse-regexps muse muse-nested-tags muse-mode jcl-yaoddmuse-init yaoddmuse-extension yaoddmuse skeleton sgml-mode shadow cus-start cus-load flow-fill smiley gnus-cite mail-extr gnus-async nndoc gnus-dup tabify time-stamp misearch multi-isearch eieio-opt speedbar sb-image ezimage dframe jcl-renegade-goblin jcl-home-boot vc vc-dispatcher vc-git org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m jcl-load jcl-billboard-init typing-practice jcl-elisp-init profiler tagbag-init jcl-grep-init jcl-abbrev-init jcl-ediff-init jcl-term-init jcl-erlang-init jcl-sbg jcl-erlang-log bookmark jcl-erlang-man man jcl-midnite-init jcl-midnite midnight jcl-picpocket-init picpocket-test jcl-erc-init jcl-ido-init jcl-dired-init image-file wdired jcl-register-init jcl-command-subset-init jcl-generic-init generic-x jcl-eww-init eww url-queue shr svg dom jcl-org-init poporg ob-latex ox-beamer org-feed org-capture jcl-shell-init jcl-haskell-init jcl-haskell-old inf-haskell haskell-decl-scan haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports haskell-compat haskell-complete-module flymake dabbrev haskell-customize jcl-mentor-init mentor xml-rpc url-scgi jcl-google-init jcl-modes-init checkdoc magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert magit-process magit-popup magit-mode magit-git crm magit-section magit-utils calc calc-loaddefs calc-macs jcl-rfc rfcview goto-addr proced nroff-mode table picture python rx jcl-ruby inf-ruby ruby-mode fpl macrostep-c cmacexp cwarn grep jcl-elpa-init ffap view jcl-global-init time printing mb-depth saveplace num3-mode minibuf-eldef icomplete jcl-sl-init jcl-keys-init kmacro diff-mode jcl-sbg-ssit jcl-google google-translate google-translate-default-ui google-translate-core-ui google-translate-core google-translate-tk jcl-imenu jcl-wesnoth wesnoth-mode wesnoth-wml-data wesnoth-update jcl-erlang jcl-sbg-compile jcl-picpocket jcl-goblin jcl-dired jcl-dired-lexical picpocket fuzzy-match jcl-ediff jcl-elisp jcl-grep edebug jcl-stumpwm jcl-org jcl-erc erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat jcl-vbox jcl-lxc jcl-keys windmove jcl-isearch jcl-sbg-scan tagbag sbg filecache jcl-bugfix loadhist git-commit help-fns with-editor async-bytecomp async tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell log-edit pcvs-util dash jcl-debbugs debbugs-org debbugs-gnu add-log debbugs soap-client warnings rng-xsd rng-dt rng-util xsd-regexp jcl-merge jcl-wip jcl-work-buffer ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff jcl-sty jcl-epresent face-remap org-indent epresent ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element avl-tree diet ps-print ps-print-loaddefs ps-def lpr jcl-template jcl-copyright jcl-template-lib cperl-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs erlang wc-mode jcl-register jcl-advice jcl-command-subset jcl-duff clearcase reporter jcl-motion jcl-safe-init jcl-site-start jpt-mode erlang-start qp gnus-ml gnus-topic cursor-sensor mm-archive network-stream nsm url-http url-gw puny url-cache url-auth nnrss mm-url nndraft nnmh nnfolder nnml jcl-master jcl-calendar-init jcl-emms-init emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-streams emms-show-all emms-tag-editor emms-mark emms-cache emms-info-ogginfo emms-info-mp3info emms-player-vlc emms-player-mplayer jcl-emms emms-mode-line emms-librefm-stream emms-librefm-scrobbler emms-playing-time emms-info later-do emms-playlist-mode emms-source-playlist xml emms-setup emms-lyrics emms-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf emms-source-file locate emms-player-simple emms emms-compat jcl-gnus-init jcl-gnus jcl-w3m-init jcl-term ange-ftp w3m-search w3m-bookmark w3m-antenna w3m-rss jcl-org-import-icalendar jcl-status jcl-buffer-init org-location-google-maps org-agenda google-maps google-maps-static url-util google-maps-geocode google-maps-base json map org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs autorevert filenotify appt jcl-calendar jcl-swedish-postfix quail holidays hol-loaddefs icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs w3m doc-view jka-compr image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util dired-aux dired-x gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win mailcap starttls smtpmail sendmail message format-spec rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr wid-edit jcl-boot jcl-slime-init slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-autodoc jcl-misc jcl-ert ispell find-lisp jcl-misc-lexical whitespace winner jcl-windows jcl-buffer ido ert find-func ewoc debug jcl-compile slime-editing-commands slime-repl slime-parse slime compile etags xref project arc-mode archive-mode noutline outline easy-mmode pp comint ansi-color hyperspec thingatpt browse-url jcl-face hi-lock dired dired-loaddefs paren mic-paren which-func imenu hl-line jcl-times-init jcl-early-init jcl-compat-init advice jcl-util seq subr-x jcl-times server term disp-table ehelp ring sh-script smie executable jcl-load-path tex-site eimp-autoloads gnugo-autoloads ascii-art-to-unicode-autoloads htmlize-autoloads ipython-autoloads list-utils-autoloads cl memory-usage-autoloads muse-autoloads num3-mode-autoloads finder-inf python-autoloads slime-autoloads info package epg-config url-handlers url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra help-mode easymenu cconv eieio-core cl-macs gv eieio-loaddefs cl-loaddefs pcase cl-lib password-cache url-vars time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1871934 416292) (symbols 48 93974 0) (miscs 40 1916 5849) (strings 32 424806 121321) (string-bytes 1 12468816) (vectors 16 113336) (vector-slots 8 1838936 71202) (floats 8 4213 3168) (intervals 56 54331 6524) (buffers 976 173) (heap 1024 201857 30288)) From unknown Sun Jun 22 11:40:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23142: 25.1.50; Kind of duplicated lines in info TOC Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 22:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23142 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Johan Claesson Cc: 23142@debbugs.gnu.org Received: via spool by 23142-submit@debbugs.gnu.org id=B23142.156435433120599 (code B ref 23142); Sun, 28 Jul 2019 22:53:02 +0000 Received: (at 23142) by debbugs.gnu.org; 28 Jul 2019 22:52:11 +0000 Received: from localhost ([127.0.0.1]:47336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrs1T-0005MB-7J for submit@debbugs.gnu.org; Sun, 28 Jul 2019 18:52:11 -0400 Received: from quimby.gnus.org ([80.91.231.51]:34316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrs1R-0005Lz-8o for 23142@debbugs.gnu.org; Sun, 28 Jul 2019 18:52:09 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrs1K-0001jw-DD; Mon, 29 Jul 2019 00:52:06 +0200 From: Lars Ingebrigtsen References: <8760w55wpg.fsf@bredband.net> Date: Mon, 29 Jul 2019 00:52:02 +0200 In-Reply-To: <8760w55wpg.fsf@bredband.net> (Johan Claesson's message of "Tue, 29 Mar 2016 13:51:07 +0200") Message-ID: <87wog193hp.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Johan Claesson writes: > Regarding the table-of-contents that is generated by typing T in > info. Whenever there is a new level of sections the section name > is printed twice. For example in the start of the elisp > manual [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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 (-) Johan Claesson writes: > Regarding the table-of-contents that is generated by typing T in > info. Whenever there is a new level of sections the section name > is printed twice. For example in the start of the elisp > manual "Introduction" and "Conventions" are duplicated (and the > second "Conventions" is not indented which disturbs the > readability): > > Top:: > Introduction:: > Introduction > Caveats:: > Lisp History:: > Conventions:: > Conventions > Some Terms:: > nil and t:: > [...] Yes, that's kinda ugly. > (defun Info-toc-insert (nodes node-list level curr-file) > "Insert table of contents with references to nodes." > ;; (let ((section "Top")) > (while nodes > (let ((node (assoc (car nodes) node-list))) > ;; (unless (member (nth 2 node) (list nil section)) > ;; (insert (setq section (nth 2 node)) "\n")) > (insert (make-string level ?\t)) > (insert "*Note " (car nodes) ":: \n") > (Info-toc-insert (nth 3 node) node-list (1+ level) curr-file) > (setq nodes (cdr nodes))))) Yup, the following: diff --git a/lisp/info.el b/lisp/info.el index 3203c5f171..abef57f79f 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -2453,8 +2453,6 @@ Info-toc-insert (let ((section "Top")) (while nodes (let ((node (assoc (car nodes) node-list))) - (unless (member (nth 2 node) (list nil section)) - (insert (setq section (nth 2 node)) "\n")) (insert (make-string level ?\t)) (insert "*Note " (car nodes) ":: \n") (Info-toc-insert (nth 3 node) node-list (1+ level) curr-file) makes the TOC much nicer. As a test case, open the ert info file and hit `T'. Does anybody know what the reasoning behind adding these seemingly doubled lines is? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 18:52:15 2019 Received: (at control) by debbugs.gnu.org; 28 Jul 2019 22:52:15 +0000 Received: from localhost ([127.0.0.1]:47339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrs1X-0005MS-IF for submit@debbugs.gnu.org; Sun, 28 Jul 2019 18:52:15 -0400 Received: from quimby.gnus.org ([80.91.231.51]:34330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrs1V-0005MK-IQ for control@debbugs.gnu.org; Sun, 28 Jul 2019 18:52:13 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrs1S-0001kQ-W8 for control@debbugs.gnu.org; Mon, 29 Jul 2019 00:52:12 +0200 Date: Mon, 29 Jul 2019 00:52:10 +0200 Message-Id: <87v9vl93hh.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #23142 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 23142 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) tags 23142 + patch quit From unknown Sun Jun 22 11:40:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23142: 25.1.50; Kind of duplicated lines in info TOC Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 23:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23142 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen Cc: 23142@debbugs.gnu.org, Johan Claesson Received: via spool by 23142-submit@debbugs.gnu.org id=B23142.156435632232547 (code B ref 23142); Sun, 28 Jul 2019 23:26:01 +0000 Received: (at 23142) by debbugs.gnu.org; 28 Jul 2019 23:25:22 +0000 Received: from localhost ([127.0.0.1]:47374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrsXY-0008Sr-TC for submit@debbugs.gnu.org; Sun, 28 Jul 2019 19:25:22 -0400 Received: from buffalo.birch.relay.mailchannels.net ([23.83.209.24]:53604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrsXW-0008Sh-DP for 23142@debbugs.gnu.org; Sun, 28 Jul 2019 19:25:19 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1A8D73413D6; Sun, 28 Jul 2019 23:25:17 +0000 (UTC) Received: from pdx1-sub0-mail-a90.g.dreamhost.com (100-96-30-171.trex.outbound.svc.cluster.local [100.96.30.171]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9D2E0340BBF; Sun, 28 Jul 2019 23:25:16 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a90.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.3); Sun, 28 Jul 2019 23:25:17 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Abaft-Plucky: 48d3d8da7bf8525b_1564356316921_3724457465 X-MC-Loop-Signature: 1564356316921:1529925001 X-MC-Ingress-Time: 1564356316920 Received: from pdx1-sub0-mail-a90.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTP id 580FD7FD1B; Sun, 28 Jul 2019 16:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=UfX8KGWXrox8Y17DjP3PatXAhAs=; b= cKGKkYrFtxbNuJ9LVp6ArDZpLGzpbkRkQsHoS+cMaFpZoHKYcsPZSb4ARibnR8wS yWBAPsQDGYaNJJutLrcE0x5COox2nBkR9IowhpC89lzKRqcsFIPviL8cMi9/RFyt uwjQmaqfIm/S09y6z0TwWe8sFwn/TCCUjGCgjBu5VHk= Received: from mail.jurta.org (m91-129-103-76.cust.tele2.ee [91.129.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTPSA id 2F4DA7FD0F; Sun, 28 Jul 2019 16:25:07 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a90 From: Juri Linkov Organization: LINKOV.NET References: <8760w55wpg.fsf@bredband.net> <87wog193hp.fsf@mouse.gnus.org> Date: Mon, 29 Jul 2019 02:23:57 +0300 In-Reply-To: <87wog193hp.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Mon, 29 Jul 2019 00:52:02 +0200") Message-ID: <87d0htn3oy.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrledtgddvtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrjeeinecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtfedrjeeipdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheplhgrrhhsihesghhnuhhsrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-Spam-Score: 0.0 (/) 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 (-) > Does anybody know what the reasoning behind adding these seemingly > doubled lines is? Sometimes section names are more informative than node names. For example, open the Emacs manual and compare node vs section names: node names vs section names Basic:: Basic Editing Commands Display:: Controlling the Display International:: International Character Set Support Maintaining:: Maintaining Large Programs Dired:: Dired, the Directory Editor etc. Most of the time short node names are unintelligible without explanation provided by section names. Also section names provide additional help in logical division of the manual, e.g. Important Text-Changing Commands Major Structures of Emacs etc. From unknown Sun Jun 22 11:40:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23142: 25.1.50; Kind of duplicated lines in info TOC Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jul 2019 11:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23142 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Juri Linkov Cc: 23142@debbugs.gnu.org, Johan Claesson Received: via spool by 23142-submit@debbugs.gnu.org id=B23142.15643992273941 (code B ref 23142); Mon, 29 Jul 2019 11:21:02 +0000 Received: (at 23142) by debbugs.gnu.org; 29 Jul 2019 11:20:27 +0000 Received: from localhost ([127.0.0.1]:47735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hs3ha-00011U-PF for submit@debbugs.gnu.org; Mon, 29 Jul 2019 07:20:26 -0400 Received: from quimby.gnus.org ([80.91.231.51]:41810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hs3hY-00011M-RM for 23142@debbugs.gnu.org; Mon, 29 Jul 2019 07:20:25 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hs3hU-0001PJ-BR; Mon, 29 Jul 2019 13:20:22 +0200 From: Lars Ingebrigtsen References: <8760w55wpg.fsf@bredband.net> <87wog193hp.fsf@mouse.gnus.org> <87d0htn3oy.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUPAw4MAQvPflDhpE/C akRNKh+mUjQiDRXZl1F4AAACY0lEQVQ4jW2UTXPbIBCG0XRUrvK0rs9dEfUOcXrtUKJz0gni2moQ uUqdKPz9votsx5PpyrJhH/aDXbCodv+VRpwGa95E5pPiAiS0C975HdgtQlSHuaqqawCdFMsCz81O illeADw8hrCUQX7I+QyaWUiEKECewwA0Wc4zrw3ZQ9ssVbNWnK70J5l8Og8f2eLJkXLOERG+3CYL wCE6u82G5OIJ/AHYY6LKzJJyV+ALFKT6J2UJgw7cKvpRADGwDBQ+EdO2gNZoglaxIZ5EZMx3gM/G GFZRhCv8qLHdwCcARfDXRxeVtTpegagUYiAIeKvNGxi1dSMRYjlrWI4b0KaEJqVh2Z7BBx5oRW2J bUfN5Cg20JqO9K3lHDjKGyCs1iqlyMWxJ4u/cKSVNZRcSvAWrflZwEt728K5uY28FeUitWoDtkOF rLlDvl1yrm/pjm4YOFcsuMhustRZZHIP8Apj6sikLkFG6pCiLSDCPlkzsiMGZHrHoOaFKXK+LqKQ CNin6QK4CZq4SZA+PRew1B7HAP3qhxHHxN5kHwD2YbfzaRqs0T6RSz7+FjJIHJ9HXIIU/GiO9UBd eHUPALA4LAyq9Zf5eoiUxOBmIUIGwDEfaNm35tthxJaf2MIz8BUU9y8o6UfsdCD3LOqJweAHW5qg bUkW8YeJg3sUAp0tjeT+uj6VDTar97x11DWyDjJND6JcHBZ/EZ4JIRqB+yVEgcjzWiRWowi4aMH7 2oc6nIEMqwwAYfarn0N9McQlzABzEB7VO1tkuA9rLhbZr7Cty2I8HNlznDXAJ1g4rS//OTPf/ODz Rf4BHtj7VtrH1nkAAAAASUVORK5CYII= Date: Mon, 29 Jul 2019 13:20:20 +0200 In-Reply-To: <87d0htn3oy.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 29 Jul 2019 02:23:57 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: >> Does anybody know what the reasoning behind adding these seemingly >> doubled lines is? > > Sometimes section names are more informative than node names. > For example, open the Emacs manual and co [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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 (-) Juri Linkov writes: >> Does anybody know what the reasoning behind adding these seemingly >> doubled lines is? > > Sometimes section names are more informative than node names. > For example, open the Emacs manual and compare node vs section names: > > node names vs section names > > Basic:: Basic Editing Commands That's true. Perhaps we could suppress them only if they are identical to the node names somehow? I'm not familiar at all with the Info structures and my 30-second naive stab at making that happen failed. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 11:40:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23142: 25.1.50; Kind of duplicated lines in info TOC Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jul 2019 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23142 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen Cc: 23142@debbugs.gnu.org, Johan Claesson Received: via spool by 23142-submit@debbugs.gnu.org id=B23142.156442442910458 (code B ref 23142); Mon, 29 Jul 2019 18:21:02 +0000 Received: (at 23142) by debbugs.gnu.org; 29 Jul 2019 18:20:29 +0000 Received: from localhost ([127.0.0.1]:49102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsAG4-0002ia-Ip for submit@debbugs.gnu.org; Mon, 29 Jul 2019 14:20:28 -0400 Received: from dragonfly.birch.relay.mailchannels.net ([23.83.209.51]:21950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsAG2-0002iO-J6; Mon, 29 Jul 2019 14:20:27 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5A7C18C26E6; Mon, 29 Jul 2019 18:20:25 +0000 (UTC) Received: from pdx1-sub0-mail-a43.g.dreamhost.com (100-96-89-15.trex.outbound.svc.cluster.local [100.96.89.15]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8053D8C2144; Mon, 29 Jul 2019 18:20:19 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a43.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Mon, 29 Jul 2019 18:20:25 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Abiding-Celery: 1d99a13c6fb25518_1564424419810_2045400876 X-MC-Loop-Signature: 1564424419810:259502353 X-MC-Ingress-Time: 1564424419810 Received: from pdx1-sub0-mail-a43.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a43.g.dreamhost.com (Postfix) with ESMTP id 39AF583084; Mon, 29 Jul 2019 11:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=TybW9EPX98muRATNEq+V2nkqef4=; b= I525tBm960gFQBlDXw7EwVDNCCw0bFoZ3J0cLSBiPjwccSg19e+AN8N9iF7ZIHpk TdaF4xpUS4sf21uH9DT3gLXQ8wvsMqjnvzMw7PtSIlmRy2f3epntky4xDhXShd/R 7H5mE3PxGdZadYuDeNrmrq4GwNqTSU3yalQM7XatacI= Received: from mail.jurta.org (m91-129-103-76.cust.tele2.ee [91.129.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a43.g.dreamhost.com (Postfix) with ESMTPSA id 96D2C8307F; Mon, 29 Jul 2019 11:20:13 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a43 From: Juri Linkov Organization: LINKOV.NET References: <8760w55wpg.fsf@bredband.net> <87wog193hp.fsf@mouse.gnus.org> <87d0htn3oy.fsf@mail.linkov.net> Date: Mon, 29 Jul 2019 21:19:31 +0300 In-Reply-To: (Lars Ingebrigtsen's message of "Mon, 29 Jul 2019 13:20:20 +0200") Message-ID: <87y30gog98.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrledugdduvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrdejieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdejiedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehlrghrshhisehgnhhushdrohhrghenucevlhhushhtvghrufhiiigvpedv X-Spam-Score: 0.0 (/) 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 (-) tags 23142 + fixed close 23142 27.0.50 thanks >>> Does anybody know what the reasoning behind adding these seemingly >>> doubled lines is? >> >> Sometimes section names are more informative than node names. >> For example, open the Emacs manual and compare node vs section names: >> >> node names vs section names >> >> Basic:: Basic Editing Commands > > That's true. Perhaps we could suppress them only if they are identical > to the node names somehow? Good idea. In addition to suppressing doubled lines I also added indentation that achieves a much better looking TOC by aligning section names at the same level with subnode names. From unknown Sun Jun 22 11:40:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23142: 25.1.50; Kind of duplicated lines in info TOC Resent-From: Johan Claesson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2019 20:40:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23142 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch To: Juri Linkov Cc: Lars Ingebrigtsen , 23142@debbugs.gnu.org Received: via spool by 23142-submit@debbugs.gnu.org id=B23142.156451920010276 (code B ref 23142); Tue, 30 Jul 2019 20:40:05 +0000 Received: (at 23142) by debbugs.gnu.org; 30 Jul 2019 20:40:00 +0000 Received: from localhost ([127.0.0.1]:51271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsYue-0002fe-2z for submit@debbugs.gnu.org; Tue, 30 Jul 2019 16:40:00 -0400 Received: from mail1426c50.megamailservers.eu ([91.136.14.26]:44178 helo=mail102c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsYub-0002fB-QD for 23142@debbugs.gnu.org; Tue, 30 Jul 2019 16:39:59 -0400 X-Authenticated-User: johanclaesson@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1564519190; bh=+k3mlM3QHJcLybVCiKR2CjhZOZBjgM5mpXQKblSlzC4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=oOuLMJHn3unFxKtKPvBYgZH2S8FQV8NOeL80K+vLb7e7RP/ALhoGS7D6sjK+IP5TD 2+dLIJLdzhAXThcM4mV3F0Gx3UuSEPJ0JBuTWhv/WuPlh+/UWYLHu6q53Cq6MS1xo1 miNsBeW6ZgN7QV34WFjkQwYhjVYF9sG5HVDkFBz8= Feedback-ID: johanclaesson@b Received: from goblin (c-629d72d5.04-99-73746f3.bbcust.telenor.se [213.114.157.98]) (authenticated bits=0) by mail102c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x6UKdmtB025356; Tue, 30 Jul 2019 20:39:50 +0000 From: Johan Claesson In-Reply-To: <87y30gog98.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 29 Jul 2019 21:19:31 +0300") References: <8760w55wpg.fsf@bredband.net> <87wog193hp.fsf@mouse.gnus.org> <87d0htn3oy.fsf@mail.linkov.net> <87y30gog98.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Date: Tue, 30 Jul 2019 22:39:48 +0200 Message-ID: <8736infe97.fsf@bredband.net> MIME-Version: 1.0 Content-Type: text/plain X-CTCH-RefID: str=0001.0A0B0207.5D40AB16.003D, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=IrUwjo3g c=1 sm=1 tr=0 a=wrg97mrwCq28OhxkjtsfCA==:117 a=wrg97mrwCq28OhxkjtsfCA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=k7Nmy7atTz5kk0ATjXsA:9 X-Spam-Score: 0.0 (/) 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 (-) Thanks Juri and Lars. The TOC looks great now. Regards, /Johan On Mon, Jul 29 2019, Juri Linkov wrote: > tags 23142 + fixed > close 23142 27.0.50 > thanks > >>>> Does anybody know what the reasoning behind adding these seemingly >>>> doubled lines is? >>> >>> Sometimes section names are more informative than node names. >>> For example, open the Emacs manual and compare node vs section names: >>> >>> node names vs section names >>> >>> Basic:: Basic Editing Commands >> >> That's true. Perhaps we could suppress them only if they are identical >> to the node names somehow? > > Good idea. In addition to suppressing doubled lines I also > added indentation that achieves a much better looking TOC > by aligning section names at the same level with subnode names.