miniblog.
← Back to all posts
Nov 16, 2015 at 19:08
Quitting to command loop in Elisp
https://oremacs.com/2015/07/16/callback-quit/
(essentially a GOTO with stack replacement!)
Quitting to command loop in Elisp · (or emacs
oremacs.com/2015/07/16/callback-quit/
Wilfred Hughes
Related Posts
Jan 11, 2020 at 22:30
Cute elisp trick I haven't seen before: point works as a place with setf! ;; Move point to the beginning of the buffer (setf (point) (point-min)) ;; Equivalent: (goto-char (point-min))
Wilfred Hughes
Shared words: Elisp, GOTO Score: 53.2
Aug 15, 2015 at 17:31
The lisp macro -> is more powerful than function composition. For example, this is legitimate elisp: (-> 100 (goto-char) (save-excursion))
Wilfred Hughes
Shared words: Elisp, GOTO Score: 53.2
Apr 26, 2021 at 07:26
3
1
TIL you can return values from loops in Rust:
https://doc.rust-lang.org/reference/expressions/loop-expr.html#continue-expressions
I've only ever seen this in Common Lisp / Elisp!
Loop expressions - The Rust Reference
doc.rust-lang.org/reference/expressions/loop-expr.html#continue-expressions
Wilfred Hughes
Shared words: Elisp, loop Score: 49.2