-
Notifications
You must be signed in to change notification settings - Fork 57
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
evaluate buffer or region? #43
Comments
You can evaluate the entire buffer with I don't see much use in a (defun skewer-eval-region (beg end)
"Execute the region as JavaScript code in the attached browsers."
(interactive "r")
(skewer-eval (buffer-substring beg end) #'skewer-post-minibuffer)) |
|
M-x skewer-load-buffer only works with JavaScript, and should only be It has no meaning for skewer-html-mode. But I'm curious why it seems to |
What you said eventually turned out to be right: After one or two successfully working C-M-x key presses, it stopped evaluating the html tags. Now I've restarted Emacs and run-skewer from scratch and did M-x skewer-html-mode and it started to evaluate the html tags (finally :) For instance it evaluated the That's fine. But out of curiosity I reproduced the steps which caused me trouble at first hand. I noticed that if I try to M-C-x on a tag such as on: |
Yup, this is a bug. The problem is all those tags being on the same I gave the HTML selector stuff an overhaul, this time not being |
Just wanted to note that I did add a I find it useful sometimes to control exactly (and to know beforehand) what will get evaluated. Of course, I'll run |
Just wondering if at some point you will add the ability to evaluate a region or the buffer.
The text was updated successfully, but these errors were encountered: