GNU bug report logs -
#13163
24.3.50; Unloading edebug renders Emacs unusable
Previous Next
Reported by: Stephen Berman <stephen.berman <at> gmx.net>
Date: Wed, 12 Dec 2012 22:31:01 UTC
Severity: normal
Found in version 24.3.50
Done: Juanma Barranquero <lekktu <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13163 in the body.
You can then email your comments to 13163 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13163
; Package
emacs
.
(Wed, 12 Dec 2012 22:31:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stephen Berman <stephen.berman <at> gmx.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 12 Dec 2012 22:31:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
In GNU Emacs 24.3.50.6 (x86_64-suse-linux-gnu, GTK+ Version 3.4.4)
of 2012-12-03 on rosalinde
Bzr revision: 111073 dmantipov <at> yandex.ru-20121203080602-hwv4fug7bvt2red7
Windowing system distributor `The X.Org Foundation', version 11.0.11203000
System Description: openSUSE 12.2 (x86_64)
Configured using:
`configure '--without-toolkit-scroll-bars' 'CFLAGS=-g3 -O0''
0. emacs -Q
1. Instrument a defun for Edebug, e.g. type `C-u C-M-x' on find-files in
lisp/files.el.
3. Type `M-x unload-feature RET edebug RET'.
=> Emacs becomes effectively unusable: typing e.g. `M-x', `C-n', `C-p',
`C-x b', `C-h f', `C-h v', etc. raises either of the errors "Error in
post-command-hook (global-font-lock-mode-check-buffers):
(void-function edebug--called-interactively-skip)" or
"run-hook-with-args-until-success: Symbol's function definition is
void: edebug--called-interactively-skip". (However, some commands
still work, e.g `C-h e', `C-x s', `C-x 2', `C-x C-c' -- at least with
-Q; but when I hit this bug in a session started with my init-file,
at least `C-x C-c' failed, and I had to kill Emacs externally.)
I suspect this bug was introduced by this change:
revno: 110955
committer: Stefan Monnier <monnier <at> iro.umontreal.ca>
branch nick: trunk
timestamp: Mon 2012-11-19 23:24:09 -0500
message:
Make called-interactively-p work for edebug or advised code.
* lisp/subr.el (called-interactively-p-functions): New var.
(internal--called-interactively-p--get-frame): New macro.
(called-interactively-p, interactive-p): Rewrite in Lisp.
* lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
(called-interactively-p-functions): Use it.
* lisp/emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
(called-interactively-p-functions): Use it.
* lisp/allout.el (allout-called-interactively-p): Don't assume
called-interactively-p is a subr.
* src/eval.c (Finteractive_p, Fcalled_interactively_p, interactive_p): Remove.
(syms_of_eval): Remove corresponding defsubr.
* src/bytecode.c (exec_byte_code): `interactive-p' is now a Lisp function.
* test/automated/advice-tests.el (advice-tests--data): Remove.
(advice-tests): Move the tests directly here instead.
Add called-interactively-p tests.
The bug does not happen with my trunk build from revision 110951 (my
last build prior to the above change) but it does happen with my trunk
builds from later revisions than the above.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13163
; Package
emacs
.
(Thu, 13 Dec 2012 02:39:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 13163 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, Dec 12, 2012 at 11:29 PM, Stephen Berman <stephen.berman <at> gmx.net> wrote:
> 3. Type `M-x unload-feature RET edebug RET'.
> => Emacs becomes effectively unusable:
Please, try the attached patch and report back any remaining trouble.
TIA,
Juanma
[edebug.patch (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13163
; Package
emacs
.
(Thu, 13 Dec 2012 09:11:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 13163 <at> debbugs.gnu.org (full text, mbox):
On Thu, 13 Dec 2012 03:36:54 +0100 Juanma Barranquero <lekktu <at> gmail.com> wrote:
> On Wed, Dec 12, 2012 at 11:29 PM, Stephen Berman <stephen.berman <at> gmx.net> wrote:
>
>> 3. Type `M-x unload-feature RET edebug RET'.
>> => Emacs becomes effectively unusable:
>
> Please, try the attached patch and report back any remaining trouble.
The patch fixes the bug; thanks.
Steve Berman
Reply sent
to
Juanma Barranquero <lekktu <at> gmail.com>
:
You have taken responsibility.
(Thu, 13 Dec 2012 09:51:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Stephen Berman <stephen.berman <at> gmx.net>
:
bug acknowledged by developer.
(Thu, 13 Dec 2012 09:51:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 13163-done <at> debbugs.gnu.org (full text, mbox):
> The patch fixes the bug; thanks.
Thanks, installed as revno:111217.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 10 Jan 2013 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.