GNU bug report logs - #19566
(unload-feature 'misearch) breaks isearch

Previous Next

Package: emacs;

Reported by: Ivan Shmakov <ivan <at> siamics.net>

Date: Sun, 11 Jan 2015 11:39:02 UTC

Severity: minor

Tags: patch

Fixed in version 25.1

Done: Ivan Shmakov <ivan <at> siamics.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 19566 <at> debbugs.gnu.org
Subject: bug#19566: (unload-feature 'misearch) breaks isearch
Date: Sun, 11 Jan 2015 22:44:15 +0200
> 	Using unload-feature to unload misearch.el also undefines the
> 	autoloaded variables, which breaks isearch.el as it still uses
> 	them.
>
> 	Please thus consider the patch MIMEd.
>
> 	* lisp/misearch.el (multi-isearch-unload-function): New function
> 	to retain definitions of autoloaded variables when unloading.
> 	(misearch-unload-function): New alias.

Even though I see no way to reproduce the test case which breaks isearch.el
(after unloading, isearch.el just re-loads misearch.el again), I agree that
we definitely should correctly unload them.




This bug report was last modified 10 years and 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.