* bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
@ 2018-03-09 9:33 Tim Fischbach
2018-03-09 18:31 ` Eli Zaretskii
2018-03-10 3:05 ` Noam Postavsky
0 siblings, 2 replies; 10+ messages in thread
From: Tim Fischbach @ 2018-03-09 9:33 UTC (permalink / raw)
To: 30758
[-- Attachment #1: Type: text/plain, Size: 3542 bytes --]
Hi!
I am facing the exact problem described in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26289
on both Emacs 25.3.2 and 24.5.1 also via `emacs -Q`.
When running emacs inside the terminal via `emacs -nw` the problem does not
occur.
Regards,
Tim
In GNU Emacs 25.3.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2017-09-12 built on lcy01-32
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Ubuntu 16.04.3 LTS
Configured using:
'configure --build=x86_64-linux-gnu --prefix=/usr
'--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
'--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var
--disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu'
'--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode
--disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib
--program-suffix=25 --with-modules --with-x=yes --with-x-toolkit=gtk3
'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
-Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES
Important settings:
value of $LANG: de_DE.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
gui-get-primary-selection: No selection is available
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)
Memory information:
((conses 16 87773 6169)
(symbols 48 19852 0)
(miscs 40 269 107)
(strings 32 14685 4070)
(string-bytes 1 425584)
(vectors 16 12003)
(vector-slots 8 436013 5055)
(floats 8 166 28)
(intervals 56 230 0)
(buffers 976 18)
(heap 1024 32330 891))
[-- Attachment #2: Type: text/html, Size: 4843 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
2018-03-09 9:33 bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers Tim Fischbach
@ 2018-03-09 18:31 ` Eli Zaretskii
2018-03-10 3:05 ` Noam Postavsky
1 sibling, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2018-03-09 18:31 UTC (permalink / raw)
To: Tim Fischbach; +Cc: 30758
> From: Tim Fischbach <mail@timfischbach.de>
> Date: Fri, 09 Mar 2018 09:33:57 +0000
>
> I am facing the exact problem described in
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26289
>
> on both Emacs 25.3.2 and 24.5.1 also via `emacs -Q`.
> When running emacs inside the terminal via `emacs -nw` the problem does not occur.
Thanks, but unless you can provide a reproducible recipe starting with
"emacs -Q", this report doesn't help us to find the reason and fix it,
exactly like bug#26289 didn't.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
2018-03-09 9:33 bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers Tim Fischbach
2018-03-09 18:31 ` Eli Zaretskii
@ 2018-03-10 3:05 ` Noam Postavsky
2018-03-12 12:48 ` Tim Fischbach
2019-09-29 15:10 ` bug#26289: " Lars Ingebrigtsen
1 sibling, 2 replies; 10+ messages in thread
From: Noam Postavsky @ 2018-03-10 3:05 UTC (permalink / raw)
To: Tim Fischbach; +Cc: 30758
unarchive 26289
reopen 26289
merge 30758 29063 26289
quit
Tim Fischbach <mail@timfischbach.de> writes:
> I am facing the exact problem described in
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26289
>
> on both Emacs 25.3.2 and 24.5.1 also via `emacs -Q`.
> When running emacs inside the terminal via `emacs -nw` the problem
> does not occur.
Do you see the same symptoms described in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29063#17
I have also noticed that, with toggle-debug-on-quit on, just typing C-g
while in the normal writing buffer will always send me to the debugger on
only one line:
Debugger entered--Lisp error: (quit)
internal-timer-start-idle()
This happens in the broken emacs only, and C-g here does nothing in the
working emacs. Likewise, in the broken emacs, while I am highlighting text
with C-space, C-g will 50% of the time cancel the highlight and 50% of the
time open the above debugger on the timer start function.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
2018-03-10 3:05 ` Noam Postavsky
@ 2018-03-12 12:48 ` Tim Fischbach
2018-03-12 15:42 ` Glenn Morris
2019-09-29 15:10 ` bug#26289: " Lars Ingebrigtsen
1 sibling, 1 reply; 10+ messages in thread
From: Tim Fischbach @ 2018-03-12 12:48 UTC (permalink / raw)
To: Noam Postavsky; +Cc: 30758
[-- Attachment #1: Type: text/plain, Size: 1955 bytes --]
1) emacs -Q
2) M-x
3) C-g
reproduces the error every time on my machine. Holding C-g for a couple of
seconds fixes the problem. Also Esc Esc Esc still works. Even C-S-g works,
even though describe-key translates it to C-g. I really think this might be
a problem with Ubuntu Unity somehow rebinding or blocking C-g.
Using toogle-debug-on-quit with my normal config, I was able to trigger
Debugger entered--Lisp error: (quit)
without any further info or
Debugger entered--Lisp error: (quit)
read-event(nil t 2)
sit-for(2)
execute-extended-command(nil "toggle-debug-on-quit" nil)
funcall-interactively(execute-extended-command nil "toggle-debug-on-quit" nil)
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
This was NOT reproducible with `emacs -Q`, though.
On Sat, 10 Mar 2018 at 04:05 Noam Postavsky <npostavs@gmail.com> wrote:
> unarchive 26289
> reopen 26289
> merge 30758 29063 26289
> quit
>
> Tim Fischbach <mail@timfischbach.de> writes:
>
> > I am facing the exact problem described in
> >
> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26289
> >
> > on both Emacs 25.3.2 and 24.5.1 also via `emacs -Q`.
> > When running emacs inside the terminal via `emacs -nw` the problem
> > does not occur.
>
> Do you see the same symptoms described in
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29063#17
>
> I have also noticed that, with toggle-debug-on-quit on, just typing C-g
> while in the normal writing buffer will always send me to the debugger
> on
> only one line:
>
> Debugger entered--Lisp error: (quit)
> internal-timer-start-idle()
>
> This happens in the broken emacs only, and C-g here does nothing in the
> working emacs. Likewise, in the broken emacs, while I am highlighting
> text
> with C-space, C-g will 50% of the time cancel the highlight and 50% of
> the
> time open the above debugger on the timer start function.
>
[-- Attachment #2: Type: text/html, Size: 3195 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
2018-03-12 12:48 ` Tim Fischbach
@ 2018-03-12 15:42 ` Glenn Morris
2018-03-12 16:20 ` Tim Fischbach
0 siblings, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2018-03-12 15:42 UTC (permalink / raw)
To: Tim Fischbach; +Cc: 30758, Noam Postavsky
Tim Fischbach wrote:
> I really think this might be a problem with Ubuntu Unity somehow
> rebinding or blocking C-g.
Searching finds:
https://askubuntu.com/questions/741657/unity-somehow-captures-controlg-from-emacs
if I disable Show location of pointer for the mouse in
gnome-tweak-tools, C-g is passed through correctly.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
2018-03-12 15:42 ` Glenn Morris
@ 2018-03-12 16:20 ` Tim Fischbach
2018-03-12 18:49 ` Glenn Morris
2018-03-13 1:12 ` Noam Postavsky
0 siblings, 2 replies; 10+ messages in thread
From: Tim Fischbach @ 2018-03-12 16:20 UTC (permalink / raw)
To: Glenn Morris; +Cc: 30758, Noam Postavsky
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
Unfortunately that option was already disabled on my system. But it has to
be something like this.
Thanks
On Mon, 12 Mar 2018 at 16:43 Glenn Morris <rgm@gnu.org> wrote:
> Tim Fischbach wrote:
>
> > I really think this might be a problem with Ubuntu Unity somehow
> > rebinding or blocking C-g.
>
> Searching finds:
>
>
> https://askubuntu.com/questions/741657/unity-somehow-captures-controlg-from-emacs
>
> if I disable Show location of pointer for the mouse in
> gnome-tweak-tools, C-g is passed through correctly.
>
[-- Attachment #2: Type: text/html, Size: 956 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
2018-03-12 16:20 ` Tim Fischbach
@ 2018-03-12 18:49 ` Glenn Morris
2018-03-13 1:12 ` Noam Postavsky
1 sibling, 0 replies; 10+ messages in thread
From: Glenn Morris @ 2018-03-12 18:49 UTC (permalink / raw)
To: Tim Fischbach; +Cc: 30758, Noam Postavsky
Tim Fischbach wrote:
> Unfortunately that option was already disabled on my system. But it has to
> be something like this.
Maybe try disabling any window manager keyboard shortcut that uses the
ctrl key?
BTW, just to be explicit, seems everyone reporting this uses Ubuntu 16.04.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
2018-03-12 16:20 ` Tim Fischbach
2018-03-12 18:49 ` Glenn Morris
@ 2018-03-13 1:12 ` Noam Postavsky
2018-03-13 13:14 ` Tim Fischbach
1 sibling, 1 reply; 10+ messages in thread
From: Noam Postavsky @ 2018-03-13 1:12 UTC (permalink / raw)
To: Tim Fischbach; +Cc: 30758
Tim Fischbach <mail@timfischbach.de> writes:
> Unfortunately that option was already disabled on my system. But it
> has to be something like this.
Does describe-key-briefly (<f1> c C-g), or view-lossage (<f1> l) suggest
that Emacs can recognize the C-g, or does it see some other keystroke?
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
2018-03-13 1:12 ` Noam Postavsky
@ 2018-03-13 13:14 ` Tim Fischbach
0 siblings, 0 replies; 10+ messages in thread
From: Tim Fischbach @ 2018-03-13 13:14 UTC (permalink / raw)
To: Noam Postavsky; +Cc: 30758
[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]
Interesting. I did not know about view-lossage.
<f1> c C-g just briefly displays "Quit" and exits minibuffer. When running
"emacs -nw -Q" from a terminal, the same key is described correctly as
keyboard-quit.
After trying to exit C-x C-f with C-g, nothing shows up in view-lossage.
When I hold C-g for a couple of seconds, focus goes back to the buffer as
expected and "C-g [abort-recursive-edit]" shows up in view-lossage.
When hitting C-g while inside a buffer, view-lossage displays "C-g
[keyboard-quit]" correctly, though, which I would not expect if Ubuntu kept
Emacs from receiving keyboard events correctly.
On Tue, 13 Mar 2018 at 02:12 Noam Postavsky <npostavs@gmail.com> wrote:
> Tim Fischbach <mail@timfischbach.de> writes:
>
> > Unfortunately that option was already disabled on my system. But it
> > has to be something like this.
>
> Does describe-key-briefly (<f1> c C-g), or view-lossage (<f1> l) suggest
> that Emacs can recognize the C-g, or does it see some other keystroke?
>
[-- Attachment #2: Type: text/html, Size: 1493 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#26289: bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers
2018-03-10 3:05 ` Noam Postavsky
2018-03-12 12:48 ` Tim Fischbach
@ 2019-09-29 15:10 ` Lars Ingebrigtsen
1 sibling, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2019-09-29 15:10 UTC (permalink / raw)
To: Noam Postavsky; +Cc: 26289, 30758, Tim Fischbach
Noam Postavsky <npostavs@gmail.com> writes:
> Do you see the same symptoms described in
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29063#17
More information was requested, but no response was given within a
year, so I'm closing this bug report. If the problem still exists,
please reopen this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-09-29 15:10 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-09 9:33 bug#30758: 25.3; Cannot exit minibuffer with C-g when opening file or switching buffers Tim Fischbach
2018-03-09 18:31 ` Eli Zaretskii
2018-03-10 3:05 ` Noam Postavsky
2018-03-12 12:48 ` Tim Fischbach
2018-03-12 15:42 ` Glenn Morris
2018-03-12 16:20 ` Tim Fischbach
2018-03-12 18:49 ` Glenn Morris
2018-03-13 1:12 ` Noam Postavsky
2018-03-13 13:14 ` Tim Fischbach
2019-09-29 15:10 ` bug#26289: " Lars Ingebrigtsen
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.