[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange error caused by post-command-hook.
From: |
ishikawa |
Subject: |
Re: Strange error caused by post-command-hook. |
Date: |
Wed, 11 Jul 2007 21:10:04 +0900 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070509) |
Dear Martin Rudalics,
Thank you the suggestion. Before reading the following suggestion, I began
modifying the keyboard.c.
But I will try the following suggested tip first before compiling the
modified keyboard.c source file.
Chiaki Ishikawa
PS: Things get really strange. I tried the following tip, and found that
this doesn't really print anything of importance. It seems that the processing
that leads to the
"<< Press Return to bury the buffer list >>"
and probably the code that gets executed shortly after that is the candidate for
the culprit.
Oh, wait, after a close look, I wonder what this 'tooltip-hide' is...
To wit: This is the *Mesasges* buffer after I added the
following hook:
((lambda nil (when post-command-hook (message "... %s" post-command-hook)))
tooltip-hide)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer) [3 times]
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
Mark set
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
Mark set
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
((lambda nil (when post-command-hook (message "... %s" post-command-hook)))
tooltip-hide)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
Mark set
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
Mark set
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
Mark saved where search started [2 times]
Auto-saving...
Mark saved where search started [2 times]
Saving file /home/ishikawa/emacs-22.1/src/keyboard.c...
Wrote /home/ishikawa/emacs-22.1/src/keyboard.c
(No changes need to be saved)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
Wrote /home/ishikawa/.emacs
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
<<< Press Return to bury the buffer list >>>
Error in post-command-hook: (error Selecting deleted buffer)
Mark set
Mark activated
Transient-mark-mode temporarily enabled
Saved text from "((lambda nil (when post-command-hook (me"
Mark set [2 times]
martin rudalics wrote:
> I have inserted the re-defined find-file in my .emacs file.
> Once the problem returns, I will report the value of
> post-command-hook.
> (Aha, I see that the problem may happen before find-file gets executed.
> How complicated...)
I expected that. Try the following (more intrusive):
(add-hook 'pre-command-hook
(lambda ()
(when post-command-hook
(message "... %s" post-command-hook))))
- Strange error caused by post-command-hook., ishikawa, 2007/07/10
- Re: Strange error caused by post-command-hook., martin rudalics, 2007/07/10
- Re: Strange error caused by post-command-hook., ishikawa, 2007/07/11
- Re: Strange error caused by post-command-hook., martin rudalics, 2007/07/11
- Re: Strange error caused by post-command-hook.,
ishikawa <=
- Re: Strange error caused by post-command-hook., ishikawa, 2007/07/11
- Re: Strange error caused by post-command-hook., martin rudalics, 2007/07/11
- Re: Strange error caused by post-command-hook., ishikawa, 2007/07/12
- Re: Strange error caused by post-command-hook., martin rudalics, 2007/07/12
- Re: Strange error caused by post-command-hook., martin rudalics, 2007/07/11
- Re: Strange error caused by post-command-hook., ishikawa, 2007/07/11