From lekktu@gmail.com Tue Sep 9 07:29:49 2008 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. From lekktu@gmail.com Tue Sep 9 08:30:06 2008 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=-2.6 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 9 Sep 2008 15:30:06 +0000 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m89FTskT001559 for ; Tue, 9 Sep 2008 08:29:56 -0700 Received: by ey-out-2122.google.com with SMTP id 4so892512eyf.13 for ; Tue, 09 Sep 2008 08:29:53 -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=pnrBr3Sc3MGAsDUYSFbJ8ujVkwtKPa9vj4K6cAn6JSY=; b=Wjs/X+JZ5xOJELe/mwWSa/SPIfhWUFhjH1qpls4dIc2dJVcQ1R8fy31QM2hoLSr8bf SosFCDy5ViC7MOr/712CJ/OJ18sTL/ZGt7Y1pvB2g7ts6I280of+c9/VKwZsKbA0wG89 yI1mdqyuLyDh+Bc+OzISIQ3OsUkpVDC8LJRKM= 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=Adp0M20WpCu+AiAZZQ/jgytLMnZo6uoGCJq0NVBeGtLWyaJjI7Mo/ngkeMKHe2U5+z ofAOiXQNuflD4oAplAzqHGjJVjOo4hdAe/AA/CBoFr2NbhCB/M2JHGjvM8CJavEy6Eei r9uVct0HVlb2svhC5rQ+sdmzUFGftqQModIGk= Received: by 10.210.41.1 with SMTP id o1mr1410907ebo.108.1220974193861; Tue, 09 Sep 2008 08:29:53 -0700 (PDT) Received: by 10.210.23.12 with HTTP; Tue, 9 Sep 2008 08:29:53 -0700 (PDT) Message-ID: Date: Tue, 9 Sep 2008 17:29:53 +0200 From: "Juanma Barranquero" To: control@debbugs.gnu.org Subject: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline found 870 23.0.60 found 872 23.0.60 found 874 23.0.60 found 876 23.0.60 found 947 22.3 found 947 23.0.60 reassign 870 emacs,w32 reassign 872 emacs,w32 reassign 876 emacs,w32 quit From rgm@gnu.org Wed Sep 10 11:46:45 2008 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) by emacsbugs.donarmstrong.com; 10 Sep 2008 18:46:45 +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 m8AIkg08031060 for <947@emacsbugs.donarmstrong.com>; Wed, 10 Sep 2008 11:46:43 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KdUgQ-0007kA-ES; Wed, 10 Sep 2008 14:44:54 -0400 From: Glenn Morris To: Juanma Barranquero Cc: 947@debbugs.gnu.org Subject: Re: bug#947: Recursive load of ido after unload-feature and reload References: X-Spook: offensive information warfare FTS2000 Abu Ghraib counter X-Ran: e&^5c|S:%&nKhBlq)Su3r.o2!bP?vK;86+TeNm;48+&",ajjd.3`f!O>+Pr.!Fgl&dmytX X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 10 Sep 2008 14:44:54 -0400 In-Reply-To: (Juanma Barranquero's message of "Tue, 9 Sep 2008 16:29:40 +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: > and setting the variable ido-mode runs this code: > > :set #'(lambda (symbol value) > (ido-mode value)) > > so there's really a recursion. Isn't this enough, so long as ido-mode is not enabled by default? *** ido.el 9 Sep 2008 14:01:03 -0000 1.150 --- ido.el 10 Sep 2008 18:44:43 -0000 *************** *** 353,359 **** use either \\[customize] or the function `ido-mode'." :set #'(lambda (symbol value) (ido-mode value)) ! :initialize 'custom-initialize-set :require 'ido :link '(emacs-commentary-link "ido.el") :set-after '(ido-save-directory-list-file --- 353,359 ---- use either \\[customize] or the function `ido-mode'." :set #'(lambda (symbol value) (ido-mode value)) ! :initialize 'custom-initialize-default :require 'ido :link '(emacs-commentary-link "ido.el") :set-after '(ido-save-directory-list-file From lekktu@gmail.com Wed Sep 10 16:56:07 2008 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=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 947) by emacsbugs.donarmstrong.com; 10 Sep 2008 23:56:07 +0000 Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.184]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8ANu4IJ014463 for <947@emacsbugs.donarmstrong.com>; Wed, 10 Sep 2008 16:56:05 -0700 Received: by rn-out-0910.google.com with SMTP id j66so79423rne.20 for <947@emacsbugs.donarmstrong.com>; Wed, 10 Sep 2008 16:56:03 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=q1G9/iu/8fzTXVX7DdC//kLEOGDAuwKd8q7XPfZPKs0=; b=CZgkOoe5rjmhYmi+0QHnec3AXLD+CAV1cgyuZAqjznBx2pc3nRxfhjkXtnh+Al0KYR ELqVr2Qoy+JFbRRNM1rk+79VJAlFLy18V5goyVnacsBUFw25DOxT5tAqEDCmvF3+B006 EUSn4qKTRLA3pDKxhKN1PZW+N4MtH7dA1gGIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FtiFRIYcHm2KimRrkj+bWynw72zEY9FJ8u6j5fpCE2tHvpbssc+uXx1vl+FKmWrAGf XHZ17jfV1UH07M4jgvgk0yDEN+NMSOWzJlM35xX08BJdW1erHCCaFsD8NK1MUkfYQ/LU y/4DqG3LR9DMjidm+jmUSKWaZJhnqrNgc6TZE= Received: by 10.100.46.10 with SMTP id t10mr2530382ant.22.1221090963714; Wed, 10 Sep 2008 16:56:03 -0700 (PDT) Received: by 10.100.13.13 with HTTP; Wed, 10 Sep 2008 16:56:03 -0700 (PDT) Message-ID: Date: Thu, 11 Sep 2008 01:56:03 +0200 From: "Juanma Barranquero" To: "Glenn Morris" Subject: Re: bug#947: Recursive load of ido after unload-feature and reload Cc: 947@debbugs.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: On Wed, Sep 10, 2008 at 20:44, Glenn Morris wrote: > Isn't this enough Yes, it apparently fixes the problem. > so long as ido-mode is not enabled by default? What do you mean, "not enabled by default"? Juanma From rgm@gnu.org Wed Sep 10 23:13:22 2008 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@debbugs.gnu.org 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. From unknown Sat Jun 21 03:26:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 09 Oct 2008 14:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator