* bug#67429: 27.1; oddities with gdb-mode completion buffer [not found] <5491783.Rb9Vj03aaE@nimes> @ 2023-11-24 11:57 ` Eli Zaretskii 2023-11-24 12:03 ` Eli Zaretskii ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Eli Zaretskii @ 2023-11-24 11:57 UTC (permalink / raw) To: Bruno Haible; +Cc: 67429 > From: Bruno Haible <bruno@clisp.org> > Date: Fri, 24 Nov 2023 10:06:25 +0100 > > I did 'M-x gdb-mode' There's no such mode in Emacs, AFAICT. How did you invoke it? > and am trying to make use of gdb's > symbol completion: enter part of the name of a symbol, > and press <TAB>. Inside Emacs, I'm encountering two > oddities: > > 1) There is a buffer with possible completions, that > disappears after two seconds if I don't choose a > completion. > After this buffer disappears, my cursor is elsewhere. > I need an extra mouse interaction or key presses in > order to bring back the cursor, so that I can continue > typing the symbol's name. > > 2) In some cases, the buffer does not disappear but stays > on screen. Why does it disappear in some cases but not > in others? I tried to reproduce this during debugging from Emacs 27 and Emacs 29, using "M-x gdb RET", and couldn't: I always get the completions window stay put until I select some candidate. At least in Emacs 29, I see no issues with cursor position, either; in Emacs 27 I saw at least one problem, but Emacs 27 is very old and no longer maintained (and gdb-mi.el saw a lot of changes since Emacs 27). So I suggest to post a complete recipe for reproducing the problem, preferably starting from "emacs -Q". I also recommend using Emacs 29.1, which is the latest version that is still being maintained. Thanks. ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#67429: 27.1; oddities with gdb-mode completion buffer 2023-11-24 11:57 ` bug#67429: 27.1; oddities with gdb-mode completion buffer Eli Zaretskii @ 2023-11-24 12:03 ` Eli Zaretskii 2023-11-24 13:03 ` Bruno Haible 2023-11-24 13:59 ` Bruno Haible 2 siblings, 0 replies; 5+ messages in thread From: Eli Zaretskii @ 2023-11-24 12:03 UTC (permalink / raw) To: bruno; +Cc: 67429 Btw, please in the future avoid sending such large attachments. If you can efficiently compress the file, please do; otherwise a URL of some site from which to download the recording is best. And a detailed recipe for reproduction is always better, TIA. ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#67429: 27.1; oddities with gdb-mode completion buffer 2023-11-24 11:57 ` bug#67429: 27.1; oddities with gdb-mode completion buffer Eli Zaretskii 2023-11-24 12:03 ` Eli Zaretskii @ 2023-11-24 13:03 ` Bruno Haible 2023-11-24 13:59 ` Bruno Haible 2 siblings, 0 replies; 5+ messages in thread From: Bruno Haible @ 2023-11-24 13:03 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 67429 Eli Zaretskii wrote: > > I did 'M-x gdb-mode' > > There's no such mode in Emacs, AFAICT. How did you invoke it? It was 'M-x gdb' in fact; I misremembered. > I always get the completions window > stay put until I select some candidate. Interesting. I'll see if I can reproduce with Emacs 29... Bruno ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#67429: 27.1; oddities with gdb-mode completion buffer 2023-11-24 11:57 ` bug#67429: 27.1; oddities with gdb-mode completion buffer Eli Zaretskii 2023-11-24 12:03 ` Eli Zaretskii 2023-11-24 13:03 ` Bruno Haible @ 2023-11-24 13:59 ` Bruno Haible 2023-11-24 14:09 ` Eli Zaretskii 2 siblings, 1 reply; 5+ messages in thread From: Bruno Haible @ 2023-11-24 13:59 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 67429 Eli Zaretskii wrote: > So I suggest to post a complete recipe for reproducing the problem, > preferably starting from "emacs -Q". The steps are: 0. Use Ubuntu 22.04 (which has emacs 27.1). 1. Unpack gettext-0.21.tar.gz. 2. cd gettext-0.21 3. CFLAGS=-ggdb ./configure --disable-shared && make 4. cd gettext-tools/src 5. cat > foo.vala <<\EOF primary_text.set_markup( "<span size=\"large\" weight=\"bold\">%s</span>".printf(_("Welcome to Shotwell!"))); EOF 6. ./xgettext -o - foo.vala 7. emacs 8. Resize the window to width 1265, height 813 or 815 (according to xwininfo). 9. M-x gdb RET gdb -i=mi xgettext RET 10. break main 11. break remember_a_message 12. run -o - foo.vala 13. continue 14. where 15. print current TAB TAB > I also recommend using Emacs > 29.1, which is the latest version that is still being maintained. Indeed, when I start the recipe above with 0. Use Ubuntu 23.10 (which has emacs 29.1). the completion windows stays open. No bug there. You can close the ticket. Thanks for your help in this investigation. Bruno ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#67429: 27.1; oddities with gdb-mode completion buffer 2023-11-24 13:59 ` Bruno Haible @ 2023-11-24 14:09 ` Eli Zaretskii 0 siblings, 0 replies; 5+ messages in thread From: Eli Zaretskii @ 2023-11-24 14:09 UTC (permalink / raw) To: Bruno Haible; +Cc: 67429-done > From: Bruno Haible <bruno@clisp.org> > Cc: 67429@debbugs.gnu.org > Date: Fri, 24 Nov 2023 14:59:07 +0100 > > Eli Zaretskii wrote: > > So I suggest to post a complete recipe for reproducing the problem, > > preferably starting from "emacs -Q". > > The steps are: > > 0. Use Ubuntu 22.04 (which has emacs 27.1). > 1. Unpack gettext-0.21.tar.gz. > 2. cd gettext-0.21 > 3. CFLAGS=-ggdb ./configure --disable-shared && make > 4. cd gettext-tools/src > 5. cat > foo.vala <<\EOF > primary_text.set_markup( > "<span size=\"large\" weight=\"bold\">%s</span>".printf(_("Welcome to Shotwell!"))); > EOF > 6. ./xgettext -o - foo.vala > 7. emacs > 8. Resize the window to width 1265, height 813 or 815 (according to xwininfo). > 9. M-x gdb RET > gdb -i=mi xgettext RET > 10. break main > 11. break remember_a_message > 12. run -o - foo.vala > 13. continue > 14. where > 15. print current TAB TAB Thanks. > > I also recommend using Emacs > > 29.1, which is the latest version that is still being maintained. > > Indeed, when I start the recipe above with > > 0. Use Ubuntu 23.10 (which has emacs 29.1). > > the completion windows stays open. No bug there. > > You can close the ticket. Thanks, done. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-11-24 14:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <5491783.Rb9Vj03aaE@nimes> 2023-11-24 11:57 ` bug#67429: 27.1; oddities with gdb-mode completion buffer Eli Zaretskii 2023-11-24 12:03 ` Eli Zaretskii 2023-11-24 13:03 ` Bruno Haible 2023-11-24 13:59 ` Bruno Haible 2023-11-24 14:09 ` Eli Zaretskii
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.