Table of contents

Emacs

%3 cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 Emacs cluster_78840214_5818_49c2_a1cc_717df4d7b22e Customization cluster_1f2d989f_1fd4_4d0b_aa24_d62bb63eb75f Mail handling in emacs cluster_1f8f7843_5d10_4d1f_a583_dec844c7f7ab Recurring errors cluster_64adba1c_d926_4030_96dc_7387c8e45b1f Why is emacs slow? cluster_6d5de95b_d9e6_4286_9d14_915879be3c34 Useful commands cluster_a5216bdb_ad12_489c_b320_6e8d3c57f56b Snippets _c6f2a3ec_db5d_436b_9cec_83d6f70fc518 Improved org-insert-link _0f650a39_65f8_46b6_b153_839c7de72361 Using emacs with Notmuch _976b31a3_d4b8_4587_a083_85b3dea33604 NotMuch _0f650a39_65f8_46b6_b153_839c7de72361->_976b31a3_d4b8_4587_a083_85b3dea33604 _b42aa393_1bc1_4dae_90f4_85c2d37c91e7 Interaction log mode _b4e04f06_68f1_4d86_82ef_ba6a1f0e1110 Emacs creates .#blah files _1accb82d_b298_4c60_8dee_9609bf47c61b Explain-pause-mode _5252ced8_75a6_42a3_bfa7_56f1850c3578 Elisp examples _21c2fa9e_1c75_4d34_b382_2f3d32f1567c Load config from .org file _87d2fd90_faa4_4b12_84f9_7813bb45af48 Toasts on emacs _86a75660_a674_4e8a_b8cc_481d468c73a1 Hotloading erlang code from emacs _86a75660_a674_4e8a_b8cc_481d468c73a1->__0:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _976b31a3_d4b8_4587_a083_85b3dea33604->__1:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _ef801d9d_11a4_4277_9f9d_3357c748ea28 Chemacs _ef801d9d_11a4_4277_9f9d_3357c748ea28->__2:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _1710d269_2a39_4222_8895_e700b34d8e18 Org-mode _1710d269_2a39_4222_8895_e700b34d8e18->__3:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _ea48ec1d_f9d4_4fb7_b39a_faa7b6e2ba95 Notes index _9383d029_c0ff_47b7_bf38_62d08137dddc EmacsLISP _ea48ec1d_f9d4_4fb7_b39a_faa7b6e2ba95->_9383d029_c0ff_47b7_bf38_62d08137dddc _ea48ec1d_f9d4_4fb7_b39a_faa7b6e2ba95->__4:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _2b79ea5d_da9d_4913_a003_e452b01b8b79 org-noter _2b79ea5d_da9d_4913_a003_e452b01b8b79->_1710d269_2a39_4222_8895_e700b34d8e18 _2b79ea5d_da9d_4913_a003_e452b01b8b79->__5:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _2253d6ff_8537_43a9_9d71_2b3cd6fe9347 mu4e _2253d6ff_8537_43a9_9d71_2b3cd6fe9347->__6:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _e0214fa2_8beb_40c2_80fd_7579f7b5cf02 Org-protocol _e0214fa2_8beb_40c2_80fd_7579f7b5cf02->__7:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _ff5c276f_5eec_4b59_9962_c092a240b068 December Adventure 2024 _ff5c276f_5eec_4b59_9962_c092a240b068->_1710d269_2a39_4222_8895_e700b34d8e18 _ff5c276f_5eec_4b59_9962_c092a240b068->__8:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _95d9f689_b83b_4cf4_be10_0660385d5979 Emacs configurations _95d9f689_b83b_4cf4_be10_0660385d5979->__9:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _c763d31f_ca0a_4301_97ee_e8045132b6dd Screenshot emacs _c763d31f_ca0a_4301_97ee_e8045132b6dd->__10:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _6ef6bb2e_8ecb_4658_891a_731897314ae0 Emacs colors not updating with theme _6ef6bb2e_8ecb_4658_891a_731897314ae0->__11:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _3aaf2757_25c9_40dd_ba78_bdc7119b09bd GCC emacs _3aaf2757_25c9_40dd_ba78_bdc7119b09bd->__12:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _9383d029_c0ff_47b7_bf38_62d08137dddc->__13:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _a2643095_f570_492e_9313_4587fdd712da Notes Query _9a947501_cbf3_485d_b6fd_5db4eea76aca Conquering Kubernetes with Emacs _a2643095_f570_492e_9313_4587fdd712da->_9a947501_cbf3_485d_b6fd_5db4eea76aca _a2643095_f570_492e_9313_4587fdd712da->__14:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _8a51ca29_b26e_47f3_9778_bbc9d1894553 Show backlinks on org-mode _8a51ca29_b26e_47f3_9778_bbc9d1894553->_1710d269_2a39_4222_8895_e700b34d8e18 _8a51ca29_b26e_47f3_9778_bbc9d1894553->_9383d029_c0ff_47b7_bf38_62d08137dddc _8a51ca29_b26e_47f3_9778_bbc9d1894553->__15:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _b6eada46_e410_4ace_8b05_eafeaa751090 EEV _b6eada46_e410_4ace_8b05_eafeaa751090->__16:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _34112603_5776_4592_9f27_598bb0b18285 Literate Devops with Emacs _34112603_5776_4592_9f27_598bb0b18285->_1710d269_2a39_4222_8895_e700b34d8e18 _34112603_5776_4592_9f27_598bb0b18285->__17:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _eb2b712a_f27a_494b_9037_ca2c1fae598b Cómo trabajar con SQLite3 desde Emacs _eb2b712a_f27a_494b_9037_ca2c1fae598b->_1710d269_2a39_4222_8895_e700b34d8e18 _eb2b712a_f27a_494b_9037_ca2c1fae598b->_9383d029_c0ff_47b7_bf38_62d08137dddc _eb2b712a_f27a_494b_9037_ca2c1fae598b->__18:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _5133303d_ee45_43aa_b523_76c29e2ef0f1 Org-roam-bibtex - Quick Presentation _5133303d_ee45_43aa_b523_76c29e2ef0f1->_1710d269_2a39_4222_8895_e700b34d8e18 _5133303d_ee45_43aa_b523_76c29e2ef0f1->_2b79ea5d_da9d_4913_a003_e452b01b8b79 _5133303d_ee45_43aa_b523_76c29e2ef0f1->__19:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _9a947501_cbf3_485d_b6fd_5db4eea76aca->__20:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _121ea031_19aa_44b5_83c0_c0e9e1471256 Shell commands on Emacs _121ea031_19aa_44b5_83c0_c0e9e1471256->__21:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _c6eaf001_cde2_41da_bce6_9a61680a307d Batteries included with Emacs _c6eaf001_cde2_41da_bce6_9a61680a307d->__22:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2 _e1da1417_24a7_4bf6_b688_d93c4f112661 Emacs, org-mode and 100 books in a year _e1da1417_24a7_4bf6_b688_d93c4f112661->_1710d269_2a39_4222_8895_e700b34d8e18 _e1da1417_24a7_4bf6_b688_d93c4f112661->__23:cluster_aa29be89_70e7_4465_91ed_361cf0ce62f2

Recurring errors

troubleshooting

Emacs creates .#blah files

These are meant to be a protection against simultaneous editing. Can be disabled with the following line on the user init scripts:

(setq create-lockfiles nil)

Useful commands

examples

Load config from .org file

(require 'ob-tangle) ; Load module
      (org-babel-load-file "~/.emacs-config.org") ; Load file

Why is emacs slow?

troubleshooting

Explain-pause-mode

(defun install-explain-pause-mode()
          (let ((url "https://raw.githubusercontent.com/lastquestion/explain-pause-mode/master/explain-pause-mode.el"))
            (with-current-buffer (url-retrieve-synchronously url)
              (package-install-from-buffer))))

Snippets

examples

Toasts on emacs

(defun my-toast-message (msg)
         (let ((orig (selected-frame))
               (f (make-frame `((parent-frame . ,(selected-frame))
                                (undecorated . t)
                                (no-accept-focus . t)
                                (cursor-type . nil)
                                (foreground-color . "white")
                                (background-color . "CornflowerBlue")
                                (height . 4)
                                (width . 35)
                                (left . (- 0))))))
           (with-selected-frame f
             (switch-to-buffer "*toast*")
             (setq mode-line-format nil)
             (erase-buffer)
             (insert "\n\n    " msg))
           (select-frame orig)
           (run-with-timer 5 nil 'delete-frame f)))


       (my-toast-message "hey this is a message")
  • Might not work correctly with multiple windows (such as with emacsclient's)

Customization

DONE

Improved org-insert-link

postwebexamples