lindydancer / font-lock-studio Goto Github PK
View Code? Open in Web Editor NEWDebugger for Font Lock keywords
License: GNU General Public License v3.0
Debugger for Font Lock keywords
License: GNU General Public License v3.0
Not an issue!
Just an appreciation for the wonderful and essential package you wrote! It saved my day.
Marco
These two features are required by the tests for this package, but I cannot find them anywhere.
Hi,
This is very cool and already useful, but I've hit case where the code makes heavy use of a custom font-lock-fontify-region-function
(see: https://github.com/doublep/logview/blob/master/logview.el#L3240), and it seems there's nothing in either Emacs or this library to help me debug it via Edebug.
Consider this as a feature request to also allow stepping user-provided font-lock-fontify-region-function
code.
Thank you!
After opening a Clojure source file and invoking M-x font-lock-studio, choosing "Step Into and Debug" from the menu with point at a place where the mini-buffer reports "Keyword with function name matcher", I see the following sort of output in the mini-buffer:
funcall: Invalid function: (edebug-enter (quote edebug-anon9) nil (function (lambda nil (edebug-after 0 0 clojure--search-comment-macro))))
Thankfully, manually invoking edebug-defun on the function in question and then / "Step Into" works :)
Emacs version is 26.1.
BTW, thanks for font-lock-studio!
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
font-lock-studio-show-source()
font-lock-studio-region(1 25772 nil)
font-lock-studio(nil)
call-interactively(font-lock-studio record nil)
command-execute(font-lock-studio record)
It took me some time to realize that this is because I'm using shackle and have configured it to select windows after displaying them. With it disabled, the error doesn't occur which suggests that the root cause of this is font-lock-studio relying on the default Emacs behavior.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.