emacs-devel
[Top][All Lists]
Advanced

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

Re: INFO on add-ons


From: Robert J. Chassell
Subject: Re: INFO on add-ons
Date: Thu, 5 Sep 2002 13:37:44 +0000 (UTC)

"Stephen J. Turnbull" <address@hidden> writes:

    However, I would also want other constraints, ...  In particular,
    nodes would be textually nested in the markup, rather than
    implicitly via linking commands such as @menu and the optional
    arguments of @node.

I am not sure exactly what you mean.  Would an enhancement of
`texinfo-show-structure' to enable an outline minor mode or folding
do what you want?

For example, you can run a Texinfo outline mode using this regexp:

(setq outline-regexp
      (concat
       "@major\\|"
       "@chapte\\|"
       "@chaphe\\|"
       "@unnumb\\|"
       "@append\\|"
       "@section\\|"
       "@unnumbe\\|"
       "@appendi\\|"
       "@appendi\\|"
       "@heading\\|"
       "@subsecti\\|"
       "@unnumber\\|"
       "@appendix\\|"
       "@subheadi\\|"
       "@subsubsect\\|"
       "@unnumbered\\|"
       "@appendixsu\\|"
       "@subsubhead"))

but the end of a segment is the beginning of the next heading, so the
node and comment lines that preceed the next heading line are included
in the previous segment.

Currently you can run `texinfo-show-structure', but it does not work
well with Outline mode.  Would a combination do the job for you?

-- 
    Robert J. Chassell            address@hidden  address@hidden
    Rattlesnake Enterprises       http://www.rattlesnake.com
    Free Software Foundation      http://www.gnu.org   GnuPG Key ID: 004B4AC8




reply via email to

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