From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Paulo J. Matos" Newsgroups: gmane.emacs.help Subject: Re: Toggle Keybinding Date: Mon, 31 Jul 2006 23:28:35 +0100 Message-ID: <11b141710607311528l25ceaac3nfcc95bfe2cd3e464@mail.gmail.com> References: <11b141710607300232l28202a8aw2f1c0bf3122c62e2@mail.gmail.com> Reply-To: pocm@sat.inesc-id.pt NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154384945 10242 80.91.229.2 (31 Jul 2006 22:29:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jul 2006 22:29:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 01 00:29:02 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G7gFp-00006b-K3 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Aug 2006 00:28:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7gFp-0001Qy-2d for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Jul 2006 18:28:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7gFc-0001Pg-1a for help-gnu-emacs@gnu.org; Mon, 31 Jul 2006 18:28:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7gFY-0001OX-VV for help-gnu-emacs@gnu.org; Mon, 31 Jul 2006 18:28:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7gFY-0001OP-Mj for help-gnu-emacs@gnu.org; Mon, 31 Jul 2006 18:28:36 -0400 Original-Received: from [64.233.182.190] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7gIJ-0007Re-Eu for help-gnu-emacs@gnu.org; Mon, 31 Jul 2006 18:31:27 -0400 Original-Received: by nf-out-0910.google.com with SMTP id l24so56653nfc for ; Mon, 31 Jul 2006 15:28:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OfvGEUGjzXl7Yhk4igiLfKgcn33RlGxK1ZoPgyxwJHVpOWlRZJTLUThOq6/URR6HmzgPl8tdpoo/HSKicBKtJm/nZ///RgoC7jpHYBV1tRpkIEGWMP4qx2b7GqPnQdI9CpzsXDjIGWOzRxxXH1EiHSDYoUSVqMUzmPlIn7KGQIc= Original-Received: by 10.78.177.3 with SMTP id z3mr46845hue; Mon, 31 Jul 2006 15:28:35 -0700 (PDT) Original-Received: by 10.78.126.20 with HTTP; Mon, 31 Jul 2006 15:28:35 -0700 (PDT) Original-To: "Kevin Rodgers" , help-gnu-emacs@gnu.org In-Reply-To: Content-Disposition: inline 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:36394 Archived-At: On 31/07/06, Kevin Rodgers wrote: > Paulo J. Matos wrote: > > I'm setting in .emacs (cvs-emacs) the following: > > (add-hook 'c++-mode-hook 'hs-minor-mode) > > Just a minor point: hs-minor-mode toggles, so what you really mean is: > > (add-hook 'c++-mode-hook (lambda () (hs-minor-mode 1))) > Thanks for sharing this precious detail. > -- > Kevin > > > > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > -- Paulo Jorge Matos - pocm at sat inesc-id pt Web: http://sat.inesc-id.pt/~pocm Computer and Software Engineering INESC-ID - SAT Group