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: Re: Temporary code folding for navigation Date: Wed, 24 Apr 2013 15:49:22 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="51783742_254d9ea9_15e16" X-Trace: ger.gmane.org 1366834960 19637 80.91.229.3 (24 Apr 2013 20:22:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2013 20:22:40 +0000 (UTC) To: tjolitz@gmail.com, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 24 22:22:44 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 1UV6DB-0001ct-2P for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Apr 2013 22:22:41 +0200 Original-Received: from localhost ([::1]:42264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV6DA-00050A-Fu for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Apr 2013 16:22:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV5h6-0005Z3-Tv for help-gnu-emacs@gnu.org; Wed, 24 Apr 2013 15:49:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV5h0-0000Q8-AH for help-gnu-emacs@gnu.org; Wed, 24 Apr 2013 15:49:32 -0400 Original-Received: from mail-qe0-f41.google.com ([209.85.128.41]:56619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV5h0-0000O4-5Q for help-gnu-emacs@gnu.org; Wed, 24 Apr 2013 15:49:26 -0400 Original-Received: by mail-qe0-f41.google.com with SMTP id b4so1541364qen.14 for ; Wed, 24 Apr 2013 12:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=knewton.com; s=kmail; h=x-received:date:from:to:message-id:subject:x-mailer:mime-version :content-type; bh=sdSx0+oHRRr+ipw3J0h+luWw9GJ6zX5CiOtTCmw8tpY=; b=HawVJwE+1PJdaEhNZ5og1a4kT7dO/b95GPdw3SBemRZMiFskwkraSTmSmDIbUyRUT0 1l0bjIWKFif8gdJv3Wlflc43dRrJKP8VpILIXchuS2ynfg3GTVrPVaOXcJdH5VBq4uiC YOkMuTQ6sIH8tNVM388XLEV3b2+XYC9W9L3so= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:message-id:subject:x-mailer:mime-version :content-type:x-gm-message-state; bh=sdSx0+oHRRr+ipw3J0h+luWw9GJ6zX5CiOtTCmw8tpY=; b=nEwUTHggvFzi0U/5pdcQ+4jTjMbH5GphtwOAclVH3FHMjkAEBPOEPToyu1NFKsYJ15 U9mcaxaFEu1fWjOmRJ+T+aAzLSt4yzWVg2zgS8FASzX5UM783/S3g+ibeyp+1GGwDpWp VV3J6HaR5XewnenZy3eonvrS1N5wnzRS6UQRike4kanm2L2VN2qok/lzJm05n/p8AX0E ItQifNtowBoOq0xgd2AMjL0tNXchZ6FV3A68Dv7sbZioXS7pUON2oRWtg3L0DXW/pJGN Z6e9YGdi6Q/pUcqFnHxFNUtgF4kw8NAzknQzBCCCybtHYGLTmV2z0yEyNtH3CiQdbcEh 440A== X-Received: by 10.229.137.195 with SMTP id x3mr9147736qct.108.1366832964870; Wed, 24 Apr 2013 12:49:24 -0700 (PDT) Original-Received: from [10.1.0.119] ([64.124.196.30]) by mx.google.com with ESMTPSA id ei3sm6487640qab.10.2013.04.24.12.49.23 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 24 Apr 2013 12:49:24 -0700 (PDT) X-Mailer: sparrow 1.6.4 (build 1178) X-Gm-Message-State: ALoCoQl4roVYyCI6xictgG6PGH5KKSA6RxEKtXdb1KhjxkkBeXOog8fn5r+eZkKOv/uBdGhaC2TD X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.128.41 X-Mailman-Approved-At: Wed, 24 Apr 2013 16:22:28 -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:90333 Archived-At: --51783742_254d9ea9_15e16 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Thorsten, thanks=21 This looks very much in line with what I was looki= ng for=21 =46rom what I can tell, outshine won=E2=80=99t just use the function defi= nitions themselves to define structure =E2=80=94 it specifically uses com= mented org-mode header lines for structure=3F What I had in mind originally would just use the function definitions the= mselves as navigation headers (sort of like making a temporary buffer fro= m the current imenu or ECB data), but doing it by header levels instead c= ould be a useful way to go about it=E2=80=A6. I=E2=80=99ll give it a shot= =21 Best, Illya > navi-mode.el (in combination with outshine.el and outorg.el) might give= > you exactly what you want, see this article on Worg =20 > =20 > ,----------------------------------------------------------- > =7C http://orgmode.org/worg/org-tutorials/org-outside-org.html > =60----------------------------------------------------------- > =20 > There are screencasts available on youtube, e.g. =20 > =20 > ,-------------------------------------------- > =7C Modern conventions for Emacs Lisp files =20 > =7C https://www.youtube.com/watch=3Fv=3DnqE6YxlY0rw > =60-------------------------------------------- > =20 > to give you an idea what its all about. > =20 > -- =20 > cheers, > Thorsten > =20 --51783742_254d9ea9_15e16 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi Thorsten, thanks=21 This looks very much in l= ine with what I was looking for=21

=46rom what I= can tell, outshine won=E2=80=99t just use the function definitions thems= elves to define structure =E2=80=94 it specifically uses commented org-mo= de header lines for structure=3F

What I had in m= ind originally would just use the function definitions themselves as navi= gation headers (sort of like making a temporary buffer from the current i= menu or ECB data), but doing it by header levels instead could be a usefu= l way to go about it=E2=80=A6. I=E2=80=99ll give it a shot=21
<= br>
Best,
Illya

navi-mode.el (in combination with outshine.e= l and outorg.el) might give
you exactly what you want, see this= article on Worg 

,------------------------= -----------------------------------
=7C http://orgmode.org/worg= /org-tutorials/org-outside-org.html
=60------------------------= -----------------------------------

There are sc= reencasts available on youtube, e.g. 

,----= ----------------------------------------
=7C Modern conventions= for Emacs Lisp files 
=7C https://www.youtube.com/watch=3F= v=3DnqE6YxlY0rw
=60--------------------------------------------=

to give you an idea what its all about.

-- 
cheers,
Thorsten

--51783742_254d9ea9_15e16--