Three Good Friends: Belly Breathing, Abdominal Lifts, Nasal Wash.
Simple and powerful.
More details here.
Three Good Friends: Belly Breathing, Abdominal Lifts, Nasal Wash.
Simple and powerful.
More details here.
Once you’ve been using Emacs for a while you end up using eval-expression
a lot. 99% of the time I use it to make function calls. I never noticed before that it is kind of tedious to reach for S-M-;
and then ()
despite using it so much. Here is a binding and a function definition that make it easier to use binding it close to home and inserting the round parentheses.
(global-set-key (kbd "M-;") #'my-eval-expression)
(define-key org-mode-map (kbd "M-;") nil)
(progn
(defvar my-read-expression-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map read-expression-map)
(define-key map [(control ?g)] #'minibuffer-keyboard-quit)
(define-key map [up] nil)
(define-key map [down] nil)
map))
(defun my-read--expression (prompt &optional initial-contents)
(let ((minibuffer-completing-symbol t))
(minibuffer-with-setup-hook
(lambda ()
(emacs-lisp-mode)
(use-local-map my-read-expression-map)
(setq font-lock-mode t)
(funcall font-lock-function 1)
(insert "()")
(backward-char))
(read-from-minibuffer prompt initial-contents
my-read-expression-map nil
'read-expression-history))))
(defun my-eval-expression (expression &optional arg)
"Attribution: URL `https://lists.gnu.org/archive/html/help-gnu-emacs/2014-07/msg00135.html'."
(interactive (list (read (my-read--expression ""))
current-prefix-arg))
(if arg
(insert (pp-to-string (eval expression lexical-binding)))
(pp-display-expression (eval expression lexical-binding)
"*Pp Eval Output*"))))
For the fun of it try naming your Emacs configuration and instance.
For example my configuration is named HELP, HELP Enables Literate Programming. This is the collection of everything I find helpful for Literate Org Mode. Its also the collection of every single bit of code that people shared to help me out. It helps a lot. But that is not what I called my editor.
I call my editor instance PIE, PIE Interactive Editor. It is fun calling it a name that I like instead of Emacs. Emacs means so many things to all of us. Even Spacemacs names it especially for them. What is PIE? The PIE Interactive Editor? But what is PIE? PIE Isn’t Emacs 😄(Joy)😮(Surprise).
@@@@@@@@@@@@@@@......@@@@@@@@@@ @@@@@@@@.....@@.........@@@@@@@ @@@@#........@@...........@@@@@ @@(..........@@............@@@@ @............@@.............@@@ PIE..........@@.............(@@ Interactive..@@..............@@ Editor..PIE..@@@@@@@@@@@@@@@@@@ Is Easy..PIE.#@@@.............@ Isn't Emacs..#@@@............@@ @..............#@@@..........@@ @@..................#@@@....@@@ @@@...................#@@@@@@@@ @@@@@@...............@@@@@@@@@@ @@@@@@@@@@@#..#@@@@@@@@@@@@@@@@
Have fun with it.
Always end your list items with a period so your text-to-speech engine pauses after reaching the end of the line.
“Harbingers of change” announce significant changes. You see them in Emacs configuration (init) files all the time. Here are some of my favorites:
I wonder because I’ve got no story myself. I mean I know about it but probably don’t do it frequently enough for it to occur to me to use a function.
But a lot of people do and so greatly value this function.
What is your transpose-[chars|words|…] story? What kind of things are you transposing a lot and why?
Personal transformation begins with kindness.
It is shockingly simple.
It begins with yourself.
Inspiration and offense are usually delivered in the same basket.
The trick is to spend more time on the inspiration.
Workout too much or too little.
Have fun too often or too little.
Vent too much or too little.
A sense of wonder about how we live, its impact on our happiness, courage to wonder about possibilities, and willingness to play around with making a different approach in life can alleviate some of that pain. Quickly.
After using it for a few days I already love it.
Personal examples:
Flycut: It’ll Remember It For You (but not Wholesale ).
If you are an Emacser you’ll instantly know and love this as a macOS Kill Ring.
Security concern: persisting sensitive information in your clipboard like this, it is easy to forget about it. Fortunately Flycut doesn’t copy values from password fields. Additionally it keeps it’s data local to your computer never sharing it between your other computers or devices. However, it is just like any other security concern so be careful what you keep in there.