all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#20911: 24.5.3; Syntax should not require font-lock
@ 2015-06-27 15:19 Andreas Röhler
  2015-06-27 15:31 ` Dmitry Gutov
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Röhler @ 2015-06-27 15:19 UTC (permalink / raw)
  To: 20911

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-27 16:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-27 15:19 bug#20911: 24.5.3; Syntax should not require font-lock Andreas Röhler
2015-06-27 15:31 ` Dmitry Gutov
2015-06-27 16:37   ` Dmitry Gutov
2015-06-27 16:40     ` Andreas Röhler
2015-06-27 16:42       ` Dmitry Gutov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.