Using the oxford dictionary
- Productivity
- the rate at which a worker, a company or a country produces goods, and the amount produced, compared with how much time, work and money is needed to produce them
# Created 2024-04-23 Tue 15:20 | |
#+title: Lets Learn Emacs Lisp | |
#+author: Gavin Jaeger-Freeborn | |
* Emacs terminology | |
[[https://sachachua.com/blog/wp-content/uploads/2013/05/How-to-Learn-Emacs-v2-Large.png][How to Learn Emacs]] | |
- buffer :: The area containing text kinda like a *tab in a browser* | |
- point :: The *cursor* | |
- window :: A section of the emacs window containing text |
;; eglot-codelens.el --- Add support for codelenses to eglot -*- lexical-binding: t -*- | |
;;; Commentary: | |
;;; Code: | |
;;; Extending eglot to support lenses | |
;;;; Findings | |
;; Lenses often support the option to be used as a code action | |
;; some servers rely on custom code actions implemented by the client | |
;; - [[https://github.com/emacs-lsp/lsp-mode/issues/2250]] mentions this |
(defun gist-from-region (BEG END fname desc &optional private) | |
"Collect the current region creating a github gist with the | |
filename FNAME and description DESC. | |
If the optional argument PRIVATE is non-nil then the gist will be | |
made private. Otherwise the gist will be default to public. | |
Depends on the `gh' commandline tool" | |
(interactive (list (mark) (point) | |
(read-string "File Name: ") | |
(read-string "Description: ") |
(defun gist-from-region (BEG END fname desc &optional private) | |
"Collect the current region creating a github gist with the | |
filename FNAME and description DESC. | |
If the optional argument PRIVATE is non-nil then the gist will be | |
made private. Otherwise the gist will be default to public. | |
Depends on the `gh' commandline tool" | |
(interactive (list (mark) (point) | |
(read-string "File Name: ") | |
(read-string "Description: ") |
;;; Startup | |
;;; PACKAGE LIST | |
(setq package-archives | |
'(("melpa" . "https://melpa.org/packages/") | |
("elpa" . "https://elpa.gnu.org/packages/"))) | |
;;; BOOTSTRAP USE-PACKAGE | |
(package-initialize) | |
(setq use-package-always-ensure t) | |
(unless (package-installed-p 'use-package) |
%rec: periodic_table | |
%sort: AtomicNumber | |
# all values came from | |
# https://pubchem.ncbi.nlm.nih.gov/periodic-table/ | |
AtomicNumber: 1 | |
Symbol: H | |
Name: Hydrogen | |
AtomicMass: 1.0080 |