changeset 12: |
f6df7eaa3684 |
parent 11: |
6e53b8dc7795 |
tag: | tip |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Sun, 22 Sep 2024 21:29:45 -0400 |
files: |
babel.org |
description: |
id updates |
1.1--- a/babel.org Fri Sep 20 20:00:07 2024 -0400
1.2+++ b/babel.org Sun Sep 22 21:29:45 2024 -0400
1.3@@ -250,6 +250,9 @@
1.4 #+end_src
1.5
1.6 * trim :util:
1.7+:PROPERTIES:
1.8+:ID: 2477d796-4925-4feb-bd89-d57b8be69941
1.9+:END:
1.10 #+name: trim
1.11 #+begin_src bash :var str=""
1.12 # remove leading whitespace characters
1.13@@ -293,6 +296,9 @@
1.14 | workflows.org | 7.5K | 2024-09-03-16:59 |
1.15
1.16 * skel-show :skel:
1.17+:PROPERTIES:
1.18+:ID: f95ff011-cb4c-4fbb-b94c-d68b6d034710
1.19+:END:
1.20 #+name: skel-show
1.21 #+begin_src shell :var key="id" :results replace
1.22 skel show $key
1.23@@ -303,6 +309,9 @@
1.24 #+RESULTS:
1.25 : (core lisp rust emacs c)
1.26 * project-root :project:
1.27+:PROPERTIES:
1.28+:ID: 82e70e56-fb1d-4c11-83f6-cbe40d9eda91
1.29+:END:
1.30 #+name: project-root
1.31 #+begin_src emacs-lisp :var project=(project-current)
1.32 (project-root project)
1.33@@ -312,6 +321,9 @@
1.34 : ~/comp/org/meta/
1.35
1.36 * project-name :project:
1.37+:PROPERTIES:
1.38+:ID: 3663aed6-092f-4816-978a-824e4788e4f6
1.39+:END:
1.40 #+name: project
1.41 #+begin_src emacs-lisp :var project="."
1.42 (project-name (project-current nil project))
1.43@@ -321,6 +333,9 @@
1.44 : meta
1.45
1.46 * project-vc :project:
1.47+:PROPERTIES:
1.48+:ID: 80a4eb7d-2fe5-47df-8730-1b105d8b2966
1.49+:END:
1.50 #+name: project-vc
1.51 #+begin_src emacs-lisp :var project=(project-current)
1.52 (cadr project)
1.53@@ -330,6 +345,9 @@
1.54 : Hg
1.55
1.56 * project-list :project:
1.57+:PROPERTIES:
1.58+:ID: fc31408f-9fe6-48a2-bf74-be024bbe6956
1.59+:END:
1.60 #+name: project-list
1.61 #+begin_src emacs-lisp
1.62 project--list
1.63@@ -388,6 +406,9 @@
1.64 | ~/.emacs.d/elpa/eglot-x/ |
1.65
1.66 * project-details :project:
1.67+:PROPERTIES:
1.68+:ID: bd56995e-b153-4468-b845-aadd92e456c6
1.69+:END:
1.70 #+name: project-details
1.71 #+begin_src emacs-lisp :var project="."
1.72 (let* ((project (project-current nil project))
1.73@@ -438,6 +459,9 @@
1.74 |-------------+---------------------------------------------------|
1.75
1.76 * project-files :project:fs:
1.77+:PROPERTIES:
1.78+:ID: cbe33095-3f50-4436-89e9-ed843d6d3a65
1.79+:END:
1.80 List all files found in current project. Ignores files which don't
1.81 exist locally.
1.82 #+name: project-files
1.83@@ -475,6 +499,9 @@
1.84 | [[https://vc.compiler.company/meta/file/tip/workflows.org][workflows.org]] | 7.4k | 2024-09-03 16:59:05 |
1.85
1.86 * project-tasks :project:org:
1.87+:PROPERTIES:
1.88+:ID: ed81fd98-e3f1-46f1-8fe1-0384c56522a6
1.89+:END:
1.90 List all project tasks.
1.91 #+name: project-tasks
1.92 #+begin_src emacs-lisp :results replace :var project="."
1.93@@ -622,6 +649,9 @@
1.94 : 3 days ago
1.95
1.96 * hg-log-age :vc:
1.97+:PROPERTIES:
1.98+:ID: 40c727f7-7b58-464d-84e4-37c99a253499
1.99+:END:
1.100 #+name: hg-log-age
1.101 #+begin_src shell :dir "."
1.102 # hg log -l1 --template "{date(date, '%Y-%m-%d %H:%M:%S')}\n"
1.103@@ -632,6 +662,9 @@
1.104 : Sat Sep 07 22:38:02 2024 -0400
1.105
1.106 * hg-churn :vc:
1.107+:PROPERTIES:
1.108+:ID: 6d78286d-0cd5-4c34-bc92-f260f09bc44c
1.109+:END:
1.110 #+name: hg-churn
1.111 #+begin_src shell :dir "~/comp/core" :results output
1.112 hg churn -f "%Y-%m" -s
1.113@@ -654,6 +687,9 @@
1.114 #+end_example
1.115
1.116 * hg-status :vc:
1.117+:PROPERTIES:
1.118+:ID: 57df3e0f-af09-4ff4-9fd5-54b1aa91f09e
1.119+:END:
1.120 #+name: hg-status
1.121 #+begin_src shell :dir "."
1.122 hg status
1.123@@ -665,6 +701,9 @@
1.124 | M | ulang.org |
1.125
1.126 * homer :homer:
1.127+:PROPERTIES:
1.128+:ID: 37624eaa-0a25-465b-ab59-600d83b48903
1.129+:END:
1.130 #+begin_src shell
1.131 homer
1.132 #+end_src