-
-
Notifications
You must be signed in to change notification settings - Fork 58
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 fontification when used on a narrowed buffer #86
Comments
This is just a guess... but it relies on sending the code out to a ruby server to parse it and it probably sends the whole thing and gets confused. |
When I try this with a bash script w/ embedded ruby I get this in
Not sure what |
So... maybe not my fault? Should try with a different language too. |
Nope... doesn't seem to work with any language in an indirect buffer. |
@wasamasa any feedback? I think this is more of a problem with emacs. |
I think this is more of a problem with
|
I can't repro with your file.
I get an error and the following in
|
Why Here are the contents of an Org file for the Ruby case:
|
|
Correct. And it uses |
i'm experiencing something similar without explicitly using narrowing. source blocks in an org file do not get fontified properly with
I've tried to trace down what is going wrong, but I haven't made much progress. I have a guess that its related to the font lock keywords in enh-ruby-mode. I do see some keywords being highlighted and right now I have a string highlighted properly, but things like Hopefully this is helpful! Thanks for the work on the package! This potentially could be a separate issue, but seemed similar. EDIT you can recreate without pushing things to the |
@gcentauri I have the same problem. GNU Emacs 27.2 |
I have some ruby code in a notes file with
org-mode
on, so I've narrowed to a region and enabledenh-ruby-mode
. This did result in no fontification at all. Any idea what's going wrong here?The text was updated successfully, but these errors were encountered: