emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Modifications in org-src.el
@ 2014-11-23 23:34 Nicolas Goaziou
  2014-11-24  0:32 ` Rasmus
  2014-11-24  8:40 ` Sebastien Vauban
  0 siblings, 2 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2014-11-23 23:34 UTC (permalink / raw)
  To: Org Mode List

Hello,

In an attempt to unify various external editing functions
(`org-edit-fixed-width', `org-edit-src-code'...), I widely modified
"org-src.el".

These changes are mostly internal and no user-visible change (besides
bug fixes) is expected. However I removed some functions, not used in
the code base, and changed a few signatures (`org-edit-src-code' and
`org-edit-src-exit').

I also added export block sub-editing.

Please report anything suspicious in this area.


Regards,

-- 
Nicolas Goaziou                                                0x80A93738

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

* Re: Modifications in org-src.el
  2014-11-23 23:34 Modifications in org-src.el Nicolas Goaziou
@ 2014-11-24  0:32 ` Rasmus
  2014-11-24  8:18   ` Nicolas Goaziou
  2014-11-24  8:40 ` Sebastien Vauban
  1 sibling, 1 reply; 6+ messages in thread
From: Rasmus @ 2014-11-24  0:32 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> In an attempt to unify various external editing functions
> (`org-edit-fixed-width', `org-edit-src-code'...), I widely modified
> "org-src.el".
>
> These changes are mostly internal and no user-visible change (besides
> bug fixes) is expected. However I removed some functions, not used in
> the code base, and changed a few signatures (`org-edit-src-code' and
> `org-edit-src-exit').
>
> I also added export block sub-editing.

Cool!

> Please report anything suspicious in this area.

I don't know if this is a bug, but when I open Emacs and open a buffer
without (require 'ox) first, org-element will not recognize
export-blocks.

—Rasmus

-- 
Hooray!

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

* Re: Modifications in org-src.el
  2014-11-24  0:32 ` Rasmus
@ 2014-11-24  8:18   ` Nicolas Goaziou
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2014-11-24  8:18 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

Hello,

Rasmus <rasmus@gmx.us> writes:

> I don't know if this is a bug, but when I open Emacs and open a buffer
> without (require 'ox) first, org-element will not recognize
> export-blocks.

This is a known limitation: export blocks are not recognized until the
corresponding back-end is loaded.

The solution is to create a dedicated syntax for export blocks so they
cannot be confused with special blocks. This was discussed in another
thread (<http://permalink.gmane.org/gmane.emacs.orgmode/88945>).


Regards,

-- 
Nicolas Goaziou

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

* Re: Modifications in org-src.el
  2014-11-23 23:34 Modifications in org-src.el Nicolas Goaziou
  2014-11-24  0:32 ` Rasmus
@ 2014-11-24  8:40 ` Sebastien Vauban
  2014-11-24 16:26   ` Nicolas Goaziou
  1 sibling, 1 reply; 6+ messages in thread
From: Sebastien Vauban @ 2014-11-24  8:40 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello Nicolas,

> I also added export block sub-editing.

Could you elaborate on this?  What do you mean exactly?  Just a couple
of words...

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: Modifications in org-src.el
  2014-11-24  8:40 ` Sebastien Vauban
@ 2014-11-24 16:26   ` Nicolas Goaziou
  2014-11-24 20:28     ` Sebastien Vauban
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2014-11-24 16:26 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Hello,

Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

>> I also added export block sub-editing.
>
> Could you elaborate on this?  What do you mean exactly?  Just a couple
> of words...

You can use C-c ' in #+begin_latex...#+end_latex blocks and alike.


Regards,

-- 
Nicolas Goaziou

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

* Re: Modifications in org-src.el
  2014-11-24 16:26   ` Nicolas Goaziou
@ 2014-11-24 20:28     ` Sebastien Vauban
  0 siblings, 0 replies; 6+ messages in thread
From: Sebastien Vauban @ 2014-11-24 20:28 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello Nicolas,

> Sebastien Vauban writes:
>
>>> I also added export block sub-editing.
>>
>> Could you elaborate on this?  What do you mean exactly?  Just a couple
>> of words...
>
> You can use C-c ' in #+begin_latex...#+end_latex blocks and alike.

OK, much clearer (to me) now!  Thanks for that feature.

Best regards,
  Seb

-- 
Sebastien Vauban

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

end of thread, other threads:[~2014-11-24 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-23 23:34 Modifications in org-src.el Nicolas Goaziou
2014-11-24  0:32 ` Rasmus
2014-11-24  8:18   ` Nicolas Goaziou
2014-11-24  8:40 ` Sebastien Vauban
2014-11-24 16:26   ` Nicolas Goaziou
2014-11-24 20:28     ` Sebastien Vauban

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