emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [ANN] outorg.el -- reverse Org-Babel
Date: Fri, 15 Feb 2013 16:38:48 -0700	[thread overview]
Message-ID: <CAJcAo8t=_05=LgBzWp3MRRen1-k0-=OKvXNdbB6wE_KwXQ_ELQ@mail.gmail.com> (raw)
In-Reply-To: <87sj513wex.fsf@gmail.com>

Hi Thorsten,

The idea is to allow the option of keeping your notes in your agenda
files, so that you can do everything Org does.  If you only keep them
in comments, you can't do searches, for example.

To do this, you put an ID in the comments.  Then you have a command
that will take you to the entry with that ID in your agenda files.
The same command -- e.g. C-c ' -- will take you back to the correct
place in the source file.  If you are in the source file, it will
search for the closest ID.

So you can say this:

  (let ((foo bar))
    ;; $[id ...]
    (something-to-be-documented

and then in your Org files you have

  * my elisp notes
  ** something
  :PROPERTIES:
  :ID: ...
  :END:

  my notes

I don't know how dynamic blocks would fit into that.

This puts elisp in elisp and Org in Org.

I like your idea too and consider this to be just an optional feature.

Samuel

On 2/12/13, Thorsten Jolitz <tjolitz@gmail.com> wrote:
> Samuel Wales <samologist@gmail.com> writes:
>
>> One suggestion: what about optionally allowing you to keep your Org
>> notes in Org?  That would allow all Org features.
>>
>> You'd do it by putting a specially-formatted Org ID in the comment,
>> and then you have a key that bounces back and forth.
>>
>>   ;;; $[id 123451243512345]
>>
>> Then in Org you have that ID as a property.
>>
>> That way you can choose whether to have your documentation in the
>> source file using Org syntax or in Org.
>
> I'm not sure I fully understand this, but working with 'org-id' would
> definitely have been another option. Maybe even in combination with
> dynamic blocks?
>
> --
> cheers,
> Thorsten
>
>
>


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is no hope without action.

  parent reply	other threads:[~2013-02-15 23:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-11 23:38 [ANN] outorg.el -- reverse Org-Babel Thorsten Jolitz
2013-02-12  2:06 ` François Pinard
2013-02-12  3:13   ` Thorsten Jolitz
2013-02-12  4:53     ` François Pinard
2013-02-12 14:05       ` Thorsten Jolitz
2013-02-12 18:10         ` François Pinard
2013-02-12 21:32           ` Bastien
2013-02-12 23:53             ` Thorsten Jolitz
2013-02-13 10:54             ` Thorsten Jolitz
2013-02-14  7:41               ` Bastien
2013-02-12 23:45           ` Thorsten Jolitz
2013-02-12 18:12 ` Samuel Wales
2013-02-13  0:11   ` Thorsten Jolitz
2013-02-13 11:38     ` Bastien
2013-02-15 23:38     ` Samuel Wales [this message]
2013-02-12 19:54 ` Alan Schmitt
2013-02-13  0:17   ` Thorsten Jolitz
2013-02-13 11:33     ` Bastien
2013-02-13 11:05       ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJcAo8t=_05=LgBzWp3MRRen1-k0-=OKvXNdbB6wE_KwXQ_ELQ@mail.gmail.com' \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tjolitz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).