Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205815 - app-emacs/rst-0.4: lazy-lock-mode is obsolete since emacs 22
Summary: app-emacs/rst-0.4: lazy-lock-mode is obsolete since emacs 22
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-14 16:31 UTC by Norihisa Fujita
Modified: 2008-01-14 18:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for this problem. (lazy-lock-mode-fix.patch,2.21 KB, patch)
2008-01-14 16:33 UTC, Norihisa Fujita
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Norihisa Fujita 2008-01-14 16:31:58 UTC
When I used rst-mode on emacs 22, this error was occured:
    Error in post-command-hook: (void-function lazy-lock-mode)

Since emacs 22, lazy-lock-mode is obsolete and jit-lock-mode replaces it.

In rst.el of the snapshot of docutils (URL is below), this problem is fixed.

Snapshot URL: http://docutils.sourceforge.net/docutils-snapshot.tgz

I make a patch. It replaces code related to font-lock to snapshot's. 
I think we should block <emacs-22 or apply the patch.

Reproducible: Always

Steps to Reproduce:
Comment 1 Norihisa Fujita 2008-01-14 16:33:04 UTC
Created attachment 140936 [details, diff]
patch for this problem.
Comment 2 Ulrich Müller gentoo-dev 2008-01-14 18:13:26 UTC
Fixed in rst-0.4-r1. I've slightly altered the patch file to remove whitespace changes.

Thank you for reporting and for providing the patch.