phillord / lentic

Create views of the same content in two Emacs buffers
183 stars 12 forks source link

lentic can't work with other SRC block #12

Closed tumashu closed 9 years ago

tumashu commented 9 years ago
;; * Title

;; #+BEGIN_SRC org
This is a test
;; #+END_SRC

;; #+BEGIN_SRC elisp
(message "helloworld")
;; #+END_SRC

;; #+BEGIN_SRC emacs-lisp
(message "test")
;; #+END_SRC

;; # Local Variables:
;; # lentic-init: lentic-orgel-org-init
;; # End:
phillord commented 9 years ago

It can work with any SRC block but it will need configuring. It does need updating for elisp as that is a standard option for org mode. But for BEGIN_SRC org -- it's not clear what behaviour you would want in this case.

At the current time, though, lentic-org can't cope with two different types of src tag in the same file anyway. It's fixable using the same technique as lentic-asciidoc.

tumashu commented 9 years ago
  At the current time, though, lentic-org can't cope with two different types of 
  src tag in the same file   anyway. It's fixable using the same technique as lentic-asciidoc.

This is the problem I want to mention,I hope it is addressed as quickly as possible

phillord commented 9 years ago

Which is your main problem? You want to use elisp as well as emacs-lisp. Or you want to include many different src blocks?

tumashu commented 9 years ago

include different src blocks

phillord commented 9 years ago

tumashu notifications@github.com writes:

include different src blocks

Okay. I will add this, probably the version after next.