Same problem here -- seeing mistakes in latex/pdf generation.
i
On Tue, Nov 29, 2022 at 1:27 PM Dominik Schrempf
wrote:
>
> Hi!
>
> I wanted to chime in here, because sometimes I do have a similar
> problem.
>
> Whenever I export to LaTeX + PDF, it is pretty difficult to see if the
> compilation
from is impossible, if the language
even supports #line and #file directives (Rust still doesn't).
Immanuel Litzroth
On Wed, Aug 31, 2022 at 6:38 PM Martin Jerabek wrote:
>
> Hi!
>
> I recently started to use Org Babel for C++ programs. One of the programs
> outputs several lines
there's such a "link comment" near the definition and jump
to that instead.
All this is rather hackish and I stopped doing my init files in literate org.
Immanuel
On Mon, Jul 4, 2022 at 4:07 PM Stephen Eglen wrote:
>
> I see many users are switching to using a 'literate program
Just going by what I see, not having tried it:
(setq haskell-process-args-stack-ghci (list "--ghci-options"
"-XFlexibleContexts"))
In your version the process gets 1 argument (with a space in it). In
my version it gets 2 args.
Immanuel
On Thu, Jan 20, 2022 at 8:22 P
You can set the delimiters used for noweb code.
org-babel-noweb-wrap-end and org-babel-noweb-wrap-end.
I think I set them to @@ in shell code.
Immanuel
On Thu, Nov 25, 2021 at 7:41 PM Ćukasz Stelmach wrote:
>
> Hi,
>
> Is there anything I may try to stop shell syntax hihgliting in c
You can choose which delimiters signal noweb.
see the documentation of org-babel-noweb-wrap-start and
org-babel-noweb-wrap-end.
Immanuel
On Mon, Mar 22, 2021 at 5:35 PM Sebastian Miele
wrote:
>
> Hello!
>
> The noweb syntax seems to clash with the syntax of here documents in
>
I also seem to remember that the buffer you are dropped into after tangling
doesn't even have the correct major mode set.
Immanuel
On Mon, Jan 4, 2021 at 4:11 PM Diego Zamboni wrote:
>
> Agree. It should be possible to make the hook file-local, but still it's not
> trivial to have goo
Oh and I also made the tangling itself more flexible in that you can now
also choose to only tangle stuff going to a certain file. This is mainly to be
able to define an interactive command that tangles/reloads everything going
to the file under point.
Immanuel
On Mon, Jan 4, 2021 at 4:31 PM
beginning of the body")
(end-body "buffer pos of the end of the body"))
>>>
That way I can tangle a multi language org file and do the correct thing for
each of the language by defining functions of interest. It's quite
flexible, I'm
going to use it to do some aspect-orient
containing the
result of tangling.
Immanuel
On Mon, Jan 4, 2021 at 3:07 PM Diego Zamboni wrote:
>
> There's =org-babel-post-tangle-hook=, which AFAICT specifies hooks that will
> be run with the tangled code in a temporary buffer. I couldn't find much
> documentation nor examples, but it
recompile.
The project is private now but if you're interested I can give you access to it.
What exactly are you trying to do?
Immanuel
On Fri, Jan 1, 2021 at 2:09 AM George Mauer wrote:
>
> I'd like to run some code to post-process files after they are tangled. Is
> there a h
Well another possible solution is to wrap the code blocks in
:{
xxx
:}
in
(defun org-babel-execute:haskell (body params) -- ob-haskell.el
Immanuel
On Thu, Dec 10, 2020 at 6:21 PM Lawrence Bottorff wrote:
>
> I see your point, i.e., compiled, multi-file projects are not really
e per file),
compile that, run the resulting binary. Or org mode would have to have
some idea of what needs to
be retangled & rebuilt.
I think that using org-babel for compiled, multifile languages will
only work in very simple cases -- and
even then.. -- but will lead to problems very soon.
Im
c".
Weren't there supposed to be maintainers for this stuff? Has no plantuml
maintainer been found?
Immanuel
On Mon, Nov 23, 2020 at 11:28 AM Heinz Tuechler wrote:
>
> Immanuel Litzroth wrote/hat geschrieben on/am 15.11.2020 13:27:
> > (defun org-babel-plantuml-make-body
-p "@start" body t) assignments
(format "@startuml\n%s\n@enduml"
(org-babel-expand-body:generic body params assignments)
expands to assignments if the body starts with @startmindmap?
Immanuel
--
-- Researching the dual problem of finding the function that has a
given point as fixpoint.
or Haskell, C++ and elisp.
It's in a private repo on github because it's not ready for release
yet, but if someone
is interested I can give them access.
Immanuel
On Tue, Oct 27, 2020 at 11:30 PM Dr. Arne Babenhauserheide
wrote:
>
>
> TRS-80 writes:
>
> > Therefore, any stuff I plan on relea
You want me to do that and send a new patch or are you going
to do it after you apply the patch?
Regards,
Immanuel
On Mon, Sep 2, 2019 at 9:41 PM Nicolas Goaziou wrote:
>
> Hello,
>
> immanuel writes:
>
> > When org-edit-src-code is called with org-window-setup equal to
&g
.
Would there be interest in such a feature, if it doesn't change
current behaviour?
Immanuel
On Fri, Aug 30, 2019 at 11:37 PM Nicolas Goaziou wrote:
>
> Hello,
>
> immanuel writes:
>
> > #+NAME: this is a test
> > #+BEGIN_SRC elisp :tangle no
> >
> > (message
]\\[.*\\]\\]" nil t)
(re-search-forward (org-babel-noweb-wrap) nil t))
(delete-region (save-excursion (beginning-of-line 1) (point))
(save-excursion (end-of-line 1) (forward-char 1) (point)
#END_SRC
Immanuel
Emacs : GNU Emacs 26.2 (build 1, x86_64-p
er #'split-window-horizontally))
(pop-to-buffer-same-window buffer))
(`other-frame
(pcase context
Emacs : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2019-07-17
Package: Org mode version 9.2.5 (release_9.2.5-504-g3c24be @
/home/immanuel/.emacs.d/strai
lang)
"-mode")))
#+END_SRC
Immanuel
Emacs : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2019-07-17
Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @
/usr/local/share/emacs/26.2/lisp/org/)
current state:
==
(setq
org-src-m
rent)
org-latex-listings t
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-
tings t
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-ascii-format-inlinet
el
(defvar *a-var* "blah")
(defun v()
(interactive)
,*a-var*)
#+END_SRC
This happens in a clean emacs started the -q flag, so it should not have
anything to do with my configuration.
Immanuel
Emacs : GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2019-07-
all _lex-p)
(message "lexical binding")
(message "no lexical binding"
(lex-p)
#+END_SRC
When evaluating this code block with C-c C-c I get lexical binding.
When tangling it or with org-babel-load-file I get no lexical binding.
Immanuel
Emacs : GNU Emacs 26.2
25 matches
Mail list logo