From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ke Lu Newsgroups: gmane.emacs.help Subject: How to auto hide all functions when open a source file Date: Sat, 10 May 2008 22:25:27 +0900 Organization: Bentium Ltd. (CN99) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210445140 17125 80.91.229.12 (10 May 2008 18:45:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 May 2008 18:45:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 10 20:46:16 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 1Juu5H-0004U4-9W for geh-help-gnu-emacs@m.gmane.org; Sat, 10 May 2008 20:46:15 +0200 Original-Received: from localhost ([127.0.0.1]:40005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Juu4Y-0005co-QO for geh-help-gnu-emacs@m.gmane.org; Sat, 10 May 2008 14:45:30 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: softbank218118058050.bbtec.net Original-X-Trace: news.cn99.com 1210425927 5213 218.118.58.50 (10 May 2008 13:25:27 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Sat, 10 May 2008 13:25:27 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:Ae1Iy2WkWFx/LVa48zFknYYU9Mg= Original-Xref: news.stanford.edu gnu.emacs.help:158504 X-Mailman-Approved-At: Sat, 10 May 2008 14:42:52 -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:53879 Archived-At: Hi, I use emacs to edit c/c++/java/php files. Is there any way to auto hide all functions when I open a source file. For example,It hope it looks like Class XXX { var v1 = "a"; var v2 = "b"; function f1 .. function f2 .. } I would like it can automatic be done,not by hs-hide-block,etc.