From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 07:10:59 2020 Received: (at submit) by debbugs.gnu.org; 5 Dec 2020 12:10:59 +0000 Received: from localhost ([127.0.0.1]:46679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klWOx-0003dX-33 for submit@debbugs.gnu.org; Sat, 05 Dec 2020 07:10:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:47836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klWOv-0003dP-3E for submit@debbugs.gnu.org; Sat, 05 Dec 2020 07:10:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klWOu-0007T4-OK for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2020 07:10:56 -0500 Received: from mout02.posteo.de ([185.67.36.66]:56491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klWOr-0002Pd-5a for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2020 07:10:56 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2EB322400FC for ; Sat, 5 Dec 2020 13:10:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607170248; bh=vsqvzjLS70bkb0og8wut9Pwg7U4S321DfO6eUZfUx2Q=; h=From:To:Subject:Date:From; b=dhZlwFgPae5ugZQDbwCKb67MbVGaDqpZK4FH++iOhrU/1lK1V4yybSbfQMN3yr6qQ bE9ilON3PDvFuR2lqKg8uoiQH7n8cLUil3erO/dnZtxKpbVblNj/c4SuonRJglfa4p hdXnxHUk85ml94jo6yfN+eURl9Zjt8MTpOsJQ3ckFujdDy2zZxsJn6swQ4O8CjEBTi sAzivWubE80htV0kJ4FSSZ4WTzZbxZU/NNKtjFubCZqqwGqQQEFGVFdmrD6fmQcYNl IxP/dJAYz4Wq/mtNeTRnZjIaZIsDrdqqx5v4wXKXjtSJ+1cBzEyYqSMsVsA+q01UOR Kex6MljOM2tkg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cp7h74ZkRz9rxS for ; Sat, 5 Dec 2020 13:10:47 +0100 (CET) From: "Philip K." To: bug-gnu-emacs@gnu.org Subject: 27.1; GDB completion moves point Date: Sat, 05 Dec 2020 13:10:46 +0100 Message-ID: <87im9g78s9.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 08:44:31 2020 Received: (at 45052) by debbugs.gnu.org; 5 Dec 2020 13:44:31 +0000 Received: from localhost ([127.0.0.1]:46731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klXrS-0007yh-Nu for submit@debbugs.gnu.org; Sat, 05 Dec 2020 08:44:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klXrQ-0007yS-Oa for 45052@debbugs.gnu.org; Sat, 05 Dec 2020 08:44:29 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45487) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klXrL-0006vu-C7; Sat, 05 Dec 2020 08:44:23 -0500 Received: from [176.228.60.248] (port=2810 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1klXrK-00007H-Pn; Sat, 05 Dec 2020 08:44:23 -0500 Date: Sat, 05 Dec 2020 15:44:09 +0200 Message-Id: <837dpwcqqe.fsf@gnu.org> From: Eli Zaretskii To: "Philip K." In-Reply-To: <87im9g78s9.fsf@posteo.net> (philipk@posteo.net) Subject: Re: bug#45052: 27.1; GDB completion moves point References: <87im9g78s9.fsf@posteo.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45052 Cc: 45052@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "Philip K." > 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 09:01:37 2020 Received: (at 45052) by debbugs.gnu.org; 5 Dec 2020 14:01:37 +0000 Received: from localhost ([127.0.0.1]:46779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klY81-0008QG-3T for submit@debbugs.gnu.org; Sat, 05 Dec 2020 09:01:37 -0500 Received: from mout02.posteo.de ([185.67.36.66]:45287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klY7z-0008Q1-Az for 45052@debbugs.gnu.org; Sat, 05 Dec 2020 09:01:35 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8498F2400FD for <45052@debbugs.gnu.org>; Sat, 5 Dec 2020 15:01:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607176889; bh=NaLc6+TTPWWdiNcI21uintPGJz7xA4Ng0hY0qg0OMak=; h=From:To:Cc:Subject:Date:From; b=gwoqpMqu50+ZdVx2XSrwuef0EYpysGcpVijCwejU5uoY+7zzJ6PDnpfxLZXCcGEjA CZ7DemWcWF76GBgjKUQawsNg21eL//RjfLs9iSO8SFYDi9w6mBuDtoaWviyWxDscQe N+vZ/y6shmvIKzcZVAYNpGolsEVw3vcBG7Z+bIdL7KRP50+1K433eFfaVaKU3EDe+P nmCJxucLGLR8BuLFIPOJsKXQcTJq/UV4tgha8jQhjcIsI+QZDnHEvqwLgb46k+zUu6 bnr1dEsK/Pr1aefIq/hRumAJzPAx/QD4zTSa6ML2z1L0LgFGACXzVP1y2FWvfkX7rE L0wswAVBDqfRA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CpB7r6RD0z9rxS; Sat, 5 Dec 2020 15:01:28 +0100 (CET) From: "Philip K." To: Eli Zaretskii Subject: Re: bug#45052: 27.1; GDB completion moves point In-Reply-To: <837dpwcqqe.fsf@gnu.org> (message from Eli Zaretskii on Sat, 05 Dec 2020 15:44:09 +0200) Date: Sat, 05 Dec 2020 15:01:28 +0100 Message-ID: <87ft4k73nr.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45052 Cc: 45052@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> From: "Philip K." >> 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 09:26:46 2020 Received: (at 45052) by debbugs.gnu.org; 5 Dec 2020 14:26:46 +0000 Received: from localhost ([127.0.0.1]:46803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klYWM-0000cK-6v for submit@debbugs.gnu.org; Sat, 05 Dec 2020 09:26:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klYWK-0000c3-C0 for 45052@debbugs.gnu.org; Sat, 05 Dec 2020 09:26:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46148) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klYWF-0004sF-6T; Sat, 05 Dec 2020 09:26:39 -0500 Received: from [176.228.60.248] (port=1549 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1klYWC-0000ji-QD; Sat, 05 Dec 2020 09:26:37 -0500 Date: Sat, 05 Dec 2020 16:26:23 +0200 Message-Id: <834kl0cos0.fsf@gnu.org> From: Eli Zaretskii To: "Philip K." In-Reply-To: <87ft4k73nr.fsf@posteo.net> (philipk@posteo.net) Subject: Re: bug#45052: 27.1; GDB completion moves point References: <87ft4k73nr.fsf@posteo.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45052 Cc: 45052@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "Philip K." > 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 09:48:11 2020 Received: (at 45052) by debbugs.gnu.org; 5 Dec 2020 14:48:11 +0000 Received: from localhost ([127.0.0.1]:46908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klYr5-0001DW-KZ for submit@debbugs.gnu.org; Sat, 05 Dec 2020 09:48:11 -0500 Received: from mout02.posteo.de ([185.67.36.66]:55571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klYr3-0001DG-D2 for 45052@debbugs.gnu.org; Sat, 05 Dec 2020 09:48:10 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E54332400FC for <45052@debbugs.gnu.org>; Sat, 5 Dec 2020 15:48:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607179682; bh=B3SNIkAIBnK5/5q+g9KdagcyWLxDTuSr0mREak6abOg=; h=From:To:Cc:Subject:Date:From; b=AsSP3PkgS2H92zxix9L/Jnw5YSVMTSCMobYK7oP6mgDqySiLhk3GZbe103JkeeSim 02TgLQBn4iCmB9JNTNEJ58QqRfpxhiJXSJ5kSYuGl4EgjKWFF9MvxzoKTag0bh+tmz yhP2bNhE4OFsRjzxCJLgVr8XL8/VqZvN6i7Z0zzEmNW2AKqTJAwcWdQ3uY22441Tpp qPmqs7h/uDKriMhmFwiNhQSPvRf/q+7fb8Qr33hGIfeaGbSHbLWkMRhe7vYqhgzauo f1Q18TPnd/ENe7itbQPhK9XIiG+pseW6srSZTLUgb6DtsqhP9AB3hh/KIJiBgrmjYf NqMmWyehlN1XQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CpC9Z2tC8z9rxS; Sat, 5 Dec 2020 15:48:02 +0100 (CET) From: "Philip K." To: Eli Zaretskii Subject: Re: bug#45052: 27.1; GDB completion moves point In-Reply-To: <834kl0cos0.fsf@gnu.org> (message from Eli Zaretskii on Sat, 05 Dec 2020 16:26:23 +0200) Date: Sat, 05 Dec 2020 15:48:01 +0100 Message-ID: <87czzo71i6.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45052 Cc: 45052@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> From: "Philip K." >> 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 10:03:28 2020 Received: (at 45052) by debbugs.gnu.org; 5 Dec 2020 15:03:28 +0000 Received: from localhost ([127.0.0.1]:47966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZ5s-0001rI-3L for submit@debbugs.gnu.org; Sat, 05 Dec 2020 10:03:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZ5r-0001r5-33 for 45052@debbugs.gnu.org; Sat, 05 Dec 2020 10:03:27 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46774) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klZ5l-0000g5-2Z; Sat, 05 Dec 2020 10:03:21 -0500 Received: from [176.228.60.248] (port=3942 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1klZ5j-0003uD-Ly; Sat, 05 Dec 2020 10:03:20 -0500 Date: Sat, 05 Dec 2020 17:03:04 +0200 Message-Id: <831rg4cn2v.fsf@gnu.org> From: Eli Zaretskii To: "Philip K." , martin rudalics In-Reply-To: <87czzo71i6.fsf@posteo.net> (philipk@posteo.net) Subject: Re: bug#45052: 27.1; GDB completion moves point References: <87czzo71i6.fsf@posteo.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45052 Cc: 45052@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "Philip K." > Cc: 45052@debbugs.gnu.org > Date: Sat, 05 Dec 2020 15:48:01 +0100 > > Eli Zaretskii 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 10:21:26 2020 Received: (at 45052) by debbugs.gnu.org; 5 Dec 2020 15:21:26 +0000 Received: from localhost ([127.0.0.1]:48027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZNG-0002Ln-9D for submit@debbugs.gnu.org; Sat, 05 Dec 2020 10:21:26 -0500 Received: from mout.gmx.net ([212.227.17.22]:53283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZNE-0002Lb-6W for 45052@debbugs.gnu.org; Sat, 05 Dec 2020 10:21:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607181677; bh=DQ6zLps+BeACfPpU41q/Sv6mUtgZXosgsHU4dD0ELo0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=KrMY3SCydUYe8n2sXxb1kv5+GuiQIcszgK/JQQ4WuPph5z57w/AbMo9S/pORnIo4n i+aieLa7IcZHfZ2cQ50bC3wjF3jmieXp+2w879bCgWZcdu1JEHWBrQbnXPoEFeM3Ua rjHWUL+4U4LekaHjiMCRf/RwTiiQKVXADvtuWI0Y= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([212.95.5.139]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N9dwj-1k8hpJ3nDZ-015aJU; Sat, 05 Dec 2020 16:21:17 +0100 Subject: Re: bug#45052: 27.1; GDB completion moves point To: Eli Zaretskii , "Philip K." References: <87czzo71i6.fsf@posteo.net> <831rg4cn2v.fsf@gnu.org> From: martin rudalics Message-ID: <6a7e79eb-a705-5cc8-3209-90ab061b4899@gmx.at> Date: Sat, 5 Dec 2020 16:21:15 +0100 MIME-Version: 1.0 In-Reply-To: <831rg4cn2v.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:h61C0IJFrfu5NLt5gZVYYTQINH0SdyklpMIWpZdBhG4QywbR0MC I0/8wRwK7qxsNCwtPb3K7i9wBpZwy+RiGgT4U7kxrCg9BWPdtNJNb28z+Nbg192y8G98+sV LQS56HyRWhUCBbtPdVEEETC1SVB4kMpw/dAlvC3RLcCyxYV99uDXQm265rGjrBLu1UEvtQ4 ndWiS1KkGSBA5Xxso+zRQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:487r+qGrwfc=:AcCVYPM60YeHGfv2v8retE Q5dESfggormTsm2wy4FWlDGFl0aQzJJRcDu+ALJ/UOTsdB5m/XVhWjxuGFG0Ud5f/hV1dzXhZ SFMXdY35kiF+Q0guBSh0HN3lXJEoQg1gSY5Sx7TPsN2702lcKASKhXzL71mdVzvGUi02cJEjR VfY4t3TtrqBmx9KfaqIUcDkVm1K+QoI1RSysr5Ihe4B4Mg0Jy0s21cTzlzyKzfwHWjdW+52gP aPPssw/11AXqkzcm3IcwEmKOfnQPCuvUxaac1SliyuqO2gdh/olKXWHDpWp9ECuMm09AlhZi8 gMBYcK8LYSGryuxCbA1L+jxhSyNESG2CjxmSlOLOoejubyPHTOuH204bUn9XfKbKe6naZ1dCU PaV8SBHNaWfFuAlmzexCrmjhGa2+ts3wf0PWUnW4aCs3EESuH10Z0zgKAntr/VZjNqjA/HgUO kndoGO2QYmV14+C2YSdV0MBBfFRDsfUVWJE1AC1xIgq5xqnTiwx7LpEyrLMb8UGHlQIPmg5uF YF23Vtu1NJsgZMqiOV/CwAPKk680JET4+0lWaMzLLrsSWLn3gwQImHO7XG8cdKoUdqtYw8Xop WDf/Bi4zZ+ozTKzkC0YafpoDQgs5ZKlfnBHaOrDzpeHNdwN32WLird73wOsCznELMQtpNEQHz xDFJSDWYHbLWwwH8i2jsxNnh6WtjCy/kUsdr34bJvfuhMHgu87vGMjKMP7+YrdmP/RJ6Lgzhq T9f/u17qWPCQmIDZCho1MumCi4svu6u7sX1CIUZglnJpks5JjvJqxYzmeeT/lmH0+8MyqDWqM QoBNHl0cNmhbcv3hjIYBd0fueNGrYVB8Hr7moWHBiRZ94FLHCrLbNMr7rHZTZGYOobDJSI/F6 45uToRZMPW1ZcpzIBCHg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45052 Cc: 45052@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 11:02:18 2020 Received: (at 45052) by debbugs.gnu.org; 5 Dec 2020 16:02:19 +0000 Received: from localhost ([127.0.0.1]:48064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kla0o-0003QD-NA for submit@debbugs.gnu.org; Sat, 05 Dec 2020 11:02:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kla0n-0003Q1-00 for 45052@debbugs.gnu.org; Sat, 05 Dec 2020 11:02:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47456) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kla0h-00042B-0L; Sat, 05 Dec 2020 11:02:11 -0500 Received: from [176.228.60.248] (port=3552 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kla0d-0000sT-01; Sat, 05 Dec 2020 11:02:09 -0500 Date: Sat, 05 Dec 2020 18:01:52 +0200 Message-Id: <83tut0b5sf.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-Reply-To: <6a7e79eb-a705-5cc8-3209-90ab061b4899@gmx.at> (message from martin rudalics on Sat, 5 Dec 2020 16:21:15 +0100) Subject: Re: bug#45052: 27.1; GDB completion moves point References: <87czzo71i6.fsf@posteo.net> <831rg4cn2v.fsf@gnu.org> <6a7e79eb-a705-5cc8-3209-90ab061b4899@gmx.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45052 Cc: 45052@debbugs.gnu.org, philipk@posteo.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 45052@debbugs.gnu.org > From: martin rudalics > 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 14 03:23:43 2020 Received: (at 45052) by debbugs.gnu.org; 14 Dec 2020 08:23:43 +0000 Received: from localhost ([127.0.0.1]:50980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koj8x-0002BA-45 for submit@debbugs.gnu.org; Mon, 14 Dec 2020 03:23:43 -0500 Received: from mout02.posteo.de ([185.67.36.66]:50439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koj8v-0002Aw-Fi for 45052@debbugs.gnu.org; Mon, 14 Dec 2020 03:23:42 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D63A62400FE for <45052@debbugs.gnu.org>; Mon, 14 Dec 2020 09:23:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607934215; bh=M4kk+EaudjLrx6krp/K2BduHfTZa9R9dlAHHfD9eVwY=; h=From:To:Cc:Subject:Date:From; b=onxvmtekqy3eFfsDCIyHMW24B2jtqNrGFHpJdAZQWdlK+xfxAW+gmYXJQgUjyJc3I /QIK2c2Hh0xVWBg++GAy6UXfeDmnu3d9DOTuxxRNhcIb4WKqrDpOizunOL3UGz6RDu OqaaxLRfuHS2l4cQA3wTrMPNjpfa5IBrN2nEUzFj+/P6raZXm1fols9Ip4t9pr6vPH l8I/lQZYqLn73u9+CvmMt0kdq3LHMQOLZgyyUMQzHtQx2/+nLtcbVVqTltDJac8Fmt s8G/X/vS1GF4flwxV1AMbfrvXBHahfNZSO26mJk8jMJDLLjQ3tKL1O8UHGyMd8J8eQ c26aUSGdvHYAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CvZCq3cSzz9rxP; Mon, 14 Dec 2020 09:23:35 +0100 (CET) From: "Philip K." To: Eli Zaretskii Subject: Re: bug#45052: 27.1; GDB completion moves point In-Reply-To: <834kl0cos0.fsf@gnu.org> (message from Eli Zaretskii on Sat, 05 Dec 2020 16:26:23 +0200) Date: Mon, 14 Dec 2020 09:23:34 +0100 Message-ID: <87k0tk4wzd.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45052 Cc: 45052@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> From: "Philip K." >> 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 14 13:11:01 2020 Received: (at 45052-done) by debbugs.gnu.org; 14 Dec 2020 18:11:01 +0000 Received: from localhost ([127.0.0.1]:54357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kosJJ-0005Qi-0T for submit@debbugs.gnu.org; Mon, 14 Dec 2020 13:11:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kosJG-0005QV-Qf for 45052-done@debbugs.gnu.org; Mon, 14 Dec 2020 13:10:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57267) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kosJB-0002Sk-Er; Mon, 14 Dec 2020 13:10:53 -0500 Received: from [176.228.60.248] (port=3513 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kosJ8-0003zs-0r; Mon, 14 Dec 2020 13:10:50 -0500 Date: Mon, 14 Dec 2020 20:10:40 +0200 Message-Id: <83r1nsb6n3.fsf@gnu.org> From: Eli Zaretskii To: "Philip K." In-Reply-To: <87k0tk4wzd.fsf@posteo.net> (philipk@posteo.net) Subject: Re: bug#45052: 27.1; GDB completion moves point References: <87k0tk4wzd.fsf@posteo.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45052-done Cc: 45052-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "Philip K." > 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. From unknown Sat Jun 14 00:08:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 12 Jan 2021 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator