Re: HTML node names: Not emitting 'Top (Manual name)'</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=help-texinfo@gnu.org&q=from:%22pertusus%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">pertusus</span></span></a></span> <span class="date"><a href="/search?l=help-texinfo@gnu.org&q=date:20240317" rel="nofollow">Sun, 17 Mar 2024 06:27:18 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>On Sun, Mar 17, 2024 at 01:04:35PM +0000, Gavin Smith wrote: > On Sat, Mar 16, 2024 at 05:48:39PM +0200, Eli Zaretskii wrote: > > > Date: Sat, 16 Mar 2024 16:13:35 +0100 > > > From: pertu...@free.fr > > > Cc: gavinsmith0...@gmail.com, ar...@aarsen.me, help-texinfo@gnu.org > > > > > > On Sat, Mar 16, 2024 at 04:49:11PM +0200, Eli Zaretskii wrote: > > > > > Here are my interrogations. First I have three questions about > > > > > removed > > > > > HTML in the that look suspicious to me. I think that it should be > > > > > checked if this is intended, my wild guess is that it is not: > > > > > 1) the Copyright notice in comments at the very beginning is removed. > > > > > > > > Is it important? > > > > > > I think so, it is purposely done that way, I believe, and matches with > > > the '(maintain)Copyright Notices' node information: > > > > The copyright is stated elsewhere anyway, so this is not relevant. > > It would be easy enough to add a customization variable to omit the > copyright notice but I don't know if it is worth it. > > The code that appears to strip the comment out is very short and probably > not the main source of complexity in the Emacs Lisp program: > > (unless texi5 > (search-forward "<!--") > (goto-char (match-beginning 0)) > (delete-region opoint (point)) > (search-forward "<meta http-equiv=\"Content-Style") > (setq opoint (match-beginning 0)))</pre><pre> I am not sure that it is that code, as texi5 is defined by, I believe let ((texi5 (search-forward "<!DOCTYPE" nil t)) opoint) So it should be set as there is a "<!DOCTYPE" in recent Texinfo releases. I think that the code you flagged out was there to remove the CSS or something along for makeinfo <= 4. My feeling is that the removal of the Copyright comment is inentended, as it is left in HTML files split by node. I believe it is rather because of the following that deletes everything between the first meta, which should be <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> and <title>: (search-forward "<title>") (delete-region opoint (match-beginning 0)) (search-forward "</title>\n") But it is more a wild guess. -- Pat </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg03264.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#03266">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#03266">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg03267.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg03246.html">Re: HTML <title> node names: Not emitting 'Top (Man...</a></span> <span class="sender italic">Patrice Dumas</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg03248.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Eli Zaretskii</span></li> <li class="icons-email"><span class="subject"><a href="msg03249.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Gavin Smith</span></li> <li class="icons-email"><span class="subject"><a href="msg03251.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Eli Zaretskii</span></li> <li class="icons-email"><span class="subject"><a href="msg03253.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">pertusus</span></li> <li class="icons-email"><span class="subject"><a href="msg03256.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Eli Zaretskii</span></li> <li class="icons-email"><span class="subject"><a href="msg03257.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">pertusus</span></li> <li class="icons-email"><span class="subject"><a href="msg03258.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Eli Zaretskii</span></li> <li class="icons-email"><span class="subject"><a href="msg03259.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">pertusus</span></li> <li class="icons-email"><span class="subject"><a href="msg03264.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Gavin Smith</span></li> <li class="icons-email tSliceCur"><span class="subject">Re: HTML <title> node names: Not emitting 'Top...</span> <span class="sender italic">pertusus</span></li> <li class="icons-email"><span class="subject"><a href="msg03267.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Gavin Smith</span></li> <li class="icons-email"><span class="subject"><a href="msg03261.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Gavin Smith</span></li> <li class="icons-email"><span class="subject"><a href="msg03260.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">pertusus</span></li> <li class="icons-email"><span class="subject"><a href="msg03262.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Gavin Smith</span></li> <li class="icons-email"><span class="subject"><a href="msg03268.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Eli Zaretskii</span></li> <li class="icons-email"><span class="subject"><a href="msg03269.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">pertusus</span></li> <li class="icons-email"><span class="subject"><a href="msg03263.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Arsen Arsenović</span></li> <li class="icons-email"><span class="subject"><a href="msg03250.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Patrice Dumas</span></li> <li class="icons-email"><span class="subject"><a href="msg03252.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Eli Zaretskii</span></li> <li class="icons-email"><span class="subject"><a href="msg03254.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Patrice Dumas</span></li> </ul> </ul> </ul> </ul> </ul> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: HTML <title> node names: Not emitting 'Top (Manual name)'"> <input type="hidden" name="msgid" value="Zfbvr9CzBEZ2lmJq@free.fr"> <input type="hidden" name="relpath" value="help-texinfo@gnu.org/msg03266.html"> <input type="submit" value=" pertusus "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="help-texinfo@gnu.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search help-texinfo"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/help-texinfo@gnu.org/">help-texinfo - all messages</a></li> <li class="icons-about"><a href="/help-texinfo@gnu.org/info.html">help-texinfo - about the list</a></li> <li class="icons-expand"><a href="/search?l=help-texinfo@gnu.org&q=subject:%22Re%5C%3A+HTML+%3Ctitle%3E+node+names%5C%3A+Not+emitting+%27Top+%5C%28Manual+name%5C%29%27%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg03264.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg03267.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">Zfbvr9CzBEZ2lmJq@free.fr</li> </ul> </div> </body> </html>