From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [kzeitler@sfsws1.de.lucent.com: Buffer sometimes changes to modified with truncate-partial-width-windows set to nil] Date: Wed, 16 Aug 2006 10:07:35 -0400 Message-ID: <8764gssriw.fsf@furball.mit.edu> References: <877j19lh93.fsf@stupidchicken.com> <44E2CE56.5010602@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155737318 1745 80.91.229.2 (16 Aug 2006 14:08:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Aug 2006 14:08:38 +0000 (UTC) Cc: monnier@iro.umontreal.ca, kifer@cs.sunysb.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 16 16:08:35 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GDM4H-0005GR-VA for ged-emacs-devel@m.gmane.org; Wed, 16 Aug 2006 16:08:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDM4H-0004gI-0k for ged-emacs-devel@m.gmane.org; Wed, 16 Aug 2006 10:08:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GDM48-0004gC-Lp for emacs-devel@gnu.org; Wed, 16 Aug 2006 10:08:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDM48-0004g4-9a for emacs-devel@gnu.org; Wed, 16 Aug 2006 10:08:16 -0400 Original-Received: from [18.72.1.2] (helo=south-station-annex.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GDMAN-00016b-E9 for emacs-devel@gnu.org; Wed, 16 Aug 2006 10:14:44 -0400 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id k7GE7pxS003745; Wed, 16 Aug 2006 10:07:52 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id k7GE7mSp000864; Wed, 16 Aug 2006 10:07:49 -0400 (EDT) Original-Received: from furball.mit.edu (SYDNEYPACIFIC-THREE-NINETY-NINE.MIT.EDU [18.95.6.144]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id k7GE7ZSb008447; Wed, 16 Aug 2006 10:07:38 -0400 (EDT) Original-Received: from cyd by furball.mit.edu with local (Exim 3.36 #1 (Debian)) id 1GDM3T-0002XN-00; Wed, 16 Aug 2006 10:07:35 -0400 Original-To: martin rudalics In-Reply-To: <44E2CE56.5010602@gmx.at> (martin rudalics's message of "Wed, 16 Aug 2006 09:50:46 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.217 X-Scanned-By: MIMEDefang 2.42 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58443 Archived-At: martin rudalics writes: > Would the following handle it? > > (run-with-timer > 0 nil (lambda () > ! (with-current-buffer buf > ! (with-buffer-prepared-for-jit-lock > ! (put-text-property start orig-start > ! 'fontified t))))))) Yes! Thanks very much for finding the problem. Klaus Zeitler writes: > No it's still the same. Did you recompile Emacs? jit-lock.el is loaded before dumping, so if you want changes in that file to show up, you have to do a `make' after byte compiling it.