From unknown Sat Aug 16 15:55:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20911 <20911@debbugs.gnu.org> To: bug#20911 <20911@debbugs.gnu.org> Subject: Status: 24.5.3; Syntax should not require font-lock Reply-To: bug#20911 <20911@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:55:59 +0000 retitle 20911 24.5.3; Syntax should not require font-lock reassign 20911 emacs submitter 20911 Andreas R=C3=B6hler severity 20911 normal tag 20911 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 27 11:20:13 2015 Received: (at submit) by debbugs.gnu.org; 27 Jun 2015 15:20:13 +0000 Received: from localhost ([127.0.0.1]:59291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8rts-0007HC-3E for submit@debbugs.gnu.org; Sat, 27 Jun 2015 11:20:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57862) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8rtp-0007Gw-5U for submit@debbugs.gnu.org; Sat, 27 Jun 2015 11:20:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8rti-0000pw-Ki for submit@debbugs.gnu.org; Sat, 27 Jun 2015 11:20:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8rti-0000po-I5 for submit@debbugs.gnu.org; Sat, 27 Jun 2015 11:20:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8rth-0004kc-BD for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 11:20:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8rte-0000hM-52 for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 11:20:01 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:56142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8rtd-0000g1-RR for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 11:19:58 -0400 Received: from [192.168.178.31] ([77.3.38.12]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0MdZVI-1ZRbd21KTE-00PNK2 for ; Sat, 27 Jun 2015 17:19:56 +0200 Message-ID: <558EBF1B.9090409@easy-emacs.de> Date: Sat, 27 Jun 2015 17:19:55 +0200 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.5.3; Syntax should not require font-lock Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:n8+VZHOrK4853wEnKcFOu+pnSFVks0LkTbR/oGHTayD+Ux0Yu0B XgZEbYn4LDtMWACyYyOx+Ou2t84HQsfONJUZU5JXs0mz0BdstYXY9aUuNYviO6KUYu3i6jG Wh+u0zfA1UyZ3Biy/l+YO2+kL4WTMo6OYdxCBxTo2XYQ9kzw35tVsY+XFK0aH8k+VL6xi1p kSRPnzrouL7UFLevudpDg== X-UI-Out-Filterresults: notjunk:1;V01:K0:a0A2WjoFn9k=:39OGMFqUIk/XpFPd36/0Zl SiSWFcuUcpiRKhf9zrEPLURI/owvdt81UQJPxOAMwbuScT1L8eyIQ3oOHWlnzRgmCgpiY5QrD ZJIKCoWiv2ze0rqbXx9A7IGsyzFJqKcv2zQFlvveH3qEQfZ9xGYQaMtwN6mZjVeuluJKshJQu D/gp0vTyKw2d3UkoyW05BhPw4RSAQXwn4pOvtbBtFdFNqDYGSyporntfrHMETw2qf+A4yTSk8 bPOw78GbPWm97VCCbwRSqaVAL5mqr5AuzZgfCrBLyJI4I4ze/7Mj0VvX5F0e1x/xBkwPQng3D zvwedqmuhRgxsHpp75mrKfbgZi05YUQatxMsm5hQsagMx6/vN3JRV2HQ7nrqaQrxuroWrWRWz lDNnPu/sM6QhUigFZh4x2Kt+vxl4Wn6VyHVE7wF+G2OIlKEOB1M1i8Cuf+W2W9TBCR4atcKYT qWXoygCX61nl+DWisln1mYjviKQWN41/TqlGu+tdoToukJOtN0c6LmsUdcSo88ETQFQsTIdkD GkuRllpoqvove1MYkg7S0GOByynCll3ydWr262SAXxbnU1QJFJocBmKoLBK2n5rrmMIiimW9o yN7vJ4L9OEVyk44/A+7cVutEdCd8meDXIwpmkys3FywYOE/JXPXKBWu4lI/0GFacbb3Ulwd1W lJjKZ5qbritMiiX7G7I8H+hj3/WKkNgIpX5niQPAiQGVG1g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 27 11:31:15 2015 Received: (at 20911-done) by debbugs.gnu.org; 27 Jun 2015 15:31:16 +0000 Received: from localhost ([127.0.0.1]:59300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8s4Y-0007XY-Sd for submit@debbugs.gnu.org; Sat, 27 Jun 2015 11:31:15 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:35638) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8s4V-0007XJ-Do for 20911-done@debbugs.gnu.org; Sat, 27 Jun 2015 11:31:12 -0400 Received: by wgjx7 with SMTP id x7so36228445wgj.2 for <20911-done@debbugs.gnu.org>; Sat, 27 Jun 2015 08:31:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=8kcWvFjtnHfmCHOuFmVZqAL0+peZYwjXlxjtkQRbpcU=; b=LLUvZ0YLMGa/lzJdTcsr4LXTGfCn9MVcsR/CpptpVmn8Mgpd8G9E8uPkMLQGYBc6Qb mb6M+ZwsbnFHDXoPs1u54eovcJqpZPodZatf+g0KBKMyClAqGzmGX4/XNBRA3Y8ZHalX h+V4FjzmYz6rG24fKW210fvrUExiM5U6rzJiQV28Ogp3ixBX6rBRgf3S1S5J8JS8cdZT L4feWsMxjp5Lg+FTMqMq3AfM6aN3rU/0kaPIA3S1mmr1jvNQD/P1m2WzYNZtGwDr0NxM NWedGvEZ6mzvg9QRTtmLnJ2JGGM59CTIYPNsqwEFtdMg3LzFRNvb6UlYQfiOatSpQgEm eF3w== X-Received: by 10.180.228.6 with SMTP id se6mr6498758wic.33.1435419065654; Sat, 27 Jun 2015 08:31:05 -0700 (PDT) Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id sc16sm17402528wjb.28.2015.06.27.08.31.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jun 2015 08:31:05 -0700 (PDT) Subject: Re: bug#20911: 24.5.3; Syntax should not require font-lock To: =?UTF-8?Q?Andreas_R=c3=b6hler?= , 20911-done@debbugs.gnu.org References: <558EBF1B.9090409@easy-emacs.de> From: Dmitry Gutov Message-ID: <558EC1B6.6090506@yandex.ru> Date: Sat, 27 Jun 2015 18:31:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 MIME-Version: 1.0 In-Reply-To: <558EBF1B.9090409@easy-emacs.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20911-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Tags: notabug Hi! On 06/27/2015 06:19 PM, Andreas Röhler wrote: > 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))` Don't do that, then. > AFAICS the error is caused, because TQS-syntax in python.el is set by > syntax-propertize-function Call (syntax-propertize (point-max)) instead. > Documentation: > Mode-specific function to apply syntax-table' text properties. It is the > work horse of `syntax-propertize', which is called by things like > Font-Lock and indentation. > > > Setting up syntax seems to require font-lock - which doesn't feel right. That only says that font-lock requires it, not vice versa. The docstring even mentions `syntax-propertize'. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 27 11:34:12 2015 Received: (at control) by debbugs.gnu.org; 27 Jun 2015 15:34:12 +0000 Received: from localhost ([127.0.0.1]:59307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8s7P-0007bz-VC for submit@debbugs.gnu.org; Sat, 27 Jun 2015 11:34:12 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:35776) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8s7O-0007bk-1h for control@debbugs.gnu.org; Sat, 27 Jun 2015 11:34:10 -0400 Received: by wiga1 with SMTP id a1so39028296wig.0 for ; Sat, 27 Jun 2015 08:34:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:message-id:to:from:subject; bh=9iN/4oyTGTDFFF2+yyLzckHGjIfuL0kDda01S4S2cnk=; b=VM+01qkh1BJtXRqY6hVfjbWX65gSsGcv12v0yqsS2huLWdNZzWUvy5IG8scw9X7pxQ xHRGc3j/6fGI4w/DtWr0E6p+EaTUGZifVUUzrETkcvUs0dgEmTRftyNPpXKybPvJzN2H dmhIxTmH4V75FgHQUvffczpROb2QSkaU8SwRUmPmxyORJsiXSFXhY1dl8ILUWEosYPY/ v7SdWnRhMI2sMslk4e0hUc8RT9xoWTGpT4cB0MM48NLhYlqug1BXSVuPFRwkYLgJboJb bZjChQYXfzaW/mJevoGuHHWLB9QNWnVZadt5ZPK21qPHoy/oJmQNrXMw02Lc6VO4r5g1 JKtQ== X-Received: by 10.194.11.73 with SMTP id o9mr13176057wjb.116.1435419244300; Sat, 27 Jun 2015 08:34:04 -0700 (PDT) Received: from axl ([82.102.93.54]) by mx.google.com with ESMTPSA id f8sm3420826wiy.7.2015.06.27.08.34.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jun 2015 08:34:04 -0700 (PDT) Date: Sat, 27 Jun 2015 18:34:01 +0300 Message-Id: <861tgxxj12.fsf@yandex.ru> To: control@debbugs.gnu.org From: Dmitry Gutov Subject: control message for bug #20911 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 20911 notabug From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 27 12:37:52 2015 Received: (at 20911-done) by debbugs.gnu.org; 27 Jun 2015 16:37:52 +0000 Received: from localhost ([127.0.0.1]:59325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8t72-00025g-6Z for submit@debbugs.gnu.org; Sat, 27 Jun 2015 12:37:52 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:37489) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8t70-00025T-Of for 20911-done@debbugs.gnu.org; Sat, 27 Jun 2015 12:37:51 -0400 Received: by wicgi11 with SMTP id gi11so40446721wic.0 for <20911-done@debbugs.gnu.org>; Sat, 27 Jun 2015 09:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=5jEiwIQm7NUZmEEXnQnD2z8+gfStkwLmG++3xHp1UAo=; b=eI07x4jBk/CBHXiwnnehN4fqT/7Oef9Ng7HCAB4ap6AIOrO0nVmj9EwOUASpTKuLw3 dyHgLbOFiklz/gNkBrXe0tSAEqTwrx7YW1pr1qvLsI7acKdehlM0LRSqcBA0YKCMaW9X C1s36rRa1jZlNnxwIIxQA/bQnYFjOdTpu+rK9NUxIKLfO/jaSZokoPvZr+oLtcsXzPQ+ G8Kpk0We9T7ga05z1gfJsAjmmNbFFASXzrToY1dg4OliYjhljSTpjD1vEYERZg0lamwb jafGvH2NDPZYZIicOWv2m81LumoDx4AOYSqC9a1TMQvkxt8r66HoxPfDfIIxhRldEcll wzWQ== X-Received: by 10.194.184.140 with SMTP id eu12mr13100010wjc.78.1435423065060; Sat, 27 Jun 2015 09:37:45 -0700 (PDT) Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id fq7sm3647422wic.5.2015.06.27.09.37.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jun 2015 09:37:44 -0700 (PDT) Subject: Re: bug#20911: 24.5.3; Syntax should not require font-lock To: =?UTF-8?Q?Andreas_R=c3=b6hler?= , 20911-done@debbugs.gnu.org References: <558EBF1B.9090409@easy-emacs.de> <558EC1B6.6090506@yandex.ru> From: Dmitry Gutov Message-ID: <558ED155.8020102@yandex.ru> Date: Sat, 27 Jun 2015 19:37:41 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 MIME-Version: 1.0 In-Reply-To: <558EC1B6.6090506@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20911-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 06/27/2015 06:31 PM, Dmitry Gutov wrote: > Call (syntax-propertize (point-max)) instead. Further, this call should probably be in the code that relies on the added text properties, not in the test. Adjust the actual argument as appropriate: most of the time you only need the current buffer propertized until the current position, not necessarily until the end (which might take more time). From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 27 12:40:21 2015 Received: (at 20911-done) by debbugs.gnu.org; 27 Jun 2015 16:40:21 +0000 Received: from localhost ([127.0.0.1]:59329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8t9Q-00029K-PN for submit@debbugs.gnu.org; Sat, 27 Jun 2015 12:40:21 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:51030) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8t9O-000297-F7 for 20911-done@debbugs.gnu.org; Sat, 27 Jun 2015 12:40:19 -0400 Received: from [192.168.178.31] ([77.3.38.12]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0LZf8m-1Yf6EI3n8G-00lU7U; Sat, 27 Jun 2015 18:40:11 +0200 Message-ID: <558ED1EA.5020804@easy-emacs.de> Date: Sat, 27 Jun 2015 18:40:10 +0200 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Dmitry Gutov , 20911-done@debbugs.gnu.org Subject: Re: bug#20911: 24.5.3; Syntax should not require font-lock References: <558EBF1B.9090409@easy-emacs.de> <558EC1B6.6090506@yandex.ru> <558ED155.8020102@yandex.ru> In-Reply-To: <558ED155.8020102@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Y1RZkHIfltYviuvfp3ETwaVcmHkfZRZC8o3vJQR2uynqN643rqE K5IkPQV43yhOF188hFZZfc1XVyvCk/0vtzb76/TWsUc9EUG/aJkPc/y6FSCEcuUUfSiR0sD TRfJfkvXljgpE4OF2TPDrmPt0EpUctiaNfJ+yOMUiYXSFcWvxruEYdXIqgjF2fKmLJTO/WO DvcwdJHSgj4qgzq8AReAg== X-UI-Out-Filterresults: notjunk:1;V01:K0:xG3zcE8lyH4=:UTA7EtOE7EEiCJ95cGgAPg N6JVy1/ebCD+LDAQ4z6Eqjx0Jliw/CDbxfk5wFXOOEJjyosaJSyKUO+0xEXwNW6ncmKSVFkaO rBNJ9f6ziEyQ1BjevAN4ZXH916Au5SurFraKzU525HgiMiOYvshAlVBKgAGy9XHNlLbTQISfR YW4edoTl7eawQyru7ERcjjgnMbZnLiHDoFfHZntFmOsfUjDUB1gk3+3TZ0UByiThFUEP3jueX bucg7XC8IAs26o43uqI7T1u6cLmqjBhu4d0mGY2JvXEFNNautw7fDUum8Rq6IYJYb64YW2+1s KaF8CfOjgQxY+6GiyIl+uuoh9EghPwbK5om+4ovFGQ7+z5C4J/P2ZPjT3ggJ94YjbrJ5YCU3e tUbo/Ee/AMxxhJS9NW+YJHPQHb7AcsNMvuVKIICQ80EvEj6P7ngES8d+8c2NptlKXrwCW86OW Fy0q2RJOxDSzoTaep+iKlEG1Y1d/z/vTaCcoRGEu2CHd/4HYx5okstwBl2H+3XhO/Hd9ANZ1m x8HsURmWYINqzhcb6VIPTs47Qf/MuuLTS4J/mvDYVAyJ1wrVOnBkKmkKAZrOfvczo+Ek0/ejD OCjO39sc6ATcvAGwP98CZ29e3FBRYtoWVPXZ0lw9P0rCUDODTonOUPWkGxzJ2HseTiZYKZU1/ E/dPduklCGsE//yq/RIgvcs6XunvmCHSaQIFwW9fnJYntSA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20911-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Am 27.06.2015 um 18:37 schrieb Dmitry Gutov: > On 06/27/2015 06:31 PM, Dmitry Gutov wrote: > >> Call (syntax-propertize (point-max)) instead. > > Further, this call should probably be in the code that relies on the > added text properties, not in the test. Maybe, but this adresses python.el and other probably. My tests succeed by adding an extra fontify- in test buffer - which is a workaround. > > Adjust the actual argument as appropriate: most of the time you only > need the current buffer propertized until the current position, not > necessarily until the end (which might take more time). From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 27 12:42:39 2015 Received: (at 20911-done) by debbugs.gnu.org; 27 Jun 2015 16:42:39 +0000 Received: from localhost ([127.0.0.1]:59334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8tBe-0002Cb-Jb for submit@debbugs.gnu.org; Sat, 27 Jun 2015 12:42:38 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:32893) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8tBd-0002CP-97 for 20911-done@debbugs.gnu.org; Sat, 27 Jun 2015 12:42:37 -0400 Received: by wgck11 with SMTP id k11so110455537wgc.0 for <20911-done@debbugs.gnu.org>; Sat, 27 Jun 2015 09:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=HTMoXgfaEhemZ6lcpuIB3U7ZkSQPSI3EmyfTFl4dIIg=; b=0qvVhrqkJY2bgAilV3Hv4DXxb83VhhNAng7vH4Z/Hkd0JRm9aKc5EOB2zebbF5f9en ToJQ4As3MFZvDKJvEewMbUHKYe+kyYBUK/MV88bHjwhffFG4/QpD1P2x8Ks6wrkTeMOs pXM0to2ZD8ceTEgXHgS6LB9rHkiLKe/uS7XWZp12Bk1+Ucy8gu7UXLfrD4hEYKeKgSIV 4qGPyA8wZnQJOP7pU0KgiDnzh0hsHEhTirGsNuRkghP5tNvdEwRQxfJROLKXLDR++S9/ imIb2/WuOsZhTdSpCVCHv9/9Ip0wS/cTHTEGJX0l9F+NQ8ArxC9GcvGcU1VWKWwHJ7TX 4Kvg== X-Received: by 10.194.60.226 with SMTP id k2mr12729742wjr.10.1435423351397; Sat, 27 Jun 2015 09:42:31 -0700 (PDT) Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id jy6sm50554279wjc.4.2015.06.27.09.42.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jun 2015 09:42:31 -0700 (PDT) Subject: Re: bug#20911: 24.5.3; Syntax should not require font-lock To: =?UTF-8?Q?Andreas_R=c3=b6hler?= , 20911-done@debbugs.gnu.org References: <558EBF1B.9090409@easy-emacs.de> <558EC1B6.6090506@yandex.ru> <558ED155.8020102@yandex.ru> <558ED1EA.5020804@easy-emacs.de> From: Dmitry Gutov Message-ID: <558ED274.3070608@yandex.ru> Date: Sat, 27 Jun 2015 19:42:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 MIME-Version: 1.0 In-Reply-To: <558ED1EA.5020804@easy-emacs.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20911-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 06/27/2015 07:40 PM, Andreas Röhler wrote: > Maybe, but this adresses python.el and other probably. Feel free to open a relevant bug for each affected mode, with a reproduction scenario that starts with disabling font-lock. From unknown Sat Aug 16 15:55:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 26 Jul 2015 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator