emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] How do disallow editing of source blocks while inside of org-mode?


From: Grant Rettke
Subject: [O] How do disallow editing of source blocks while inside of org-mode?
Date: Sun, 15 Jun 2014 10:59:15 -0500

Hi,

Working on a large org document with a lot of source blocks, sometimes
I get lazy and modify the
contents of source blocks while in org-mode. Rather than utilize C-',
which takes me to the proper
mode, I just make changes directly. Then, I break stuff. It is my
fault, totally.

What I would like to do, is make it so that source blocks are
immutable when displayed inside of org-mode, and only allow changes
after going to the proper buffer via C-'. This will save lots of
headaches.

Does this already exist?

Where might I set out exploring how to implement such a thing if it
does not? My first thought is to see if an edit is occurring within a
source block that has a language immediately to jump to the buffer
that C-' would have created for me.

Kind regards,

Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
address@hidden | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson



reply via email to

[Prev in Thread] Current Thread [Next in Thread]