Sorry to say, but the changes from 3.0 to 3.1 have utterly destroyed syntax highlighting in ledger.el. I've had a perusal of the commits on GitHub and it looks like there has been an attempt to switch away from Font Lock Mode. I gotta say, this development has not produced a stable version of ledger.el and I would *beg* a reversion for the stable release.
The problems are myriad, but I'll try to summarise: - I have a series of periodic trasactions. This series is fonitifed as three different faces: - some as ledger-font-xact-highlight-face (overlay and text property) - some as comments but lack the comment face text property - remainder in no face (but have text property fontified t) - I have 4 commodity lines, each gets a different face (font-lock-fontify-block will clear all of these) - random transaction are fontified as ledger-font-comment-face - transactions with effective dates are not fontified - transactions with no amount on the first account line and amount of second account line will fontify the second account line as ledger-font-posting-amount-face - transactions with effective date will highlight transaction above with ledger-font-xact-highlight-face instead of current transaction - automated transactions are not fontified COMMENTS! - comments are sometimes fontified, sometimes not (font-lock-fontify-block will cause comments to change sporadically, back and forth without much of a pattern, sorry I can't be more specific) - sometimes a transaction will be in a random face, then fontifying will result in ledger-font-comment-face - comment-dwim will prompt "No comment syntax is defined. Use:" As you can see, there are more issues than makes sense to submit multiple bug reports. I'm not sure where the wisdom lay to move away from Font Lock, but the replacement is far from ready for stable release. In the interim, can I request the commit hash immediately before the big switch? I gotta get a stable version... -- Paul W. Rankin http://www.paulwrankin.com -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
