From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Lee Newsgroups: gmane.emacs.help Subject: Re: expand/collapse{} in c++ Date: Fri, 26 Aug 2005 21:56:06 GMT Organization: x Message-ID: References: <87y86s2zl5.fsf@wash.edu> <87fyswfniv.fsf@wash.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125093761 27226 80.91.229.2 (26 Aug 2005 22:02:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2005 22:02:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 27 00:02:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E8mGG-0007Zv-Qm for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Aug 2005 00:01:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E8mKC-0002OV-AT for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Aug 2005 18:05:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!newscon02.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr24.news.prodigy.net.POSTED!404941e6!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:feZC3Y7+2B9srzVlEz0vRiOtwkU= Original-Lines: 7 Original-NNTP-Posting-Host: 66.194.80.196 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr24.news.prodigy.net 1125093366 ST000 66.194.80.196 (Fri, 26 Aug 2005 17:56:06 EDT) Original-NNTP-Posting-Date: Fri, 26 Aug 2005 17:56:06 EDT X-UserInfo1: Q[OSS\WGPZYKRT\YN[OJNW@@YJ_ZTB\MV@BJ]Q]KEYUNDQUCCNSUAACY@L[ZX__HGFD]JBJNSFXTOOGA_VWY^_HG@FW_HUTHOH]TBPGCO\P^PLP^@[GLHUK@WLECKFVL^TYG[@RMWQXIWM[SDDYWNLG_G[_BWUCHFY_Y@AS@Q[B\APPF@DCZM_PG_VSCPQZM Original-Xref: shelby.stanford.edu gnu.emacs.help:133486 Original-To: help-gnu-emacs@gnu.org 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:29021 Archived-At: >>>> Baloff writes: Baloff> (add-hook 'c++-mode-hook 'hs-minor-mode t) ;for block hide/show Think you want: (add-hook 'c++-mode-hook (lambda () (hs-minor-mode 1)))