Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: nxml-mode 20041004: msg#00019

emacs.nxml.general

Subject: RE: nxml-mode 20041004


> -----Original Message-----
> From: James Clark [mailto:jjc@xxxxxxxxxxxxxxxxxxxx]
> Sent: 04 October 2004 07:38
>
>
>
>
> The main change in this release is support for outlining.
> This is a bit
> fancier than the folding support that I had originally envisaged. The
> basic idea is to provide similar functionality to outline
> mode in an XML
> context.
>
> The downside is that it can't work completely heuristically.
> You need to
> ensure that the local names of your section and heading elements are
> matched by nxml-section-element-name-regexp and
> nxml-heading-element-name-regexp respectively. You can use
> customize-variable to modify these. If there are common names for
> section and heading elements that aren't yet matched, let me know, so
> that I can add them to the regexp. In the longer term, I think nXML
> mode needs some general way to associate editing behavior (beyond what
> can be inferred from a schema) with document types, but I haven't
> figured out yet how this should work.
>
Seems to work for me. I use docbook with sectN elements, so I had to add
sect[1-9] to the nxml-section-element-name-regexp. Maybe you should add
something similar to the default regexp.

> Once you've set things up, the usual outline mode commands work except
> with a prefix of C-c C-o instead of C-c. There are more details in the
> manual. If you don't want to read the FM and don't know outline mode,
> then try "Show Outline Only" from the menu, and use the
> mouse. You can
> also use RET to expand things.
>
Would it be possible to add more keys when on an outline line, like + and - to
expand/colapse things? I don't know exactly what's allowed by the Emacs
conventions, but easier to type keys would be handy.

Nice to have some section/heading things that we can share with the speedbar
code.

Thanks,
//Peter


------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/2U_rlB/TM
--------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/

<*> To unsubscribe from this group, send an email to:
emacs-nxml-mode-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/







<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe