emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Carsten Dominik <dominik@uva.nl>, Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [RFC] Remove Org Struct mode
Date: Sun, 27 Aug 2017 13:28:01 -0700	[thread overview]
Message-ID: <CAJcAo8s_sKwfBgOEQCZMP_0z8Mgg2gV+=wAfStNTVx+3MUKfXg@mail.gmail.com> (raw)
In-Reply-To: <878ti5ufzh.fsf@nicolasgoaziou.fr>

i wrote this a long time ago to summarize the different options for
editing notes in org.

warning: it might make zero sense to you.

maybe it will be useful to somebody.

===

sometimes you want the notes to stay in your external file
(example: whatever.el).  but edit them in org mode.
orgstruct edits in orgish mode.

sometimes you want notes and code to stay in org and
generate the external file.  this is tangling.

sometimes you want a link to the notes in org in
whatever.el.  and a link to the whatever.el location in the
relevant node in org.  thus bidirectional links between
whatever.el and org.  (this has been called "mccoy mode"
after his suspicion of the transporter, but could also mean
that everything stays in, and is edited in, the real mccoy.
i.e. code stays in .el and notes stay in .org.)

===

legend:

n means notes
s means source
.el is a stand-in for any type of file that is not org
blank cells are n/a

for example, in the first line, in a .el babel source block:

  1) notes are edited in org
     - (the source block is embedded in notes)
  2) source is edited in a temporary buffer for .el
  3) there is no minor mode of relevance
  4) notes are kept in .org
  5) source is kept in .org in a source block
  6) the target can be a .el file


|-----------------------+---------+--------+---------+----------+-----------+--------|
| what                  | nmajor  | smajor | nminor  | notes in |
source in | target |
|-----------------------+---------+--------+---------+----------+-----------+--------|
| babel                 | org     | el tmp |         | .org     | .org
     | .el    |
| bidirectional linking | org     | el     |         | .org     | .el
     |        |
| poporg                | org tmp | el     |         | .el      | .el
     |        |
| outorg                | org tmp | el     | orgish? | .el      | .el
     |        |
| orgtbl                | el      | el     | orgish  | .el      | .el
     |        |
| org-link-minor-mode   | el      | el     | orgish  | .el      | .el
     |        |
| radio list / table    | org     | xlate  |         | .org     | .org
     | .el    |
|-----------------------+---------+--------+---------+----------+-----------+--------|



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

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.

"You’ve really gotta quit this and get moving, because this is murder
by neglect." ---
<http://www.meaction.net/2017/02/03/pwme-people-with-me-are-being-murdered-by-neglect>.

  reply	other threads:[~2017-08-27 20:28 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-20 13:57 [RFC] Remove Org Struct mode Nicolas Goaziou
2017-08-20 14:56 ` Neil Jerram
2017-08-20 17:04 ` Scott Randby
2017-08-20 18:04 ` Eric S Fraga
2017-08-21  5:47   ` Jarmo Hurri
2017-08-22  6:58     ` Marcin Borkowski
2017-08-22  8:32       ` Eric S Fraga
2017-08-21 12:48   ` Eduardo Mercovich
2017-08-20 22:06 ` Tim Cross
2017-08-21  2:48   ` numbchild
2017-08-21 11:59 ` Michael Brand
2017-08-22 12:21   ` Kaushal Modi
2017-08-22 17:48     ` Michael Brand
2017-09-05 18:48       ` Michael Brand
2017-09-09 18:20       ` Thorsten Jolitz
2017-09-09 19:04         ` Michael Brand
2017-08-21 15:15 ` Richard Lawrence
2017-08-22 12:16 ` Kaushal Modi
2017-08-22 13:45 ` Aaron Ecay
2017-08-22 13:50 ` Carsten Dominik
2017-08-27 16:34   ` Nicolas Goaziou
2017-08-27 20:28     ` Samuel Wales [this message]
2017-08-22 22:57 ` Eric Abrahamsen
2017-08-23 10:47 ` Rasmus
2017-08-23 11:33   ` Adam Porter
2017-08-23 12:24     ` Michael Brand
2017-08-23 15:14       ` Adam Porter
2017-08-23 21:00         ` Michael Brand
2017-08-27 13:07         ` Michael Brand
2017-09-02  8:03           ` Adam Porter
2017-08-23 19:17       ` Rasmus
2017-08-23 21:02         ` Michael Brand

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='CAJcAo8s_sKwfBgOEQCZMP_0z8Mgg2gV+=wAfStNTVx+3MUKfXg@mail.gmail.com' \
    --to=samologist@gmail.com \
    --cc=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).