From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Emacs Bug Tracker" <submit@emacsbugs.donarmstrong.com>
Subject: bug#947: Recursive load of ido after unload-feature and reload
Date: Tue, 9 Sep 2008 16:29:40 +0200 [thread overview]
Message-ID: <f7ccd24b0809090729j50d222b3od335d21c4b6db62e@mail.gmail.com> (raw)
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.
next reply other threads:[~2008-09-09 14:29 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 ` Juanma Barranquero [this message]
2008-09-10 18:44 ` bug#947: Recursive load of ido after unload-feature and reload Glenn Morris
2008-09-10 23:56 ` Juanma Barranquero
2008-09-11 6:20 ` bug#947: marked as done (Recursive load of ido after unload-feature and reload) Emacs bug Tracking System
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=f7ccd24b0809090729j50d222b3od335d21c4b6db62e@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=947@emacsbugs.donarmstrong.com \
--cc=submit@emacsbugs.donarmstrong.com \
/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).