From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Srikanth K Newsgroups: gmane.emacs.help Subject: Newbie: How to customize the headline-text with outline-mode Date: Mon, 17 Mar 2008 03:09:45 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205758725 24463 80.91.229.12 (17 Mar 2008 12:58:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2008 12:58:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 17 13:59:14 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JbEvp-0001TI-8G for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Mar 2008 13:59:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbEvF-0003rk-OO for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Mar 2008 08:58:37 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d21g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 203.126.136.223 Original-X-Trace: posting.google.com 1205748586 22189 127.0.0.1 (17 Mar 2008 10:09:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 17 Mar 2008 10:09:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d21g2000prf.googlegroups.com; posting-host=203.126.136.223; posting-account=BIBhGAkAAACtFgGBZj7YEXXJVCxqtU__ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041215 Firefox/1.0 Red Hat/1.0-12.EL4,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:157090 X-Mailman-Approved-At: Mon, 17 Mar 2008 08:57:14 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52465 Archived-At: 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 Test Scenario: Test Case1: Data:.... Result: Pass|FAIL Test Case2: Data:... Result PASS|FAIL ... I would like this to be shown in outline mode as follows Test Scenario: Test Case1: Result:Pass|FAIL ...(Rest of data hidden) Test Case2: Result:PASS|FAIL(rest of data hidden) 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