Disable tangling with ":header-args:emacs-lisp: :tangle no"

This commit is contained in:
Gerard Vermeulen 2024-06-17 13:48:16 +02:00
parent 71c4920e85
commit 5d6a749a77

View File

@ -3394,6 +3394,7 @@ handled by [[info:org#Noweb Reference Syntax][noweb (info)]].
*** [[info:org#LaTeX header and sectioning][Deprecated LaTeX preamble editing methods]] :noexport: *** [[info:org#LaTeX header and sectioning][Deprecated LaTeX preamble editing methods]] :noexport:
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: sec:easy-latex-preamble-editing :CUSTOM_ID: sec:easy-latex-preamble-editing
:header-args:emacs-lisp: :tangle no
:END: :END:
*NOTE:* This [[info:org#Top][Org (info)]] file uses the recommended method of noweb trickery in *NOTE:* This [[info:org#Top][Org (info)]] file uses the recommended method of noweb trickery in
@ -3429,7 +3430,7 @@ in [[info:org#Export Settings][#+INCLUDE: <FILE>]] files.
#+caption: LaTeX preamble =latex_header= and =latex_extra_header= export options #+caption: LaTeX preamble =latex_header= and =latex_extra_header= export options
#+caption: easily. #+caption: easily.
#+name: lst:org-babel-latex-header-blocks #+name: lst:org-babel-latex-header-blocks
#+begin_src emacs-lisp -n :exports code :results silent :tangle no #+begin_src emacs-lisp -n :exports code :results silent
(with-eval-after-load 'emacs (with-eval-after-load 'emacs
(defun prefix-all-lines (prefix body) (defun prefix-all-lines (prefix body)
(with-temp-buffer (with-temp-buffer
@ -3463,7 +3464,7 @@ prefixes all lines with \"#+latex_header: \"."
#+caption[Convert marked LaTeX export blocks to LaTeX header lines]: #+caption[Convert marked LaTeX export blocks to LaTeX header lines]:
#+caption: Convert marked LaTeX export blocks to LaTeX header lines. #+caption: Convert marked LaTeX export blocks to LaTeX header lines.
#+name: lst:org-latex-header-blocks-filter #+name: lst:org-latex-header-blocks-filter
#+begin_src emacs-lisp -n :results silent :tangle no #+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'ox (with-eval-after-load 'ox
(defun org-latex-header-blocks-filter (backend) (defun org-latex-header-blocks-filter (backend)
"Convert marked LaTeX export blocks to \"#+latex_header: \" lines. "Convert marked LaTeX export blocks to \"#+latex_header: \" lines.
@ -5228,6 +5229,7 @@ print(q)
*** [[https://github.com/astoff/code-cells.el#readme][Code-cells]] :noexport: *** [[https://github.com/astoff/code-cells.el#readme][Code-cells]] :noexport:
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: sec:code-cells :CUSTOM_ID: sec:code-cells
:header-args:emacs-lisp: :tangle no
:END: :END:
[[https://github.com/astoff/code-cells.el#readme][Code-cells]] allows to edit [[https://ipython.org/notebook.html][IPython or Jupyter notebooks]] in Emacs with help from [[https://github.com/astoff/code-cells.el#readme][Code-cells]] allows to edit [[https://ipython.org/notebook.html][IPython or Jupyter notebooks]] in Emacs with help from
@ -5239,7 +5241,7 @@ configures =code-cells=.
#+caption[Configure =code-cells=]: #+caption[Configure =code-cells=]:
#+caption: Configure =code-cells=. #+caption: Configure =code-cells=.
#+name: lst:configure-code-cells #+name: lst:configure-code-cells
#+begin_src emacs-lisp -n :results silent :tangle no #+begin_src emacs-lisp -n :results silent
(when (ensure-package-installation 'code-cells) (when (ensure-package-installation 'code-cells)
(with-eval-after-load 'code-cells (with-eval-after-load 'code-cells
(let ((map code-cells-mode-map)) (let ((map code-cells-mode-map))
@ -5805,6 +5807,7 @@ src_emacs-lisp{(call-interactively 'consult-bookmark)} is {{{kbd(C-x r b)}}}.
*** [[info:url#Top][URL (info)]] :noexport: *** [[info:url#Top][URL (info)]] :noexport:
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: sec:url :CUSTOM_ID: sec:url
:header-args:emacs-lisp: :tangle no
:END: :END:
[[https://lists.gnu.org/archive/html/emacs-devel/2024-03/msg00670.html][How to retrieve only URL metadata]] [[https://lists.gnu.org/archive/html/emacs-devel/2024-03/msg00670.html][How to retrieve only URL metadata]]
@ -5813,7 +5816,7 @@ src_emacs-lisp{(call-interactively 'consult-bookmark)} is {{{kbd(C-x r b)}}}.
#+caption: Make an URL HEAD request. #+caption: Make an URL HEAD request.
#+name: lst:url-head-request #+name: lst:url-head-request
#+header: :wrap "src text -n :eval no" #+header: :wrap "src text -n :eval no"
#+begin_src emacs-lisp -n :eval never-export :exports both :tangle no #+begin_src emacs-lisp -n :eval never-export :exports both
(with-current-buffer (with-current-buffer
(let ((url-request-method "HEAD")) (let ((url-request-method "HEAD"))
(url-retrieve-synchronously "https://www.gnu.org/")) (url-retrieve-synchronously "https://www.gnu.org/"))