Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Globally changed set-text-properties to use 'font-lock-face vice 'face. ↵ | Craig Earls | 2016-02-28 | 1 | -1/+1 |
| | | | | This was a compatibility problem with spacemacs. | ||||
* | fontify recurring transaction in ledger-mode [ci skip] | paulbdavis | 2015-09-18 | 1 | -1/+2 |
| | |||||
* | [emacs] C-x h M-x untabify RET | thdox | 2015-02-10 | 1 | -121/+121 |
| | | | | | | C-x h M-x indent-region RET [ci skip] | ||||
* | [emacs] Fontification should work independentily on where the point currently is | Konstantin Nazarov | 2015-01-11 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a subtle bug that happens only when org-src-fontify-natively is enabled: (setq org-src-fontify-natively t) If then you create a Babel block with ledger text, it won't be fontified. This happens because the 'ledger-fontify-buffer-part' starts fontification from the current 'point', which in case of org-src-font-lock-fontify-block happens to _not_ point to the beginning of buffer. Instead it points to the original org-mode buffer. This doesn't happen when one opens regular files, because the 'point' is almost always at the beginning of the file. To reproduce the bug, you can do the following: (defun fontify-test() (let ((lang-mode 'ledger-mode) pos next) (with-current-buffer (get-buffer-create "ledger-fontification-bug") (unless (eq major-mode lang-mode) (funcall lang-mode)) (erase-buffer) (insert "2015/01/09 asdf\n foo\n bar\n" " ") (font-lock-fontify-buffer) (switch-to-buffer "ledger-fontification-bug") ))) Call 'fontify-test' and see that the buffer is not fontified. [ci skip] | ||||
* | [emacs] Fix byte compilation warnings | Steve Purcell | 2014-12-09 | 1 | -2/+7 |
| | |||||
* | [emacs] Parse transaction leading lines more robustly | Steve Purcell | 2014-12-09 | 1 | -19/+20 |
| | | | | | | This began with noticing that the code didn't support the (ugly, yet valid) case of a tab between the date and txn description. I took the opportunity to make the regexes more consistent along the way. | ||||
* | Another fonitification fix. and clean up a stray reference to function removed. | Craig Earls | 2014-12-02 | 1 | -20/+13 |
| | |||||
* | Adjust payee line fortification. | Craig Earls | 2014-12-02 | 1 | -1/+3 |
| | |||||
* | Doc string cleanup. | Craig Earls | 2014-12-01 | 1 | -8/+11 |
| | |||||
* | Simplifies parsing of the beginning of an act. This allows fontifying ↵ | Craig Earls | 2014-12-01 | 1 | -14/+15 |
| | | | | effective dates. | ||||
* | Remove s-trim functions since they stomp on s.el. | Craig Earls | 2014-11-27 | 1 | -18/+2 |
| | |||||
* | Smash a bug that cause the status on a posting with no amount to bleed into ↵ | Craig Earls | 2014-11-11 | 1 | -20/+49 |
| | | | | the next line. | ||||
* | Improve finding boundaries of elements for fontification. Also added P for ↵ | Craig Earls | 2014-11-07 | 1 | -2/+4 |
| | | | | price directives. | ||||
* | Fix comment detection logic for fortification. | Craig Earls | 2014-09-28 | 1 | -14/+8 |
| | |||||
* | Make ledger-fontify-xact-state-overrides nil by default | Craig Earls | 2014-09-22 | 1 | -2/+2 |
| | |||||
* | All navigation functions moved to ledger-navigate. | Craig Earls | 2014-09-13 | 1 | -3/+3 |
| | | | | Reduce several overlapping functions. | ||||
* | everything appears to work with no empty lines between xacts. | Craig Earls | 2014-09-13 | 1 | -13/+25 |
| | |||||
* | Minor refactoring and code cleanup | Craig Earls | 2014-09-10 | 1 | -31/+3 |
| | |||||
* | New fortification is working. | Craig Earls | 2014-09-08 | 1 | -27/+27 |
| | | | | Code pruned. | ||||
* | Seems to be working. I wasn't ensuring I caught all the xacts in a region ↵ | Craig Earls | 2014-09-08 | 1 | -13/+11 |
| | | | | | | specified by hit lock. Now I need to prune code | ||||
* | Solved the fight between jit-lock. But for some reason it isn't calling it ↵ | Craig Earls | 2014-09-05 | 1 | -1/+1 |
| | | | | for all regions in the buffer. | ||||
* | jit-lock is now calling ledger-fontify-buffer-part, but ↵ | Craig Earls | 2014-09-05 | 1 | -1/+1 |
| | | | | font-lock-fontify-region is still being called and fighting with it. | ||||
* | meh. Still chugging along. | Craig Earls | 2014-09-05 | 1 | -6/+7 |
| | |||||
* | improved xact iteration so fontify-whole-buffer doesn't miss xact separated ↵ | Craig Earls | 2014-09-04 | 1 | -4/+4 |
| | | | | by more than a single empty line | ||||
* | Not working well, try something else on new-fontification-scheme-2 | Craig Earls | 2014-08-26 | 1 | -3/+17 |
| | |||||
* | fontifying xact starts and postings. | Craig Earls | 2014-08-24 | 1 | -13/+28 |
| | | | | initial testing looks better than previous font-lock methods. Need run time and performance testing. | ||||
* | Set up fontification independent of font-lock. | Craig Earls | 2014-08-24 | 1 | -0/+173 |
Basic functionality in place. need to test further and expand detail fortification. |