all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45052: 27.1; GDB completion moves point
@ 2020-12-05 12:10 Philip K.
  2020-12-05 13:44 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Philip K. @ 2020-12-05 12:10 UTC (permalink / raw)
  To: 45052


When I'm in GDB, and I try to invoke completion, the completion
mechanism might move the point, and ultimately insert the completion at
the wrong place. This issue only occurs when the point is currently in
the last few lines of the window, so that when the completion pop-up
appears, it is moved, while the buffer stays in the same place.

One way to circumvent this problem is to use the mouse to select the
completion.

I've tested it with the default completion framework, but remember that
the same issue also existed with other completion frameworks such as
ivy.

Steps to reproduce  in emacs -Q (also tested on the master branch):

1. M-x gdb
2. Press enter a few times, so that the buffer can't fit into the window
3. Ensure that the point is in the last few lines (C-l)
4. Enter "l" and then press M-tab.

The point should now have been moved. This is not expected, and not seen
any other mode.

In GNU Emacs 27.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.22, cairo version 1.16.0)
 of 2020-08-21 built on buildhw-x86-03.iad2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.12009000
System Description: Fedora 33 (Workstation Edition)

Recent messages:
Quit [2 times]
Mark set
user-error: No window right from selected window
M-RET is undefined
Saving file /home/phi/doc/uni/cs/uebung/assignment2/lwt/lwt.h...
Wrote /home/phi/doc/uni/cs/uebung/assignment2/lwt/lwt.h
Saving file /home/phi/doc/uni/cs/uebung/assignment2/lwt/lwt.h...
Wrote /home/phi/doc/uni/cs/uebung/assignment2/lwt/lwt.h
Saving file /home/phi/doc/uni/cs/uebung/assignment2/lwt/lwt.h...
Wrote /home/phi/doc/uni/cs/uebung/assignment2/lwt/lwt.h

Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 --with-gpm=no --with-xwidgets --with-modules --with-harfbuzz
 --with-cairo --with-json build_alias=x86_64-redhat-linux-gnu
 host_alias=x86_64-redhat-linux-gnu CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2
 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches
 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 -Wp,-D_GLIBCXX_ASSERTIONS
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD JSON PDUMPER GMP

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LC_MONETARY: en_GB.UTF-8
  value of $LC_NUMERIC: en_GB.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: C/*l

Minor modes in effect:
  hexl-follow-ascii: t
  editorconfig-mode: t
  TeX-PDF-mode: t
  global-magit-file-mode: t
  magit-file-mode: t
  magit-auto-revert-mode: t
  auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  flymake-mode: t
  yas-minor-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  display-time-mode: t
  electric-pair-mode: t
  recentf-mode: t
  save-place-mode: t
  savehist-mode: t
  show-paren-mode: t
  winner-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
/home/phi/.emacs.d/elpa/0x0-0.4.1/0x0 hides /home/phi/.emacs.d/lisp/active/0x0-emacs/0x0
/home/phi/.emacs.d/lisp/active/clang-capf/clang-capf hides /home/phi/.emacs.d/elpa/clang-capf-1.2.0/clang-capf
/home/phi/.emacs.d/elpa/jsonrpc-1.0.14/jsonrpc hides /usr/share/emacs/27.1/lisp/jsonrpc
/home/phi/.emacs.d/elpa/flymake-1.0.9/flymake hides /usr/share/emacs/27.1/lisp/progmodes/flymake
/home/phi/.emacs.d/elpa/project-0.5.2/project hides /usr/share/emacs/27.1/lisp/progmodes/project
/home/phi/.emacs.d/elpa/xref-1.0.3/xref hides /usr/share/emacs/27.1/lisp/progmodes/xref

Features:
(shadow emacsbug misc skeleton dos-w32 find-cmd eglot array jsonrpc
follow minibuf-eldef icomplete completion rfc2368 two-column timezone
rmailsort rmailsum loadhist misterioso-theme cus-theme
editorconfig-conf-mode conf-mode asm-mode gnus-fun lpr calc-stuff
calc-vec calc-mtx calc-arith calc-aent calccomp calc-incom calc-undo
find-dired filecache mailalias nroff-mode tramp-cmds python descr-text
elfeed-link whitespace term/xterm xterm calc-comb animate org-clock
mhtml-mode css-mode eww mm-url js sgml-mode htmlfontify
htmlfontify-loaddefs presentation tar-mode ert ewoc face-remap autoload
repeat tramp-cache tramp-sh apropos hideshow flow-fill mm-archive smiley
gnus-cite gnus-async gnus-bcklg gnus-ml nndraft nnmh nnfolder nnnil
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art
mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache rmailout
latexenc sp-tutor tramp tramp-loaddefs trampver tramp-integration
tramp-compat ls-lisp view ibuf-ext ibuffer ibuffer-loaddefs calc-yank
calc-misc calc-alg calc-ext cc-awk wdired magit-ediff ediff ediff-merg
ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util
markdown-mode prolog align perl-mode cperl-mode files-x url-cache
elfeed-show elfeed-search magit-bookmark bookmark elfeed-csv elfeed
elfeed-curl elfeed-log elfeed-db elfeed-lib url-queue xml-query ox-org
ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn
nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar
ox-html table ox-ascii ox-publish ox org-colview hi-lock dabbrev
vc-annotate sh-script smie executable sort iso-transl make-mode
help-at-pt ruler-mode hl-line hexl image-file rect vc-mtn vc-hg edebug
reposition calc-menu calc calc-loaddefs calc-macs gdb-mi bindat gud
eieio-opt speedbar sb-image ezimage dframe editorconfig-core
editorconfig-core-handle editorconfig-fnmatch editorconfig clang-capf
windmove tabify man pcmpl-unix preview tex-buf font-latex latex
latex-flymake tex-ispell tex-style tex dbus texmathp tex-mode cal-china
lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs
diary-lib diary-loaddefs org-duration cal-iso org-element avl-tree
ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum shr svg dom
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source
utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range
gnus-win ol-docview doc-view ol-bibtex bibtex ol-bbdb ol-w3m org-agenda
org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote
org-src ob-comint org-pcomplete org-list org-faces org-entities
org-version ob-emacs-lisp ob-core ob-eval org-table org-keys
org-loaddefs cal-menu calendar cal-loaddefs ol org-compat org-macs pulse
log-view jka-compr avy quail color qp cl-print debug backtrace find-func
help-fns radix-tree ffap 0x0 mail-extr rmailmm vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs slime-hyperdoc slime-asdf grep slime-quicklisp
slime-fancy slime-indentation slime-cl-indent cl-indent
slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree slime-scratch slime-presentations bridge
slime-macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy
slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-repl elp cl slime-parse slime
etags fileloop generator xref project arc-mode archive-mode noutline
outline hyperspec vc vc-dispatcher flymake-cc macrostep-c cmacexp
macrostep cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs magit-extras time-stamp bug-reference flyspell
ispell magit-submodule magit-obsolete magit-blame magit-stash
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-collab ghub-graphql treepy
gsexp ghub url-http url-gw url-auth url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap
magit-files magit-refs magit-status magit magit-repos magit-apply
magit-wip magit-log which-func imenu magit-diff smerge-mode diff
magit-core magit-autorevert autorevert filenotify magit-process
magit-margin magit-mode git-commit magit-git magit-section magit-utils
magit-popup crm log-edit message rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util
add-log with-editor async-bytecomp advice async server dash char-fold
misearch multi-isearch shell-command+ eshell esh-cmd esh-ext esh-opt
esh-proc esh-io esh-arg esh-module esh-groups esh-util term disp-table
ehelp dired-aux mule-util vc-fossil vc-git diff-mode easy-mmode
image-mode exif shell gnutls network-stream puny nsm rmc erc-list
erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete
erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit epa-file
epa derived epg epg-config auth-source-pass paredit checkdoc lisp-mnt
flymake-proc flymake warnings yasnippet-classic-snippets cl-extra
yasnippet help-mode init rx pcase dired-x dired dired-loaddefs
erc-goodies erc thingatpt pp erc-loaddefs erc-backend erc-compat
format-spec time sendmail hippie-exp elec-pair recentf tree-widget
saveplace savehist paren winner gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date
mail-utils mm-util mail-prsvr edmacro kmacro compile comint ansi-color
ring cus-edit cus-start cus-load wid-edit clang-rename
clang-include-fixer let-alist clang-format xml tex-site finder-inf
slime-autoloads info package easymenu browse-url url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer 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 composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray 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 threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting xwidget-internal cairo move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 1666556 659185)
 (symbols 48 84722 676)
 (strings 32 382880 92226)
 (string-bytes 1 15480523)
 (vectors 16 146107)
 (vector-slots 8 3044772 410910)
 (floats 8 2738 3803)
 (intervals 56 99725 9328)
 (buffers 1000 899))

-- 
	Philip K.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#45052: 27.1; GDB completion moves point
  2020-12-05 12:10 bug#45052: 27.1; GDB completion moves point Philip K.
@ 2020-12-05 13:44 ` Eli Zaretskii
  2020-12-05 14:01   ` Philip K.
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2020-12-05 13:44 UTC (permalink / raw)
  To: Philip K.; +Cc: 45052

> From: "Philip K." <philipk@posteo.net>
> Date: Sat, 05 Dec 2020 13:10:46 +0100
> 
> 1. M-x gdb
> 2. Press enter a few times, so that the buffer can't fit into the window
> 3. Ensure that the point is in the last few lines (C-l)
> 4. Enter "l" and then press M-tab.
> 
> The point should now have been moved. This is not expected, and not seen
> any other mode.

Does the patch below give good results, and doesn't produce any
adverse effects in other use cases?

diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 9030056..2b9a9c1 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -3010,7 +3010,7 @@ def-gdb-auto-update-handler
        (,custom-defun)
        (gdb-update-buffer-name)
        ,@(when (not nopreserve)
-          '((set-window-start window start)
+          '((set-window-start window start t)
             (set-window-point window p))))))
 
 (defmacro def-gdb-trigger-and-handler (trigger-name gdb-command





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* bug#45052: 27.1; GDB completion moves point
  2020-12-05 13:44 ` Eli Zaretskii
@ 2020-12-05 14:01   ` Philip K.
  2020-12-05 14:26     ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Philip K. @ 2020-12-05 14:01 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 45052

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Philip K." <philipk@posteo.net>
>> Date: Sat, 05 Dec 2020 13:10:46 +0100
>> 
>> 1. M-x gdb
>> 2. Press enter a few times, so that the buffer can't fit into the window
>> 3. Ensure that the point is in the last few lines (C-l)
>> 4. Enter "l" and then press M-tab.
>> 
>> The point should now have been moved. This is not expected, and not seen
>> any other mode.
>
> Does the patch below give good results, and doesn't produce any
> adverse effects in other use cases?

It seems to work, and I can't see any unintended side-effects!

> diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
> index 9030056..2b9a9c1 100644
> --- a/lisp/progmodes/gdb-mi.el
> +++ b/lisp/progmodes/gdb-mi.el
> @@ -3010,7 +3010,7 @@ def-gdb-auto-update-handler
>         (,custom-defun)
>         (gdb-update-buffer-name)
>         ,@(when (not nopreserve)
> -          '((set-window-start window start)
> +          '((set-window-start window start t)
>              (set-window-point window p))))))
>  
>  (defmacro def-gdb-trigger-and-handler (trigger-name gdb-command
>

-- 
	Philip K.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#45052: 27.1; GDB completion moves point
  2020-12-05 14:01   ` Philip K.
@ 2020-12-05 14:26     ` Eli Zaretskii
  2020-12-05 14:48       ` Philip K.
  2020-12-14  8:23       ` Philip K.
  0 siblings, 2 replies; 10+ messages in thread
From: Eli Zaretskii @ 2020-12-05 14:26 UTC (permalink / raw)
  To: Philip K.; +Cc: 45052

> From: "Philip K." <philipk@posteo.net>
> Cc: 45052@debbugs.gnu.org
> Date: Sat, 05 Dec 2020 15:01:28 +0100
> 
> > Does the patch below give good results, and doesn't produce any
> > adverse effects in other use cases?
> 
> It seems to work, and I can't see any unintended side-effects!

Thanks.  If you use gdb-mi.el a lot, how about if you run with this
change for a week and report back if you saw any adverse effects?
Then I'll install this if no problems are uncovered.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#45052: 27.1; GDB completion moves point
  2020-12-05 14:26     ` Eli Zaretskii
@ 2020-12-05 14:48       ` Philip K.
  2020-12-05 15:03         ` Eli Zaretskii
  2020-12-14  8:23       ` Philip K.
  1 sibling, 1 reply; 10+ messages in thread
From: Philip K. @ 2020-12-05 14:48 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 45052

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Philip K." <philipk@posteo.net>
>> Cc: 45052@debbugs.gnu.org
>> Date: Sat, 05 Dec 2020 15:01:28 +0100
>> 
>> > Does the patch below give good results, and doesn't produce any
>> > adverse effects in other use cases?
>> 
>> It seems to work, and I can't see any unintended side-effects!
>
> Thanks.  If you use gdb-mi.el a lot, how about if you run with this
> change for a week and report back if you saw any adverse effects?
> Then I'll install this if no problems are uncovered.

Will do. And thanks for finding the bug!


-- 
	Philip K.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#45052: 27.1; GDB completion moves point
  2020-12-05 14:48       ` Philip K.
@ 2020-12-05 15:03         ` Eli Zaretskii
  2020-12-05 15:21           ` martin rudalics
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2020-12-05 15:03 UTC (permalink / raw)
  To: Philip K., martin rudalics; +Cc: 45052

> From: "Philip K." <philipk@posteo.net>
> Cc: 45052@debbugs.gnu.org
> Date: Sat, 05 Dec 2020 15:48:01 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> It seems to work, and I can't see any unintended side-effects!
> >
> > Thanks.  If you use gdb-mi.el a lot, how about if you run with this
> > change for a week and report back if you saw any adverse effects?
> > Then I'll install this if no problems are uncovered.
> 
> Will do. And thanks for finding the bug!

Not a bug, more like an unintended consequence.  The completion
machinery happens in this case to call the gdb-mi handlers for
processing responses to GDB commands, and those handlers force
redisplay to show the GUD window with the same window-start point,
which is impossible when the completions window pops up and point is
close to the bottom of the GUD window.  So I made the window-start
setting less forceful.  My fear is that when those handlers are called
in other situations, you will now see sub-optimal display after
sending GDB commands.  So please pay attention to any such effects on
the gdb-mi related windows.

If my "simple" solution has adverse effects, we will need to come up
with a more thorough one, which will likely require changes on the C
level.

Martin, do we have any way of preventing the original problem via
display-buffer actions, per chance?  I couldn't find anything to that
effect, FWIW.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#45052: 27.1; GDB completion moves point
  2020-12-05 15:03         ` Eli Zaretskii
@ 2020-12-05 15:21           ` martin rudalics
  2020-12-05 16:01             ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: martin rudalics @ 2020-12-05 15:21 UTC (permalink / raw)
  To: Eli Zaretskii, Philip K.; +Cc: 45052

 > Martin, do we have any way of preventing the original problem via
 > display-buffer actions, per chance?  I couldn't find anything to that
 > effect, FWIW.

There is `set-window-buffer-start-and-point' for this purpose but it is
not used by `display-buffer'.  I'm afraid that with these new completion
frameworks proliferating we may have to check our sources for more
incarnations of `set-window-start/-point' couplings that do not set
NOFORCE.

martin





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#45052: 27.1; GDB completion moves point
  2020-12-05 15:21           ` martin rudalics
@ 2020-12-05 16:01             ` Eli Zaretskii
  0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2020-12-05 16:01 UTC (permalink / raw)
  To: martin rudalics; +Cc: 45052, philipk

> Cc: 45052@debbugs.gnu.org
> From: martin rudalics <rudalics@gmx.at>
> Date: Sat, 5 Dec 2020 16:21:15 +0100
> 
>  > Martin, do we have any way of preventing the original problem via
>  > display-buffer actions, per chance?  I couldn't find anything to that
>  > effect, FWIW.
> 
> There is `set-window-buffer-start-and-point' for this purpose but it is
> not used by `display-buffer'.

OK, thanks.

> I'm afraid that with these new completion frameworks proliferating
> we may have to check our sources for more incarnations of
> `set-window-start/-point' couplings that do not set NOFORCE.

Maybe we should teach these functions to set the optional_new_start
flag of the window, not only the force_start, given some special value
of NOFORCE.  That'd be the next thing I'd try if Philip (or someone
else) reports some adverse effects from the simplistic change I
proposed.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#45052: 27.1; GDB completion moves point
  2020-12-05 14:26     ` Eli Zaretskii
  2020-12-05 14:48       ` Philip K.
@ 2020-12-14  8:23       ` Philip K.
  2020-12-14 18:10         ` Eli Zaretskii
  1 sibling, 1 reply; 10+ messages in thread
From: Philip K. @ 2020-12-14  8:23 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 45052

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Philip K." <philipk@posteo.net>
>> Cc: 45052@debbugs.gnu.org
>> Date: Sat, 05 Dec 2020 15:01:28 +0100
>> 
>> > Does the patch below give good results, and doesn't produce any
>> > adverse effects in other use cases?
>> 
>> It seems to work, and I can't see any unintended side-effects!
>
> Thanks.  If you use gdb-mi.el a lot, how about if you run with this
> change for a week and report back if you saw any adverse effects?
> Then I'll install this if no problems are uncovered.

Just wanted to report back, that after using the patch for a bit, at
least in my case, there were no unintended consequences. Completion
behaved just the way I would have expected it to from other modes.

-- 
	Philip K.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#45052: 27.1; GDB completion moves point
  2020-12-14  8:23       ` Philip K.
@ 2020-12-14 18:10         ` Eli Zaretskii
  0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2020-12-14 18:10 UTC (permalink / raw)
  To: Philip K.; +Cc: 45052-done

> From: "Philip K." <philipk@posteo.net>
> Cc: 45052@debbugs.gnu.org
> Date: Mon, 14 Dec 2020 09:23:34 +0100
> 
> > Thanks.  If you use gdb-mi.el a lot, how about if you run with this
> > change for a week and report back if you saw any adverse effects?
> > Then I'll install this if no problems are uncovered.
> 
> Just wanted to report back, that after using the patch for a bit, at
> least in my case, there were no unintended consequences. Completion
> behaved just the way I would have expected it to from other modes.

Thanks, I've now installed the change on the emacs-27 branch, and I'm
marking this bug done.





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-12-14 18:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-05 12:10 bug#45052: 27.1; GDB completion moves point Philip K.
2020-12-05 13:44 ` Eli Zaretskii
2020-12-05 14:01   ` Philip K.
2020-12-05 14:26     ` Eli Zaretskii
2020-12-05 14:48       ` Philip K.
2020-12-05 15:03         ` Eli Zaretskii
2020-12-05 15:21           ` martin rudalics
2020-12-05 16:01             ` Eli Zaretskii
2020-12-14  8:23       ` Philip K.
2020-12-14 18:10         ` 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.