Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 205815

Summary: app-emacs/rst-0.4: lazy-lock-mode is obsolete since emacs 22
Product: Gentoo Linux Reporter: Norihisa Fujita <mizyo>
Component: New packagesAssignee: Emacs project <emacs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for this problem.

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.