PlanDuSite ModificationsRécentes Nouvelles SectionElisp CommentFaire

InfoPlus

Library info+.el extends the standard Emacs library info.el in several ways. Info+ provides:

You can toggle each of the ‘Info-fontify-*-flag’ options from the ‘Info’ menu or by command.
Here is a screenshot of the *Info* buffer, showing some of the highlighting:
DrewsEmacsInfoImage
DrewsEmacsInfoCrumbsInHeaderImage
Use ‘Info-merge-subnodes’ to extract a self-contained report (possibly the whole manual) from an Info manual. The report is itself an Info buffer, with hyperlinks and normal Info behavior.
There are various prefix-argument options that govern just how subnodes are treated (recursively or not, for instance). There are a few user variables that let you customize the report appearance.
Here is a screenshot of a report. I removed most of the text in each node (replacing it by a narrow band of white with “. . .”) so that I could show more than one node in the screenshot; the real report is a buffer 322 lines long.
DrewsEmacsInfoMerged
You can convert such a report to HTML using menu Tools > HTMLize Buffer (‘mkhtml-any-buffer’) from library Lisp:mkhtml.el. For more information, see SaveAsHtml. (That code is quite old, however.)

See Also: Icicles - Info Enhancements.

Discussion and Issues

Your recognition of info-quoted-name seems like is not right, e.g. `(a list of (+ 2 3) elements) info-quoted-name highlight it. – ahei

Only if it is followed (somewhere) by a normal single-quote: '. But yes, otherwise, you are correct.

Highlighting `...' and "..." strings is problematic. In general, the results are good, but there are several things that can throw it off. Fortunately, these things do not occur that commonly in manuals – but they do occur. The more typical problem is an isolated " character referred to as such in the manual (e.g. ?"). You’ll just have to live with it or, if you think it’s not worth it, customize ‘Info-fontify-quotations-flag’ to nil. – DrewAdams

OK, I see – ahei


Hi! A quick question: how to prevent info+ to split my window. I want the original info behavior, if i type M-x info, i want a full window to read. Thanks! --PasJa

Should be OK now. I had some hard-coded cruft leftover from 1999. Thx – DrewAdams


Lisp:info+.el

CategoryDocumentation CategoryHelp CategoryHypermedia CategoryModes