From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Illya Bomash Newsgroups: gmane.emacs.help Subject: Temporary code folding for navigation Date: Wed, 24 Apr 2013 11:39:26 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="5177fcae_43e92260_15e16" X-Trace: ger.gmane.org 1366822337 10198 80.91.229.3 (24 Apr 2013 16:52:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2013 16:52:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 24 18:52:21 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UV2vd-000561-4S for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Apr 2013 18:52:21 +0200 Original-Received: from localhost ([::1]:43262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV2vc-0000jG-Qf for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Apr 2013 12:52:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV1nH-00013A-Vf for help-gnu-emacs@gnu.org; Wed, 24 Apr 2013 11:39:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV1n8-0006XI-D5 for help-gnu-emacs@gnu.org; Wed, 24 Apr 2013 11:39:39 -0400 Original-Received: from mail-qe0-f43.google.com ([209.85.128.43]:44006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV1n8-0006Us-4C for help-gnu-emacs@gnu.org; Wed, 24 Apr 2013 11:39:30 -0400 Original-Received: by mail-qe0-f43.google.com with SMTP id f6so1315949qej.16 for ; Wed, 24 Apr 2013 08:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:message-id:subject:x-mailer:mime-version :content-type; bh=dSxS2MUwjH4TovHnU+WhkfJWm2ETx7HBHNHUfl9JqzM=; b=lam1MJ5aZgiIQIduKjubI3eNXcnqH1VfQFr0s7Z+dHx/oxO+/FiCFwq2GtWr81qE9Z sRTspvcMpyoytYXyI064XchLt4ZLnKDWJUXYXXBYLMLkGlTSc67VFl59TdJCt9EDsJpW vqnnneGH8jwzlStVCzZUzW98/vIcNYgavfDFfu3ZhI2s72NMLJBA13/e/RByKC6F22MB G/fHjr/nYHYeSfnc0TlGKMx485yyc2PYp8DMuqcJE34OMmKkYcoIWWw9IFiwYBv8gpb6 c2WoBe2/h0fjXRGazzHcu89vZJTWGmUtv17NHCbOzE/ag0752EnZ/8MeO4gATRNX7hJ3 gNhw== X-Received: by 10.49.116.80 with SMTP id ju16mr36428858qeb.11.1366817969245; Wed, 24 Apr 2013 08:39:29 -0700 (PDT) Original-Received: from [10.1.0.119] ([64.124.196.30]) by mx.google.com with ESMTPSA id b13sm5335070qai.3.2013.04.24.08.39.27 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 24 Apr 2013 08:39:28 -0700 (PDT) X-Mailer: sparrow 1.6.4 (build 1178) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.128.43 X-Mailman-Approved-At: Wed, 24 Apr 2013 12:51:40 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90329 Archived-At: --5177fcae_43e92260_15e16 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi everyone, =20 When I use org-mode, I really like org-goto: it puts me in a temporary bu= ffer that has an overview of my file (with all the details folded away), = thereby showing me the structure of the file at a glance, and lets me eas= ily get to a particular place, using simple keys for navigation or using = isearch within this temporary buffer. I=E2=80=99d love to have something similar for source code, e.g. Python f= iles: Press a key to temporarily put me in a buffer with only the outline of my= code; Put me in a mode where I can use single keystrokes to navigate to the dif= ferent locations in my code. Do you know of any existing modes or packages that work this way=3F There are a few code-outline modes that exist, but I don=E2=80=99t want t= his on the screen all the time=E2=80=A6only when I want to jump someplace= new. Hideshow is close, but it=E2=80=99s not meant as a =E2=80=9Ctempora= ry=E2=80=9D mode, and it doesn=E2=80=99t do anything to make navigation e= asier. Any tips would be appreciated=21 Thanks=21 Best, Illya --5177fcae_43e92260_15e16 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi everyone,

When I use org-mode, I really l= ike org-goto: it puts me in a temporary buffer that has an overview of my= file (with all the details folded away), thereby showing me the structur= e of the file at a glance, and lets me easily get to a particular place, = using simple keys for navigation or using isearch within this temporary b= uffer.

I=E2=80=99d love to have something simila= r for source code, e.g. Python files:

Press a ke= y to temporarily put me in a buffer with only the outline of my code;
Put me in a mode where I can use single keystrokes to navigate to = the different locations in my code.

Do you know = of any existing modes or packages that work this way=3F

There are a few code-outline modes that exist, but I don=E2=80=99= t want this on the screen all the time=E2=80=A6only when I want to jump s= omeplace new. Hideshow is close, but it=E2=80=99s not meant as a =E2=80=9C= temporary=E2=80=9D mode, and it doesn=E2=80=99t do anything to make navig= ation easier.

Any tips would be appreciated=21 T= hanks=21

Best,
Illya



--5177fcae_43e92260_15e16--