Re: [Orgmode] outline-minor-mode and code editing / export

2009-06-09 Thread Carsten Dominik
On Jun 9, 2009, at 3:22 PM, Dan Davison wrote: Dan * Btw, a trivial thing, but I wonder if it would be appropriate to rename org-exit-edit-mode as something like org-edit-src-mode; it now has two keybindings only one of which is to do with exiting. I don't understand this point. Plea

Re: [Orgmode] outline-minor-mode and code editing / export

2009-06-09 Thread Dan Davison
Carsten Dominik writes: > On Jun 7, 2009, at 7:19 PM, Dan Davison wrote: > >> Carsten Dominik writes: >> >>> Hi Dan, >>> >>> an alternative solution would be to turn off the major mode hook for >>> org-edit-src. Would that be good or bad? It is probably never a >>> good idea to have code folde

Re: [Orgmode] outline-minor-mode and code editing / export

2009-06-08 Thread Carsten Dominik
On Jun 7, 2009, at 7:19 PM, Dan Davison wrote: Carsten Dominik writes: Hi Dan, an alternative solution would be to turn off the major mode hook for org-edit-src. Would that be good or bad? It is probably never a good idea to have code folded in these snippet buffers? I think you're righ

Re: [Orgmode] outline-minor-mode and code editing / export

2009-06-07 Thread Dan Davison
Carsten Dominik writes: > Hi Dan, > > an alternative solution would be to turn off the major mode hook for > org-edit-src. Would that be good or bad? It is probably never a > good idea to have code folded in these snippet buffers? I think you're right that it's a personal customisation and it'

Re: [Orgmode] outline-minor-mode and code editing / export

2009-06-07 Thread Carsten Dominik
Hi Dan, an alternative solution would be to turn off the major mode hook for org-edit-src. Would that be good or bad? It is probably never a good idea to have code folded in these snippet buffers? - Carsten On Jun 6, 2009, at 9:32 PM, Dan Davison wrote: In turn on outline-minor-mode in the l

Re: [Orgmode] outline-minor-mode and code editing / export

2009-06-06 Thread Dan Davison
Yes, well I definitely git confused in the sense that the patch I just sent was the inverse of what I intended (i.e. substitute - for + and vice versa in the original). The patch I meant to submit is diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 5f0ad88..0dcd956 100644 --- a/lisp/org-exp.e

[Orgmode] outline-minor-mode and code editing / export

2009-06-06 Thread Dan Davison
In turn on outline-minor-mode in the language major modes that I use, so that code starts up folded, via a call to org-content that is made in my major-mode hook. I'm finding that this has two undesirable consequences for org-mode, as follows. I have also described a possible solution, as implement