emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Editing org source blocks enabled by org-src-fontify-natively?
@ 2012-12-21 12:01 Bernt Hansen
  2012-12-24  0:27 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Bernt Hansen @ 2012-12-21 12:01 UTC (permalink / raw)
  To: emacs-orgmode, Bastien, Nicolas Goaziou

My org-mode document http://doc.norang.ca/org-mode.org uses org source
blocks like the following for example:

--8<---------------cut here---------------start------------->8---
#+begin_src org :exports src
,* Health and Recreation
,* House Maintenance
#+end_src
--8<---------------cut here---------------end--------------->8---

My minimal emacs does not allow editing for this with C-c ' but when
org-src-fontify-natively is set to t it does.

This doesn't seem very intuitive to me -- it took me some time to
isolate what variable actually enables editing of org source blocks in
my setup.

Should it really act this way?  I like editing org source blocks with
C-c ' but I think it should either be enabled all the time (so not
fontifying natively will still allow org-edit-special to edit the
block) or it should be enabled with a specific user setup similar to 

--8<---------------cut here---------------start------------->8---
(add-to-list 'org-src-lang-modes (quote ("plantuml" . fundamental)))
--8<---------------cut here---------------end--------------->8---

I have the following bug reports to submit soon (hopefully later today)
related to editing source blocks:

1. source block editing on headings fail on 2nd source block
2. commas not removed
3. org-edit-special adds commas to the source repeatedly
4. Can't edit example blocks
5. Editing org src blocks doesn't work first time

Regards,
Bernt

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Editing org source blocks enabled by org-src-fontify-natively?
  2012-12-21 12:01 Editing org source blocks enabled by org-src-fontify-natively? Bernt Hansen
@ 2012-12-24  0:27 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-12-24  0:27 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Nicolas Goaziou, emacs-orgmode

Hi Bernt,

Bernt Hansen <bernt@norang.ca> writes:

> My org-mode document http://doc.norang.ca/org-mode.org uses org source
> blocks like the following for example:
>
> #+begin_src org :exports src
> ,* Health and Recreation
> ,* House Maintenance
> #+end_src
>
> My minimal emacs does not allow editing for this with C-c ' but when
> org-src-fontify-natively is set to t it does.
>
> This doesn't seem very intuitive to me -- it took me some time to
> isolate what variable actually enables editing of org source blocks in
> my setup.
>
> Should it really act this way?  

Definitly not -- the old behavior is back now.

Thanks for reporting this,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-24  0:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-21 12:01 Editing org source blocks enabled by org-src-fontify-natively? Bernt Hansen
2012-12-24  0:27 ` Bastien

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).