Re: New version V1.5.0 of rst.el

Stefan Merten <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Hi Oleksandr!

Yesterday Oleksandr Gavenko wrote:
> Hi! I actively use rst.el (which come with official Emacs).

Over the time different versions of rst.el have been bundled with
official Emacs versions. In more recent versions of rst.el you could
try ``C-h v rst-version`` for the version you are using.

> Only one downside I have. For one long file (700 KiB, 20 kLOC).
> 
> When I open it I have 2-5 sec delay first time and when I mark line as header
> (C-c C-= / M-x rst-adjust) it take 1-2 sec to complete action.
> 
> File has near 660 headers (notes for future blog posts).

I guess you are using font locking. Some years ago with the help of
Emacs developers I spent some effort to enable using `jit-lock-mode`.
Please check ``C-h v font-lock-support-mode``. The value should be
`jit-lock-mode` (the default).

If that makes a difference then fine. If not you may send me your file
by private mail. You may want to use rot13 for privacy reasons.

You can also try loading your file without font locking switched on.
This should not result in any delay.

> I have not tried new version yet.

There should be no changes in this regard.


						Grüße

						Stefan

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.