GNU bug report logs -
#20911
24.5.3; Syntax should not require font-lock
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
python.el and others.
While working at a general-close mode, tests succeeded locally, but
Travis CI repeatedly sent errors like this:
FAILED gen-close-python-doublequoted-tqs-test
FAILED gen-close-python-singlequoted-tqs-test
for example from
https://travis-ci.org/emacs-berlin/general-close/builds/68578148
These tests succeed, if boolean gen-verbose-p was set to t, which OTOH
isn't intendet at batch-mode.
Both macros in question -- for example gen-test-with-python-buffer--
have this:
`(when gen-verbose-p
(switch-to-buffer (current-buffer))
(font-lock-fontify-buffer))`
AFAICS the error is caused, because TQS-syntax in python.el is set by
syntax-propertize-function
Documentation:
Mode-specific function to apply syntax-table' text properties. It is the
work horse ofsyntax-propertize', which is called by things like
Font-Lock and indentation.
Setting up syntax seems to require font-lock - which doesn't feel right.
;;;;;;;;;;
GNU Emacs 24.5.3 (i686-pc-linux-gnu, GTK+ Version 2.24.23) of 2015-04-20
This bug report was last modified 10 years and 25 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.