[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Newbie: How to customize the headline-text with outline-mode
From: |
Srikanth K |
Subject: |
Newbie: How to customize the headline-text with outline-mode |
Date: |
Mon, 17 Mar 2008 03:09:45 -0700 (PDT) |
User-agent: |
G2/1.0 |
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
- Newbie: How to customize the headline-text with outline-mode,
Srikanth K <=