Xah Talk Show 2024-02-27 Ep540 Emacs Lisp Coding, Hand Pain, Dark Theme Fad, Solarize Disease
- Timestamp
- 1:23 Famous Programers with Repetitive Strain Injury
- 2:50 HTML section tag
- 4:55 xah emacs packages
- 7:06 emacs damages hand
- 9:10 advantage of nested syntax
- 12:59 start coding elisp
- 15:31 writing enhances thinking
- 23:29 dark theme fad
- 35:45 start eshell when emacs starts
- 37:23 Solarized, grey on white
- 54:52 infinite loop in emacs
- 58:22 command to validate html
- 1:01:57 Rob Pike, Douglas Crockford
- 1:03:13 apple is best design
- 1:03:35 night light (night shift)
- write a emacs lisp command to break html headers into sections
(defun xah-html-add-section-to-h2 () "Add section tags to h2. the position of first opening h2, is pushed to mark. Version: 2024-02-28" (interactive) (let (xfirstH2) (goto-char (point-min)) (search-forward "<h2>" nil t) (setq xfirstH2 (match-beginning 0)) (replace-match "<section>\n\n<h2>" t t) (push-mark xfirstH2 t) (goto-char xfirstH2) (while (search-forward "<h2>" nil t) (replace-match "</section>\n\n<section>\n\n<h2>" t t)) (progn (goto-char xfirstH2) (when (re-search-forward "<div class=\"topicXL\">\\|<div class=\"rltd\">\\|</main>\\|</body>") (replace-match (concat "</section>\n\n" (match-string 0)) t t))) (goto-char (point-min)) (while (re-search-forward "<section>\n*</section>" nil t) (replace-match ""))))
random chat
- Protesilaos Stavrou on color theme https://protesilaos.com/emacs/modus-themes
- PowerShell: Toggle Dark Theme
- Emacs: Xah HTML Mode
- dark theme fad
- dark theme vs night light (filter blue color)
- Web Design: Grey Text on White Background. Solarize Color Disease
- solarize fad
- syntax coloring, fad?
- My Experience of GNU Emacs vs XEmacs (2007)
- Rob Pike
- Douglas Crockford
- html validation