unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: don@donarmstrong.com (Emacs bug Tracking System)
To: Glenn Morris <rgm@gnu.org>
Subject: bug#947: marked as done (Recursive load of ido after  unload-feature and reload)
Date: Wed, 10 Sep 2008 23:20:05 -0700	[thread overview]
Message-ID: <handler.947.D947.122111360219776.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: f7ccd24b0809090729j50d222b3od335d21c4b6db62e@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]


Your message dated Thu, 11 Sep 2008 02:11:29 -0400
with message-id <ga7i9jgqjy.fsf@fencepost.gnu.org>
and subject line Re: bug#947: Recursive load of ido after unload-feature and 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.)


-- 
947: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=947
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2970 bytes --]

From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Emacs Bug Tracker" <submit@emacsbugs.donarmstrong.com>
Subject: Recursive load of ido after unload-feature and reload
Date: Tue, 9 Sep 2008 16:29:40 +0200
Message-ID: <f7ccd24b0809090729j50d222b3od335d21c4b6db62e@mail.gmail.com>

Package: emacs
Severity: minor

emacs -Q -D
M-x ido-mode <RET>
M-x unload-feature <RET> ido <RET>
M-x ido-mode <RET>

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.



[-- Attachment #3: Type: message/rfc822, Size: 1936 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: 947-done@emacsbugs.donarmstrong.com
Subject: Re: bug#947: Recursive load of ido after unload-feature and reload
Date: Thu, 11 Sep 2008 02:11:29 -0400
Message-ID: <ga7i9jgqjy.fsf@fencepost.gnu.org>

"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.


      parent reply	other threads:[~2008-09-11  6:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ga7i9jgqjy.fsf@fencepost.gnu.org>
2008-09-09 14:29 ` bug#947: Recursive load of ido after unload-feature and reload Juanma Barranquero
2008-09-10 18:44   ` Glenn Morris
2008-09-10 23:56     ` Juanma Barranquero
2008-09-11  6:20   ` Emacs bug Tracking System [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.947.D947.122111360219776.ackdone@emacsbugs.donarmstrong.com \
    --to=don@donarmstrong.com \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).