From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>
Cc: 9669@debbugs.gnu.org
Subject: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?)
Date: Tue, 4 Oct 2011 15:15:00 -0700 [thread overview]
Message-ID: <D5EE33A5FC0F4F7AAA3DAB1F73857E96@us.oracle.com> (raw)
In-Reply-To: <jwvpqica110.fsf-monnier+emacs@gnu.org>
> For the defalias, just place a (debug) in front of the
> defalias and post the resulting backtrace.
Not sure what you mean. This is the backtrace upon entry:
(progn (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))
(if (fboundp (intern (concat "old-" (symbol-name fn)))) (progn (debug)
(defalias fn (intern (concat "icicle-" (symbol-name fn))))))
(when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn
(intern (concat "icicle-" (symbol-name fn)))))
(while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp
(intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat
"icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr
--cl-dolist-temp--)))
(let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while
--cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern
(concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat
"icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr
--cl-dolist-temp--))))
(catch (quote --cl-block-nil--) (let ((--cl-dolist-temp--
icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car
--cl-dolist-temp--)) (when (fboundp (intern (concat "old-" (symbol-name fn))))
(debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (setq
--cl-dolist-temp-- (cdr --cl-dolist-temp--)))))
(cl-block-wrapper (catch (quote --cl-block-nil--) (let ((--cl-dolist-temp--
icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car
--cl-dolist-temp--)) (when (fboundp (intern (concat "old-" ...))) (debug)
(defalias fn (intern (concat "icicle-" ...)))) (setq --cl-dolist-temp-- (cdr
--cl-dolist-temp--))))))
(block nil (let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while
--cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern
(concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat
"icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr
--cl-dolist-temp--)))))
(dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat
"old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-"
(symbol-name fn))))))
(progn (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern
(concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat
"icicle-" (symbol-name fn)))))))
(if (fboundp (quote icicle-completing-read)) (progn (dolist (fn
icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name
fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))))))
(when (fboundp (quote icicle-completing-read)) (dolist (fn
icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name
fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))))
icicle-redefine-standard-functions()
(cond (icicle-mode ... (icicle-redefine-standard-functions)...)
...
And this is the return value:
Debugger entered--returning value: icicle-comint-dynamic-complete
defalias(comint-dynamic-complete icicle-comint-dynamic-complete)
(progn (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))
Dunno how that would help you. Let me know if you meant something different.
> For the other function, showing us how it's defined would be a good
> first step.
What other function?
This is a defalias of a standard Emacs function to an Icicles variant. There
are several such defaliases. Each such pair <std fn, Icicles fn> is different.
The definitions of the actual functions cannot, I think, be important, since
they are all completeley different.
But I'm probably misunderstanding you.
next prev parent reply other threads:[~2011-10-04 22:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-04 16:55 bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Drew Adams
2011-10-04 17:00 ` Drew Adams
2011-10-04 17:52 ` Stefan Monnier
2011-10-04 17:56 ` Drew Adams
2011-10-04 21:41 ` Stefan Monnier
2011-10-04 22:15 ` Drew Adams [this message]
2011-10-05 0:30 ` Stefan Monnier
2011-10-05 1:03 ` Drew Adams
2011-10-05 16:34 ` Stefan Monnier
2011-10-05 17:06 ` Drew Adams
2011-10-05 17:41 ` Drew Adams
2011-10-18 19:45 ` Stefan Monnier
2013-02-14 8:32 ` Glenn Morris
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D5EE33A5FC0F4F7AAA3DAB1F73857E96@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=9669@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.