unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Newbie: How to customize the headline-text with outline-mode
@ 2008-03-17 10:09 Srikanth K
  2008-03-19  1:00 ` Xavier Maillard
  0 siblings, 1 reply; 2+ messages in thread
From: Srikanth K @ 2008-03-17 10:09 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,
   I am new to emacs and got fascinated with the outline-mode.  It is
really cool but I wanted to customize it a bit more.

    The text of file that view(generated as a result of running a test-
suite) generally has the following format
<snip>
Test Scenario:
Test Case1:
Data:....
Result: Pass|FAIL

Test Case2:
Data:...
Result PASS|FAIL

...
</snip>

I would like this to be shown in outline mode as follows
<snip>
Test Scenario:
Test Case1: Result:Pass|FAIL ...(Rest of data hidden)
Test Case2: Result:PASS|FAIL(rest of data hidden)
<snip>

The objective is that that I can quickly locate the test-case that
fails and expand it out.

I understand that I can customize the the definition of the header by
changing the contents of "outline-regexp", but could not figure out
how I can change the text that will be displayed after hiding the
leaves.

I did search this group and also on google for any tips but failed.

Any help would be highly appreciated.

thanks
Srikanth


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-19  1:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17 10:09 Newbie: How to customize the headline-text with outline-mode Srikanth K
2008-03-19  1:00 ` Xavier Maillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).