Skip to content

Instantly share code, notes, and snippets.

@Wilfred
Last active June 27, 2017 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wilfred/1a9a57f8f93419dd35af62475c7b6930 to your computer and use it in GitHub Desktop.
Save Wilfred/1a9a57f8f93419dd35af62475c7b6930 to your computer and use it in GitHub Desktop.
Exploring programmatically generated elisp with suggest.el
;; given 1, how do we calculate 3?
(length (key-description (char-to-string 1)))
(length (key-description (string 1)))
(1+ (1+ 1))
(length (number-to-string (ftruncate 1)))
(length (number-to-string (fround 1)))
(length (number-to-string (ffloor 1)))
(length (number-to-string (fceiling 1)))
(length (number-to-string (float 1)))
(length (number-to-string (sqrt 1)))
(length (number-to-string (log 1)))
(length (key-description (-flatten 1)))
(length (key-description (number-sequence 1)))
(length (key-description (list 1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment