Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No documentation or how to install it! #2

Open
japhir opened this issue Oct 5, 2020 · 0 comments
Open

No documentation or how to install it! #2

japhir opened this issue Oct 5, 2020 · 0 comments

Comments

@japhir
Copy link

japhir commented Oct 5, 2020

Hi! After some searching I've managed to install epaint after figuring out how straight.el works. I've installed epaint like this: (perhaps useful for others)

;; preload straight.el, top of init file
(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

;; install epaint from github directly
(straight-use-package
 '(el-patch :type git :host github :repo "chuntaro/epaint"))

Now when I call M-x epaint an *EPaint* buffer opens and I can draw! But when I summon the help pages for the epaint function, there is nothing! I'd like to learn how to change colour, line width, etc.

Ultimately, I would love to have some integration with org-mode, where I am typing up notes, hit key key combo to start a new epaint buffer, draw some doodles, then save the file as png(svg/jpg?), which is inserted into the org-mode buffer as a link with image preview turned on. Ideally hitting some key on any image link should open up a new/existing epaint buffer to further tweak the image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant