From f5ca99beb75b4dbd04110a269139273c2057003c Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 24 May 2021 07:16:06 +0100 Subject: comments in tangled files (shebang trick) --- .gitignore | 2 ++ blog.org | 4 +--- completion.org | 4 +--- email.org | 4 +--- eww.org | 4 +--- exwm.org | 4 +--- init.org | 2 +- org.org | 4 +--- 8 files changed, 9 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 32266aa..b30c1d4 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,5 @@ /eww.el /exwm.el /org.el +/lib/net/signel.el +/lib/net/signel.shell diff --git a/blog.org b/blog.org index 0fd86a7..d6209dc 100644 --- a/blog.org +++ b/blog.org @@ -1,11 +1,9 @@ #+title: Org static blog -#+property: header-args lexical: t :tangle yes :comments no :results silent +#+property: header-args lexical: t :tangle yes :comments yes :results silent :shebang ";; -*- lexical-binding: t -*-" #+auto_tangle: t * Vars and setup #+begin_src emacs-lisp - ;; -*- lexical-binding: t; -*- - (jao-load-path "org-static-blog") (when (> emacs-major-version 26) (use-package htmlize :ensure t)) (defvar jao-blog-base-dir "~/doc/jao.io") diff --git a/completion.org b/completion.org index 5e0e800..a5d861b 100644 --- a/completion.org +++ b/completion.org @@ -1,11 +1,9 @@ #+title: Completion configuration using vertico, consult and friends -#+property: header-args :lexical t :tangle yes :comments no :results silent +#+property: header-args :lexical t :tangle yes :comments yes :results silent :shebang ";; -*- lexical-binding: t; -*-" #+auto_tangle: t * completion styles #+begin_src emacs-lisp - ;; -*- lexical-binding: t; -*- - (use-package emacs :init (setq completion-category-defaults nil diff --git a/email.org b/email.org index 6fb334f..123351e 100644 --- a/email.org +++ b/email.org @@ -1,12 +1,10 @@ #+title: email handling (message mode, bbdb, notmuch, mu4e et al.) -#+property: header-args :lexical t :tangle yes :comments no :results silent +#+property: header-args :lexical t :tangle yes :comments yes :results silent :shebang ";; -*- lexical-binding: t; -*-" #+auto_tangle: t * message mode *** Customization #+begin_src emacs-lisp - ;; -*- lexical-binding: t; -*- - (defvar jao-mails "") (defvar jao-mails-regexp) (setq jao-mails-regexp (regexp-opt jao-mails)) diff --git a/eww.org b/eww.org index ebabf42..c946c69 100644 --- a/eww.org +++ b/eww.org @@ -1,11 +1,9 @@ #+title: Web browsing using eww -#+property: header-args :lexical t :tangle yes :comments no :results silent +#+property: header-args :lexical t :tangle yes :comments yes :results silent :shebang ";; -*- lexical-binding: t -*-" #+auto_tangle: t * Integration with browse-url and afio #+begin_src emacs-lisp - ;; -*- lexical-binding: t; -*- - (defun jao-eww-browse-url (url &rest r) "Browse URL using eww." (jao-afio--goto-www) diff --git a/exwm.org b/exwm.org index ed61a21..81bf280 100644 --- a/exwm.org +++ b/exwm.org @@ -1,11 +1,9 @@ #+title: exwm configuration -#+property: header-args :lexical t :tangle yes :comments no :results silent +#+property: header-args :lexical t :tangle yes :comments yes :results silent :shebang ";; -*- lexical-binding: t; -*-" #+auto_tangle: t * Load and basic config #+begin_src emacs-lisp - ;; -*- lexical-binding: t; -*- - (defvar jao-exwm--use-afio t) (use-package exwm diff --git a/init.org b/init.org index 07398f6..cf6b75f 100644 --- a/init.org +++ b/init.org @@ -1,4 +1,4 @@ -#+property: header-args :lexical t :tangle yes :comments no :results silent +#+property: header-args :lexical t :tangle yes :comments yes :results silent :shebang ";; -*- lexical-binding: t -*-" #+auto_tangle: t * Packages diff --git a/org.org b/org.org index 3844a88..d12bf57 100644 --- a/org.org +++ b/org.org @@ -1,11 +1,9 @@ #+title: Org (and related) mode configuration -#+property: header-args :lexical t :tangle yes :comments no :results silent +#+property: header-args :lexical t :tangle yes :comments yes :results silent :shebang ";; -*- lexical-binding: t" #+auto_tangle: t * General configuration #+begin_src emacs-lisp - ;; -*- lexical-binding: t; -*- - (use-package org :ensure t :init -- cgit v1.2.3