emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115864: * admin/admin.el (manual-html-fix-index-2):


From: Glenn Morris
Subject: [Emacs-diffs] trunk r115864: * admin/admin.el (manual-html-fix-index-2): Fix minor Texinfo 4 issue
Date: Sat, 04 Jan 2014 03:18:36 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115864
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2014-01-03 19:18:33 -0800
message:
  * admin/admin.el (manual-html-fix-index-2): Fix minor Texinfo 4 issue
  with start of detailed menu.
modified:
  admin/ChangeLog                changelog-20091113204419-o5vbwnq5f7feedwu-2226
  admin/admin.el                 admin.el-20091113204419-o5vbwnq5f7feedwu-2254
=== modified file 'admin/ChangeLog'
--- a/admin/ChangeLog   2014-01-04 02:31:56 +0000
+++ b/admin/ChangeLog   2014-01-04 03:18:33 +0000
@@ -2,6 +2,7 @@
 
        * admin.el (manual-html-fix-node-div): Handle Texinfo 5's movable <hr>.
        (manual-html-fix-index-2): Tweak Texinfo 5 table format.
+       Fix minor Texinfo 4 issue with start of detailed menu.
 
 2014-01-03  Glenn Morris  <address@hidden>
 

=== modified file 'admin/admin.el'
--- a/admin/admin.el    2014-01-04 02:35:45 +0000
+++ b/admin/admin.el    2014-01-04 03:18:33 +0000
@@ -508,9 +508,6 @@
                 ;; The Emacs and Elisp manual have some text at the
                 ;; start of the detailed menu that is not part of the menu.
                 ;; Other manuals do not.
-                ;; FIXME Texinfo 4 branch does not handle this correctly.
-                ;; See eg s/emacs/manual/html_node/eintr/index.html
-                ;; start of "Detailed Node Listing".
                 (if (re-search-forward "in one step:" (line-end-position 3) t)
                     (forward-line 1))
                 (insert "</p>\n")
@@ -568,7 +565,12 @@
          (replace-match "  </td></tr></table>\n
 <h3>Detailed Node Listing</h3>\n\n" t t)
          (search-forward "<p>")
-         (search-forward "<p>" nil t)
+         ;; FIXME Fragile!
+         ;; The Emacs and Elisp manual have some text at the
+         ;; start of the detailed menu that is not part of the menu.
+         ;; Other manuals do not.
+         (if (looking-at "Here are some other nodes")
+             (search-forward "<p>"))
          (goto-char (match-beginning 0))
          (skip-chars-backward "\n ")
          (setq open-td nil)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]