diff --git a/configuration.org b/configuration.org index 3a81a7088b4987ddc4595dda81b5b0b8ee0cc4b7..0174ec4c02b3bf7a31a4e2b95df2e80158382c41 100644 --- a/configuration.org +++ b/configuration.org @@ -450,7 +450,7 @@ org with contributed packages added. ("h" . emacs) )) ;; Define the right latexmk command to export to latex - (org-latex-pdf-process (list "latexmk -pdflatex='pdflatex -shell-escape -interaction nonstopmode' -output-directory=%o -pdf %f")) + (org-latex-pdf-process (list "latexmk -f -pdf -%latex='%latex -shell-escape' -interaction=nonstopmode -output-directory=%o %b")) ;; Task management configuration (org-log-done 'time) @@ -825,6 +825,12 @@ starts by configuring [[https://emacs-lsp.github.io/lsp-mode/][LSP]] which allow information from a language server dedicated to the programming language currently in use. +First, configure the compilation buffer so that it scrolls to the end or to the first encountered +error if any + +#+begin_src emacs-lisp +(setq compilation-scroll-output 'first-error) +#+end_src ** LSP #+begin_src emacs-lisp