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:%22Gavin+Smith%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Gavin Smith</span></span></a></span> <span class="date"><a href="/search?l=help-texinfo@gnu.org&q=date:20240315" rel="nofollow">Fri, 15 Mar 2024 14:22:38 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>On Fri, Mar 15, 2024 at 09:42:28AM +0200, Eli Zaretskii wrote: > > What we envisionned, instead, was to provide with the HTML customization > > API to do the kind of modifications you want to do. I can imagine a > > number of reasons why this solution is not that attractive for your use > > case, for instance it does not allow to be compatible with a wide range > > of makeinfo releases, may not be that stable, is in Perl, and could > > require important work. Still, maybe you could consider using that > > possibility in the future if you face incompatible changes again. > > I think the main reason this solution is not used is that it is still > a kind of "black magic" for almost everyone, definitely for me > personally. The relevant sections of the Texinfo manual are basically > a very terse man-page style reference of options in alphabetical > order, without any kind of tutorial or general explanations or > examples (without which it is hard to even understand some of the > customization variables unless one is an HTML expert). This is very > unlike the other sections of the manual, which invariably provide > detailed background explanations for each group of commands, describe > the recommended practices, and provide a lot of examples. I write > Texinfo manuals for 20 years, and still consult the Texinfo manual all > the time, always finding valuable information in it in the sections > that describe the Texinfo language and how to use them in a > well-written manual. > > With better documentation, it is quite possible that we could consider > switching most, if not all, of the code in admin.el to using the > texi2any customization capabilities -- provided again that those > customization variables can be relied upon to be stable enough, > without fearing they will be completely redesigned at some future > time.</pre><pre> It is probably better to use customization with options and variables ("data driven") than customization based on writing code that hooks into the internals ("code driven"), if the former is possible to achieve. This is simpler and easier to understand. For example, I looked at the mentioned code at <a rel="nofollow" href="https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/admin.el">https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/admin.el</a> (the manual-html-fix-* functions) and it is not instantly apparent what all of the code is supposed to achieve. Hence, it would be better to try to understand what the Emacs distribution code is doing to the HTML output and if customization variables and/or the default output could support this. The code driven customization is more coupled to internals that could change, although in theory is more powerful. </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg03248.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#03249">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#03249">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg03251.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="msg03241.html">Re: HTML <title> node names: Not emitting 'Top (Man...</a></span> <span class="sender italic">Arsen Arsenović</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg03242.html">Re: HTML <title> node names: Not emitting 'Top...</a></span> <span class="sender italic">Gavin Smith</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg03243.html">Re: HTML <title> node names: Not emitting ...</a></span> <span class="sender italic">Eli Zaretskii</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg03244.html">Re: HTML <title> node names: Not emitt...</a></span> <span class="sender italic">Gavin Smith</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg03245.html">Re: HTML <title> node names: Not e...</a></span> <span class="sender italic">Arsen Arsenović</span></li> <li class="icons-email"><span class="subject"><a href="msg03247.html">Re: HTML <title> node names: Not e...</a></span> <span class="sender italic">Eli Zaretskii</span></li> <li class="icons-email"><span class="subject"><a href="msg03255.html">Re: HTML <title> node names: Not e...</a></span> <span class="sender italic">Patrice Dumas</span></li> <li class="icons-email"><span class="subject"><a href="msg03265.html">Re: HTML <title> node names: Not e...</a></span> <span class="sender italic">Patrice Dumas</span></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg03246.html">Re: HTML <title> node names: Not emitt...</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 e...</a></span> <span class="sender italic">Eli Zaretskii</span></li> <li class="icons-email tSliceCur"><span class="subject">Re: HTML <title> node names: Not e...</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 e...</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 e...</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 e...</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 e...</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 e...</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 e...</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 e...</a></span> <span class="sender italic">Gavin Smith</span></li> <li class="icons-email"><span class="subject"><a href="msg03266.html">Re: HTML <title> node names: Not e...</a></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 e...</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 e...</a></span> <span class="sender italic">Gavin Smith</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="ZfS8Cbvq3pW8Ihl+@beigestar"> <input type="hidden" name="relpath" value="help-texinfo@gnu.org/msg03249.html"> <input type="submit" value=" Gavin Smith "> </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="msg03248.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg03251.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">ZfS8Cbvq3pW8Ihl+@beigestar</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9e8f60d0dd19a0ea',t:'MTc3NTYzMTQ0OQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>