From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bernardo Newsgroups: gmane.emacs.help Subject: Re: How to expertly fold perl or other scripting code. Date: Sun, 20 Sep 2009 11:44:41 +1000 Message-ID: <4AB58909.5070408@pobox.com> References: <87fxaiha14.fsf@newsguy.com> <87eiq2mso0.fsf@fh-trier.de> Reply-To: bernardo.bacic@pobox.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253411154 24651 80.91.229.12 (20 Sep 2009 01:45:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Sep 2009 01:45:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 20 03:45:47 2009 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 1MpBUn-0007sr-6D for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Sep 2009 03:45:45 +0200 Original-Received: from localhost ([127.0.0.1]:57935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpBUm-0007K6-Ct for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 21:45:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpBUR-0007Jy-M6 for help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 21:45:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpBUN-0007Jh-RF for help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 21:45:23 -0400 Original-Received: from [199.232.76.173] (port=35867 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpBUN-0007JQ-MT for help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 21:45:19 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:37516 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MpBUN-0006PP-9z for help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 21:45:19 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 0892739849 for ; Sat, 19 Sep 2009 21:45:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:reply-to:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=sasl; bh= Z5foHtqLKmdnPI5vgIcoNPs5jlo=; b=sguo4jTo1MKg56mP/MxqS6kS0kXO2jJL R+VQ6mQOQXAX8f0KhmesfyA4bgwBFdTp7xx3TN5W5Bjmmv4kADKerINwUmsTrJNl 4cHhDYIRqM8vVjPM826i4uPkxbysOuUVw94dRHaoIWN297rJO+zPATNQo7gXV9ZZ 0o2geQzZgnA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:reply-to:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=e073a5 DpnHATYm7gDmA13l0kLzFK+Jz6miq05Ytu5K506LL4BDqAAvJ2Q9dDq0JbOv0dd6 gWzqYdVqvCwDO4dDnPebdFBDNPsOMT0gXD3ZCsArUhLKe96RS5jX8vy6vzPA5hOU 3G1OU8mjj/Z1YBRJEyS91oGScTy1FVB7Xp+rw= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 05EE639848 for ; Sat, 19 Sep 2009 21:45:15 -0400 (EDT) Original-Received: from [192.168.1.10] (unknown [115.70.111.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 62F7E39847 for ; Sat, 19 Sep 2009 21:45:14 -0400 (EDT) User-Agent: Thunderbird 2.0.0.23 (X11/20090812) In-Reply-To: <87eiq2mso0.fsf@fh-trier.de> X-Pobox-Relay-ID: 3E2CA9D4-A587-11DE-8B69-A13518FFA523-14340206!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:68313 Archived-At: > Harry Putnam writes: > >> I see too much output on google that looks very complex when I try to >> delve into folding code in emacs. >> >> Is it horribly complicated? >> >> I know some windows editors or ide's do such folding very >> quickly... but I'm not going to do my coding on windows. I'm far to >> comfortable on linux or opensolaris, but I would really like to have >> the ability to fold/unfold code as needed, quickly and easily. > > M-x outline-minor-mode RET > C-c @ C-t > > For a start... > > -ap i never investigated what is the difference between outline-minor-mode and hs-minor-mode but the later is also a possibility (they seem to be defined in different files but the commands have the same prefix key, C-c @)