unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Srikanth K <srikanth.krishnamachary@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Newbie: How to customize the headline-text with outline-mode
Date: Mon, 17 Mar 2008 03:09:45 -0700 (PDT)	[thread overview]
Message-ID: <afb58524-2477-467c-8755-6387c41cef07@d21g2000prf.googlegroups.com> (raw)

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


             reply	other threads:[~2008-03-17 10:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17 10:09 Srikanth K [this message]
2008-03-19  1:00 ` Newbie: How to customize the headline-text with outline-mode Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=afb58524-2477-467c-8755-6387c41cef07@d21g2000prf.googlegroups.com \
    --to=srikanth.krishnamachary@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).