From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: D. Goel Newsgroups: gmane.emacs.bugs Subject: unload-feature ==> inconsistent state for emacs Date: 26 Sep 2002 17:08:25 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87u1kcsbli.fsf@computer.localdomain> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033074575 16392 127.0.0.1 (26 Sep 2002 21:09:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 21:09:35 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17uft7-0004GF-00 for ; Thu, 26 Sep 2002 23:09:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uftH-00082d-00; Thu, 26 Sep 2002 17:09:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17ufs4-0006oM-00 for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2002 17:08:28 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17ufs2-0006lg-00 for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2002 17:08:27 -0400 Original-Received: from 24-197-159-102.charterga.net ([24.197.159.102] helo=computer) by monty-python.gnu.org with esmtp (Exim 4.10) id 17ufs2-0006lc-00 for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2002 17:08:26 -0400 Original-Received: from deego by computer with local (Exim 3.35 #1 (Debian)) id 17ufs1-0002pP-00 for ; Thu, 26 Sep 2002 17:08:25 -0400 Original-To: bug-gnu-emacs@gnu.org Original-Lines: 73 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3587 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3587 [1] emacs -q -no-site-file Load a file ~/vv.el containing: ==================================================== (easy-mmode-define-minor-mode vv-mode "The mode to inherit minibuffer keybindings" nil "dfdf") (provide 'vv) ==================================================== M-x unload-feature vv now, the variable vv-mode is either defined or undefined, depending on whether unload-feature recognized it. I guess Both would be fine, as unload-feature "does its best" and is not a "guarantee". But the problem is that things are worse. Emacs seems to have entered a strange state wrt the variable vv-mode. To see this M-x load-file ~/vv.el, now vv-mode should be defined. So, M-: vv-mode to get this backtrace ,---- | Debugger entered--Lisp error: (void-variable vv-mode) | eval(vv-mode) | eval-expression(vv-mode nil) | call-interactively(eval-expression) `---- ==================================================== [2] I then appended a (defvar vv-mode nil) to the beginning of vv.el and went through the entire procedure above, and got the same error. ==================================================== In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-03-22 on raven, modified by Debian configured using `configure i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Recent input: ESC x g n u s RET s ESC x r e p o r t - e m TAB RE T Recent messages: No new newsgroups Checking new news... Opening nnfolder server on archive... Opening nndraft server... Checking new news...done (No changes need to be saved) Loading emacsbug...done