From: martin rudalics <rudalics@gmx.at>
Cc: monnier@iro.umontreal.ca, kifer@cs.sunysb.edu, emacs-devel@gnu.org
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 09:50:46 +0200 [thread overview]
Message-ID: <44E2CE56.5010602@gmx.at> (raw)
In-Reply-To: <877j19lh93.fsf@stupidchicken.com>
> Even more bizaarely, tweaking set-buffer-modified-p inside the
> `with-buffer-prepared-for-jit-lock' block, as shown below, also causes
> the bug to go away. By right, it should do nothing. The
> set-buffer-modified-p call can be put later in `jit-lock-fontify-now',
> but putting it any earlier causes the bug to resurface. Anyone have
> any idea what's going on here?
Would the following handle it?
*** jit-lock.el.~1.53.~ Tue Aug 15 10:00:50 2006
--- jit-lock.el Wed Aug 16 09:40:26 2006
***************
*** 391,399 ****
(buf (current-buffer)))
(run-with-timer
0 nil (lambda ()
! (with-buffer-prepared-for-jit-lock
! (put-text-property start orig-start
! 'fontified t buf))))))
;; Find the start of the next chunk, if any.
(setq start (text-property-any next end 'fontified nil))))))))
--- 391,400 ----
(buf (current-buffer)))
(run-with-timer
0 nil (lambda ()
! (with-current-buffer buf
! (with-buffer-prepared-for-jit-lock
! (put-text-property start orig-start
! 'fontified t)))))))
;; Find the start of the next chunk, if any.
(setq start (text-property-any next end 'fontified nil))))))))
next prev parent reply other threads:[~2006-08-16 7:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-10 1:13 [kzeitler@sfsws1.de.lucent.com: Buffer sometimes changes to modified with truncate-partial-width-windows set to nil] Richard Stallman
2006-08-10 22:50 ` Chong Yidong
2006-08-11 6:50 ` Klaus Zeitler
2006-08-11 19:23 ` Richard Stallman
2006-08-15 23:19 ` Chong Yidong
2006-08-16 7:50 ` martin rudalics [this message]
2006-08-16 11:55 ` Klaus Zeitler
2006-08-16 12:51 ` martin rudalics
2006-08-16 14:07 ` Chong Yidong
2006-08-17 6:19 ` Klaus Zeitler
2006-08-17 15:07 ` Stefan Monnier
2006-08-17 15:19 ` Richard Stallman
2006-08-25 20:23 ` Richard Stallman
2006-08-26 0:03 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44E2CE56.5010602@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
--cc=kifer@cs.sunysb.edu \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.