GNU bug report logs -
#11018
24.0.94; Edebug: bindings shadowed by view-mode
Previous Next
Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>
Date: Thu, 15 Mar 2012 05:41:02 UTC
Severity: normal
Tags: fixed
Merged with 15451
Found in versions 24.0.94, 24.3
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
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 11018 in the body.
You can then email your comments to 11018 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#11018
; Package
emacs
.
(Thu, 15 Mar 2012 05:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Heerdegen <michael_heerdegen <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 15 Mar 2012 05:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
in emacs -Q, open an elisp file and enable `view-mode'.
Now, instrument any defun in this buffer and eval something that
causes that function to be called.
You enter an edebug session, but nearly all edebug bindings won't work
because they trigger `view-mode' bindings in this buffer instead.
In GNU Emacs 24.0.94.1 (i486-pc-linux-gnu, GTK+ Version 3.2.3)
of 2012-03-12 on zelenka, modified by Debian
(emacs-snapshot package, version 2:20120312-1)
Windowing system distributor `The X.Org Foundation', version 11.0.11103901
Configured using:
`configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.94/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.94/site-lisp:/usr/share/emacs/site-lisp'
'--without-compress-info' '--with-crt-dir=/usr/lib/i386-linux-gnu/'
'--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes'
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu'
'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11018
; Package
emacs
.
(Thu, 15 Mar 2012 10:06:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 11018 <at> debbugs.gnu.org (full text, mbox):
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> You enter an edebug session, but nearly all edebug bindings won't work
> because they trigger `view-mode' bindings in this buffer instead.
Every edebug binding is also available under the C-x X prefix.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11018
; Package
emacs
.
(Fri, 16 Mar 2012 02:14:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 11018 <at> debbugs.gnu.org (full text, mbox):
Andreas Schwab <schwab <at> linux-m68k.org> writes:
> > You enter an edebug session, but nearly all edebug bindings won't work
> > because they trigger `view-mode' bindings in this buffer instead.
>
> Every edebug binding is also available under the C-x X prefix.
Yes, that's `global-edebug-prefix'. In the header, there is a typo,
here:
;; If you wish to change the default edebug global command prefix, change:
;; (setq edebug-global-prefix "\C-xX")
-------------
There is no binding for `edebug-next-mode' (i.e. n in `edebug-mode-map')
in `global-edebug-map' (why?).
I would have to type C-x X SPC C-x X SPC ... to step through the code -
a pain in the ass.
I don't have an elegant solution for this problem. It is not a problem
especially with `view-mode'. All minor mode bindings shadow
`edebug-mode-map' which is used as local map.
If there was an `edebug-mode-hook', then the user could deactivate
interfering minor modes there.
Michael.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11018
; Package
emacs
.
(Fri, 16 Mar 2012 03:18:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 11018 <at> debbugs.gnu.org (full text, mbox):
> I don't have an elegant solution for this problem. It is not a problem
> especially with `view-mode'. All minor mode bindings shadow
> `edebug-mode-map' which is used as local map.
Maybe it should be installed with higher precedence, by virtue of
being transient.
> If there was an `edebug-mode-hook', then the user could deactivate
> interfering minor modes there.
That could be an alternative, but then you'd probably want to re-enable
it when leaving edebug mode, which would enable&disable it very often
and could be difficult to implement efficiently.
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11018
; Package
emacs
.
(Fri, 16 Mar 2012 04:13:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 11018 <at> debbugs.gnu.org (full text, mbox):
> That could be an alternative, but then you'd probably want to re-enable
> it when leaving edebug mode, which would enable&disable it very often
> and could be difficult to implement efficiently.
^^^^^^^^^^^
reliably
Sorry, wasn't thinking right,
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11018
; Package
emacs
.
(Sun, 20 Oct 2019 07:57:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 11018 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>> I don't have an elegant solution for this problem. It is not a problem
>> especially with `view-mode'. All minor mode bindings shadow
>> `edebug-mode-map' which is used as local map.
>
> Maybe it should be installed with higher precedence, by virtue of
> being transient.
That sounds like a good idea. How is the precedence of minor mode maps
determined?
Hm... I see that minor-mode-overriding-map-alist exists -- should
edebug put its keymap there instead of minor-mode-map-alist?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Forcibly Merged 11018 15451.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 20 Oct 2019 08:28:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11018
; Package
emacs
.
(Sun, 20 Oct 2019 14:51:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 11018 <at> debbugs.gnu.org (full text, mbox):
>>> I don't have an elegant solution for this problem. It is not a problem
>>> especially with `view-mode'. All minor mode bindings shadow
>>> `edebug-mode-map' which is used as local map.
>>
>> Maybe it should be installed with higher precedence, by virtue of
>> being transient.
>
> That sounds like a good idea. How is the precedence of minor mode maps
> determined?
>
> Hm... I see that minor-mode-overriding-map-alist exists -- should
> edebug put its keymap there instead of minor-mode-map-alist?
That might work,
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11018
; Package
emacs
.
(Sun, 20 Oct 2019 15:09:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 11018 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>> Hm... I see that minor-mode-overriding-map-alist exists -- should
>> edebug put its keymap there instead of minor-mode-map-alist?
>
> That might work,
That seemed to work -- I bound it in edebug--recursive-edit, so it
shouldn't mess anything up after exiting edebug.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 20 Oct 2019 15:09:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 27.1, send any further explanations to
15451 <at> debbugs.gnu.org and Leo Liu <sdl.web <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 20 Oct 2019 15:09:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 18 Nov 2019 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 160 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.