changelog shortlog graph tags branches files raw help

Mercurial > core / changeset: babel setup

changeset 429: a698dd5de562
parent 428: af3d873a0312
child 430: 8c2f595ad5b4
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 08 Jun 2024 01:12:18 -0400
files: .hgignore emacs/babel.org emacs/default.el emacs/keys.el
description: babel setup
     1.1--- a/.hgignore	Sat Jun 08 00:20:52 2024 -0400
     1.2+++ b/.hgignore	Sat Jun 08 01:12:18 2024 -0400
     1.3@@ -12,6 +12,7 @@
     1.4 .*[.]a$
     1.5 .*[.]core$
     1.6 .*[.]elc$
     1.7+emacs/.*[.]html$
     1.8 c/.*
     1.9 .*dist/.*
    1.10 [.]stash/.*
    1.11\ No newline at end of file
     2.1--- a/emacs/babel.org	Sat Jun 08 00:20:52 2024 -0400
     2.2+++ b/emacs/babel.org	Sat Jun 08 01:12:18 2024 -0400
     2.3@@ -1,5 +1,11 @@
     2.4 #+title: babel
     2.5 #+author: Richard Westhaver
     2.6 #+description: Core Library of Babel
     2.7-#+setupfile: clean.theme
     2.8+#+setupfile: https://cdn.compiler.company/org/clean.theme
     2.9 #+PROPERTY: header-args :eval never-export
    2.10+
    2.11+Welcome to the Core [[https://www.gnu.org/software/emacs/manual/html_node/org/Library-of-Babel.html][Library of Babel]]. This file contains a
    2.12+collection of code blocks used throughout our Org documents.
    2.13+
    2.14+To load the library use ~C-c C-v i~
    2.15+
     3.1--- a/emacs/default.el	Sat Jun 08 00:20:52 2024 -0400
     3.2+++ b/emacs/default.el	Sat Jun 08 01:12:18 2024 -0400
     3.3@@ -7,7 +7,8 @@
     3.4 (put 'list-timers 'disabled nil)
     3.5 (setq show-paren-context-when-offscreen 'overlay)
     3.6 (setopt
     3.7- ;; tabs = bad
     3.8+ org-safe-remote-resources '("\\`https://cdn\\.compiler\\.company/org/clean\\.theme\\'")
     3.9+ ;; tabs = bad (unless in makefile..)
    3.10  indent-tabs-mode nil
    3.11  make-backup-files nil
    3.12  auto-save-list-file-prefix (expand-file-name "auto-save/." user-emacs-directory)
    3.13@@ -64,6 +65,7 @@
    3.14 (defvar company-name "The Compiler Company, LLC")
    3.15 (defvar company-vc-domain "vc.compiler.company")
    3.16 (defvar company-home "the.compiler.company")
    3.17+(defvar company-cdn-url "https://cdn.compiler.company")
    3.18 
    3.19 ;;; Theme
    3.20 (defun load-default-theme () (interactive) (load-theme default-theme))
    3.21@@ -746,6 +748,8 @@
    3.22     (cond ((eq major-mode 'org-mode) (org-todo))
    3.23           ((eq major-mode 'org-agenda-mode) (org-agenda-todo)))))
    3.24 
    3.25+(defun org-agenda-show-week-all (&optional arg ) (interactive "P") (org-agenda arg "n"))
    3.26+
    3.27 (defun org-ask-location ()
    3.28   "prompt for a location\"\""
    3.29   (let* ((org-refile-targets '((nil :maxlevel . 9)))
     4.1--- a/emacs/keys.el	Sat Jun 08 00:20:52 2024 -0400
     4.2+++ b/emacs/keys.el	Sat Jun 08 01:12:18 2024 -0400
     4.3@@ -87,6 +87,7 @@
     4.4   "f" #'load-file
     4.5   "u" #'compile
     4.6   "a" #'org-agenda
     4.7+  "A" #'org-agenda-show-week-all
     4.8   "<return>" #'shell
     4.9   "C-<return>" #'term
    4.10   "S-<return>" #'eshell-new