From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#947: marked as done (Recursive load of ido after unload-feature and reload) Date: Wed, 10 Sep 2008 23:20:05 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1221114005-21755-0" X-Trace: ger.gmane.org 1221114843 327 80.91.229.12 (11 Sep 2008 06:34:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2008 06:34:03 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 11 08:34:58 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KdflV-00025I-6V for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Sep 2008 08:34:53 +0200 Original-Received: from localhost ([127.0.0.1]:47530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdfkV-0001uy-0T for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Sep 2008 02:33:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdfkR-0001uc-S5 for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 02:33:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdfkR-0001uE-33 for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 02:33:47 -0400 Original-Received: from [199.232.76.173] (port=54390 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdfkQ-0001u8-Uv for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 02:33:46 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:36278) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdfkG-0005OI-Nx; Thu, 11 Sep 2008 02:33:37 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KdfkF-0006VE-DY; Thu, 11 Sep 2008 02:33:35 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8B6RXC4024718; Wed, 10 Sep 2008 23:27:33 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8B6K5Nc021800; Wed, 10 Sep 2008 23:20:05 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 947 X-Emacs-PR-Package: emacs X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20463 Archived-At: This is a multi-part message in MIME format... ------------=_1221114005-21755-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 11 Sep 2008 02:11:29 -0400 with message-id and subject line Re: bug#947: Recursive load of ido after unload-feature an= d reload has caused the Emacs bug report #947, regarding Recursive load of ido after unload-feature and reload to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 947: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D947 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1221114005-21755-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.1 required=4.0 tests=AWL,BAYES_00,HAS_PACKAGE autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 9 Sep 2008 14:29:49 +0000 Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.191]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m89ETfjW012625 for ; Tue, 9 Sep 2008 07:29:43 -0700 Received: by rn-out-0910.google.com with SMTP id k56so542888rnd.20 for ; Tue, 09 Sep 2008 07:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=MpwA1cWV/s2iFjasAFpbtzPLk5QyAiqQgyT1kqmGk8w=; b=T2lmwVUwImf44XmgMZgBwWmvdlNUNWWSa1vFiZOv2sbfKPaS3tct7qoXEPwbGYBC8b cf+rYbbD4/LUHHjTSYShchLWHFZnvI2nMZBUij+jcXplHp0i2OMVYFhmgnhJpB76jeUE mcQhetosE1v36SdF4eiJ14QzhdCkmrIwGmA/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=I0Ckdh5ddN03ZR8zlUlm6LU6RPQXkSyrmDcybQBs0WDK0ZbbBpXMVKohzZ/TiUE9tu D7NtaadpolUMF/i4xvHRVriMx0boHcKG8+DOQEpoCBdAL12nQLvk5iNxEGqSxyMFiLL3 nNKCKOk5xAcasxJjUplRHtuBwYBOi50sRGfwI= Received: by 10.100.252.17 with SMTP id z17mr8732155anh.29.1220970581274; Tue, 09 Sep 2008 07:29:41 -0700 (PDT) Received: by 10.100.13.13 with HTTP; Tue, 9 Sep 2008 07:29:40 -0700 (PDT) Message-ID: Date: Tue, 9 Sep 2008 16:29:40 +0200 From: "Juanma Barranquero" To: "Emacs Bug Tracker" Subject: Recursive load of ido after unload-feature and reload MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Package: emacs Severity: minor emacs -Q -D M-x ido-mode M-x unload-feature ido M-x ido-mode Recursive load: "c:/emacs/trunk/lisp/ido.elc", "c:/emacs/trunk/lisp/ido.elc", "c:/emacs/trunk/lisp/ido.elc", "c:/emacs/trunk/lisp/ido.elc", "c:/emacs/trunk/lisp/ido.elc" The problem is that after unloading ido, the variable ido-mode is void, and calling ido-mode without an argument runs this code: (setq ido-mode (cond ((null arg) (if ido-mode nil 'both)) ; ... and setting the variable ido-mode runs this code: :set #'(lambda (symbol value) (ido-mode value)) so there's really a recursion. I can think of several crude workarounds, but they aren't pretty and I'm not sure they will play fair with customize. ------------=_1221114005-21755-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 947-done) by emacsbugs.donarmstrong.com; 11 Sep 2008 06:13:22 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8B6DJXS019702 for <947-done@emacsbugs.donarmstrong.com>; Wed, 10 Sep 2008 23:13:20 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KdfOr-0003SV-HR; Thu, 11 Sep 2008 02:11:29 -0400 From: Glenn Morris To: "Juanma Barranquero" Cc: 947-done@emacsbugs.donarmstrong.com Subject: Re: bug#947: Recursive load of ido after unload-feature and reload References: X-Spook: Majic BRLO credit card Mantis MDA digicash satellite X-Ran: 7,I>7WsRL>S(Il1B3S2{&dao0 X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 11 Sep 2008 02:11:29 -0400 In-Reply-To: (Juanma Barranquero's message of "Thu, 11 Sep 2008 01:56:03 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii "Juanma Barranquero" wrote: > Yes, it apparently fixes the problem. Installed. >> so long as ido-mode is not enabled by default? > What do you mean, "not enabled by default"? So long as ido-mode the variable has a default value of nil, which I imagine will always be true. ------------=_1221114005-21755-0--