Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
Add new Emacs experiment
(defun camdez/add-experiment ()
(find-file camdez/experiments-file)
(goto-char (point-min))
(re-search-forward ";;; Code:")
(insert "\n\n")
(insert ";; ")
(insert "\n\n"))
(global-set-key (kbd "C-c x") 'camdez/add-experiment)

This comment has been minimized.

Copy link

@willtm willtm commented Mar 23, 2015

Hello, thanks for your suggestion regarding the creation of an "experimental.el" file to use for the purpose of trying out less stable code in my Emacs config. I'm not sure if you answer questions about the code you place here but I was wondering about the "camdez/lisp-insert-hr". I can't seem to find an analogous expression in Emacs Lisp although my proficiency is very limited. I searched for "lisp-insert-hr" and "insert-horizontal". I also took at look at your configuration but I couldn't find it there. I'm guessing it's for the insertion of a horizontal rule of some kind. If you happen to have this handy, I'd love to see it. But again, thanks for the suggestion.


This comment has been minimized.

Copy link
Owner Author

@camdez camdez commented Apr 13, 2015

Hi @willtmonroe, sorry about not getting back to you sooner—I just saw this. You can find the function here. I think it was in my experimental file (of all places...) at the time that you looked for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment