From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Org-mode outside Org-mode Date: Fri, 12 Apr 2013 12:44:57 +0200 Message-ID: <87mwt4ownq.fsf@gmail.com> References: <87txoc7jvr.fsf@gmail.com> <874nfm9ylq.fsf@gmail.com> <87txnl486a.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQbTg-000429-I1 for emacs-orgmode@gnu.org; Fri, 12 Apr 2013 06:45:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQbTf-0008KB-Ek for emacs-orgmode@gnu.org; Fri, 12 Apr 2013 06:45:08 -0400 Received: from plane.gmane.org ([80.91.229.3]:55809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQbTf-0008Hz-9E for emacs-orgmode@gnu.org; Fri, 12 Apr 2013 06:45:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UQbTe-0006xJ-Cr for emacs-orgmode@gnu.org; Fri, 12 Apr 2013 12:45:06 +0200 Received: from e178055067.adsl.alicedsl.de ([85.178.55.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Apr 2013 12:45:06 +0200 Received: from tjolitz by e178055067.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Apr 2013 12:45:06 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Samuel Wales writes: > On 4/5/13, Thorsten Jolitz wrote: >> that sounds like a different idea. I have heard about programming >> environments that keep comments and source-code in two different (but >> sync'd) files to minimize distraction from the source code - maybe a >> possible use case for your idea? > > Yes. The purpose for keeping them separate is to have one of them be > a complete Org file. If you structure your Emacs Lisp files the 'outshine way', you can convert them into complete Org files fast and easily using 'outorg.el'. Use ,---------- | C-u C-c ' `---------- from inside the elisp buffer, or ,------ | C-u e `------ in the associated *Navi:my-elisp-file* buffer. Both bindings call '(outorg-edit-as-org &optional ARG)' with ARG and thus act on the complete buffer, not only the subtree at point. Therefore, whenever you want to edit text, your Emacs Lisp source code buffer becomes a (complete or partial) Org-mode buffer in a second, while you are in emacs-lisp-mode most of the time when its about editing code - only enhanced with Org-mode's look&feel by the activation of 'outline-minor-mode' with 'outshine.el' extensions. When its not about whole Org-mode buffers or whole subtrees (with headlines and code-blocks), but just about atomic comment-strings to be edited in Org-mode buffers, then 'poporg.el' is the tool of choice. -- cheers, Thorsten