From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Gustaf Waldemarson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2022 22:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 59730@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166984617917714 (code B ref -1); Wed, 30 Nov 2022 22:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Nov 2022 22:09:39 +0000 Received: from localhost ([127.0.0.1]:35393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0VGr-0004be-Gg for submit@debbugs.gnu.org; Wed, 30 Nov 2022 17:09:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:54920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0VGm-0004bY-94 for submit@debbugs.gnu.org; Wed, 30 Nov 2022 17:09:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0VGm-0002uk-1D for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 17:09:32 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0VGh-0002B6-T7 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 17:09:31 -0500 Received: by mail-ed1-x535.google.com with SMTP id r26so23808142edc.10 for ; Wed, 30 Nov 2022 14:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=kEdxe/Fwt2e2mQkPHZ3mTltyzHRmls5QTARax5NMlU8=; b=hFL/5KiRDkQ81sH2dp3cVRTYmR0gjnP7mE8RbKWtS+ZuaY3OO0XuGDwtTONRYhnd99 Q7kMs+80No7sbfYTbxe0ZHyQ16GyCApeup7nNJJQ2m2yzPRuiOBvFQ32eO8txY72Vyxg cPJOKO+wUiHf/SxcPXfmUQlThuikyHKF24Y/qgFLpHXdkosGxQfQfRq8sfa6Px3jNaUe mQiAoCTfESPUkIle+e/XU6QvEMHWIKsQl+0mr4KpmWzEq8XbN9hZGx2E6Muip80WWmF+ K1aoHVrCel7Th93WGW9w1aYBPZXtZuZA0kqmOP3FKihfo8oNR5fW7mB9PZFQmrRtNSrv IcDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kEdxe/Fwt2e2mQkPHZ3mTltyzHRmls5QTARax5NMlU8=; b=gu1EfQVlJgEDFfueAbiz+MmZLDdxqLqJDk7p9U+mJyZHEQDkSM9b+vUJ2TQuhkyAr9 jWZ+whuQXgotr/09jc/ca8N27RM6qhcgdow3T9nqpoxbasUvcgqQAMdFKsoh/fc1/mKj xoI/louqOnrbF/gxqCvaaM/aZe25ExvaZn4qqEuByw/PDpn1iZN/4bsX2/gESCdYm2dC RL6lAjavLmc5tQcRd2KDqnN0cRUqJVFxR7/sqD24hB35+nkUbTONVktS0Ak3e973Zadk VWSt1HsBGBC6bqp7Ndk2bmGI5dhXMbTORfw8J6CSUZ/xLewTFC1zFpbqYCBv/1bBh9tX 6xzA== X-Gm-Message-State: ANoB5plwM6CXt4/sSp398l3zMLs1de4Q8p3PxIFKPAIkGLB1nZJ8z/Fx Yk4hqqhmji7W5RctYK+Y/jLOIdp6GuVtJ6U76i35WXgpNLQ= X-Google-Smtp-Source: AA0mqf7zeUPX6eLR3sUZCgV54SxCbuwQ110BsD106Fi5YyVCuv0JYoZfzZ9hghc6HpseKgFswjnKbjugXD1XBiRspig= X-Received: by 2002:aa7:c690:0:b0:46a:e2b8:1be9 with SMTP id n16-20020aa7c690000000b0046ae2b81be9mr21617584edq.182.1669846165878; Wed, 30 Nov 2022 14:09:25 -0800 (PST) MIME-Version: 1.0 From: Gustaf Waldemarson Date: Wed, 30 Nov 2022 23:09:14 +0100 Message-ID: Content-Type: multipart/mixed; boundary="0000000000008c13a205eeb75bdc" Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=gustaf.waldemarson@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-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 (--) --0000000000008c13a205eeb75bdc Content-Type: multipart/alternative; boundary="0000000000008c13a005eeb75bda" --0000000000008c13a005eeb75bda Content-Type: text/plain; charset="UTF-8" Hello, After about 3 years, I finally spent some time to actually change the order of local variables as I had originally suggest in an old feature (bug#34589). In summary, this patch does this: In gdb-mi.el mode, for local C/C++ variables that were previously written out: - | type | name | value| Now write them out as: - | name | type | value | Additionally, cap the string length of the name and type to `gdb-locals-max-name-length` and `gdb-locals-max-type-length` respectively (new custom variables with a default set to 20). I also changed the table to always left-align the values when we're printing the locals. Turns out it was really easy to fix, but I may have missed some subtleties, so feel free to give it a look or start a discussion whether this is a good idea or not. I personally prefer it this way since it is much easier and faster to see the values of individual variables, especially when the type-info get very long. Best regards, Gustaf In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-11-30 built on ShadowX Repository revision: ec759e82b39f6ee54e9187acc9525cd65d704c59 Repository branch: master System Description: Ubuntu 22.04.1 LTS Configured using: 'configure --prefix=/home/xaldew/.local '--program-transform-name=s/^ctags$/ctags.emacs/' --without-makeinfo --with-xpm=ifavailable --with-jpeg=ifavailable --with-gif=ifavailable --with-tiff=ifavailable' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: sv_SE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C++//l Minor modes in effect: lsp-diagnostics-mode: t lsp-headerline-breadcrumb-mode: t lsp-modeline-workspace-status-mode: t lsp-modeline-diagnostics-mode: t lsp-modeline-code-actions-mode: t dap-tooltip-mode: t dap-ui-many-windows-mode: t dap-ui-controls-mode: t dap-ui-mode: t gdb-many-windows: t beacon-mode: t modern-c++-font-lock-mode: t lsp-completion-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: t treemacs-fringe-indicator-mode: t dap-auto-configure-mode: t dap-mode: t flyspell-mode: t whitespace-mode: t rainbow-delimiters-mode: t hes-mode: t projectile-mode: t lsp-ui-mode: t lsp-ui-sideline-mode: t flycheck-mode: t lsp-managed-mode: t lsp-mode: t yas-global-mode: t yas-minor-mode: t global-company-mode: t company-mode: t global-undo-tree-mode: t undo-tree-mode: t global-anzu-mode: t anzu-mode: t perspeen-mode: t windmove-mode: t which-key-mode: t anyclip-mode: t override-global-mode: t cwarn-mode: t electric-pair-mode: t save-place-mode: t global-subword-mode: t subword-mode: t winner-mode: t global-auto-revert-mode: t xterm-mouse-mode: t savehist-mode: t ido-everywhere: t gud-tooltip-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t auto-fill-function: yas--auto-fill transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: /home/xaldew/.config/emacs/elpa/transient-20221130.1823/transient hides /home/xaldew/.local/share/emacs/30.0.50/lisp/transient Features: (shadow sort bbdb-message guess-language mail-extr warnings emacsbug message yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils display-line-numbers server pinentry files-x lsp-diagnostics lsp-headerline lsp-icons lsp-modeline dap-mouse dap-ui gdb-mi bui bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils lsp-lens beacon vc-git diff-mode vc-dispatcher modern-cpp-font-lock .yas-setup.el cc-mode/.yas-setup.el view lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-ruby-syntax-tree lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-volar lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3 lsp-toml lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-remark lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-pls lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-magik lsp-nix lsp-nim lsp-nginx lsp-mint lsp-marksman lsp-markdown lsp-lua lsp-ltex lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-gleam lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp gnutls lsp-crystal lsp-cmake lsp-clojure lsp-treemacs lsp-treemacs-generic lsp-treemacs-themes treemacs-treelib treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-interface treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-annotations treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture hl-line treemacs-logging treemacs-customization treemacs-macros lsp-semantic-tokens lsp-clangd lsp-beancount lsp-bash lsp-astro lsp-ansible lsp-angular lsp-ada lsp-actionscript dap-gdb-lldb dap-utils dom xml dap-mode dap-tasks dap-launch lsp-docker yaml posframe dap-overlays term/tmux term/xterm xterm form-feed paredit nameless flyspell ispell whitespace rainbow-delimiters highlight-escape-sequences projectile lisp-mnt grep ibuf-ext ibuffer ibuffer-loaddefs lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck lsp-mode tree-widget spinner network-stream puny nsm markdown-mode noutline outline inline imenu f f-shortdoc shortdoc ewoc epg rfc6068 epg-config compile text-property-search lsp-ui-util face-remap find-func lsp-protocol s ht dash py-snippets yasnippet-radical-snippets yasnippet-snippets yasnippet company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company undo-tree diff queue anzu thingatpt atomic-chrome websocket bindat let-alist color-theme-approximate perspeen perspeen-tab powerline advice powerline-separators color powerline-themes delim-col hydra-examples windmove rect hydra lv bbdb bbdb-site timezone cus-edit pp cus-load icons wid-edit ace-link avy pcase which-key anyclip-mode cl-extra help-mode edmacro kmacro diminish use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf local-autoloads cwarn cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs elec-pair saveplace cap-words superword subword winner autorevert filenotify xt-mouse tango-dark-theme savehist ido gud comint ansi-osc ansi-color ring keybinds terminals ace-link-autoloads unfill-autoloads company-auctex-autoloads gl-conf-mode-autoloads spacemacs-theme-autoloads css-eldoc-autoloads beacon-autoloads emms-autoloads paredit-autoloads glsl-mode-autoloads highlight-escape-sequences-autoloads evil-autoloads powershell-autoloads gnuplot-mode-autoloads cuda-mode-autoloads ein-autoloads debbugs-autoloads ssh-config-mode-autoloads gnuplot-autoloads perspeen-autoloads cider-autoloads sesman-autoloads clojure-mode-autoloads dart-mode-autoloads sublime-themes-autoloads coffee-mode-autoloads opencl-mode-autoloads json-mode-autoloads rx company-anaconda-autoloads pinentry-autoloads rainbow-mode-autoloads htmlize-autoloads flycheck-rust-autoloads kotlin-mode-autoloads lsp-ltex-autoloads bbdb-vcard-autoloads ebdb-autoloads projectile-autoloads jira-markup-mode-autoloads browse-kill-ring-autoloads slime-autoloads macrostep-autoloads helm-dash-autoloads dap-mode-autoloads lsp-docker-autoloads yaml-autoloads lsp-treemacs-autoloads treemacs-autoloads cfrs-autoloads pfuture-autoloads bui-autoloads sx-autoloads jenkins-autoloads smart-jump-autoloads bbdb-autoloads parseedn-autoloads delight-autoloads anzu-autoloads x86-lookup-autoloads undo-tree-autoloads queue-autoloads langtool-autoloads parseclj-autoloads plantuml-mode-autoloads git-modes-autoloads ace-window-autoloads go-mode-autoloads powerline-autoloads lsp-ui-autoloads deferred-autoloads iedit-autoloads csv-mode-autoloads srefactor-autoloads abc-mode-autoloads autoinsert atomic-chrome-autoloads solarized-theme-autoloads anaconda-mode-autoloads web-mode-autoloads flycheck-kotlin-autoloads lua-mode-autoloads nov-autoloads dash-docs-autoloads rainbow-delimiters-autoloads form-feed-autoloads yasnippet-radical-snippets-autoloads cmake-mode-autoloads powerthesaurus-autoloads request-autoloads pyimport-autoloads shut-up-autoloads json-snatcher-autoloads helm-lsp-autoloads lsp-mode-autoloads spinner-autoloads ht-autoloads cargo-autoloads clang-format-autoloads toml-mode-autoloads diminish-autoloads websocket-autoloads yasnippet-snippets-autoloads nameless-autoloads cdlatex-autoloads eclim-autoloads anaphora-autoloads rust-mode-autoloads py-snippets-autoloads magit-gerrit-autoloads rmsbolt-autoloads magit-svn-autoloads pythonic-autoloads company-quickhelp-autoloads magit-annex-autoloads goto-chg-autoloads poly-markdown-autoloads markdown-mode-autoloads polymode-autoloads alert-autoloads gntp-autoloads log4e-autoloads color-theme-approximate-autoloads use-package-autoloads bind-key-autoloads calfw-autoloads graphviz-dot-mode-autoloads flycheck-package-autoloads package-lint-autoloads flycheck-autoloads pkg-info-autoloads epl-autoloads ecb-autoloads avy-autoloads modern-cpp-font-lock-autoloads dts-mode-autoloads zenburn-theme-autoloads yaml-mode-autoloads esxml-autoloads kv-autoloads elpy-autoloads pyvenv-autoloads highlight-indentation-autoloads ob-ipython-autoloads f-autoloads dash-functional-autoloads hydra-autoloads lv-autoloads auto-complete-auctex-autoloads auto-complete-autoloads yasnippet-autoloads auctex-latexmk-autoloads auctex-autoloads tex-site ahk-mode-autoloads magit-autoloads magit-section-autoloads git-commit-autoloads with-editor-autoloads transient-autoloads compat-autoloads cask-mode-autoloads company-c-headers-autoloads pos-tip-autoloads zerodark-theme-autoloads all-the-icons-autoloads image+-autoloads expand-region-autoloads gnus-desktop-notify-autoloads helm-autoloads helm-core-autoloads async-autoloads ggtags-autoloads mmm-mode-autoloads posframe-autoloads company-math-autoloads math-symbol-lists-autoloads company-autoloads ivy-autoloads uimage-autoloads guess-language-autoloads dumb-jump-autoloads popup-autoloads info dash-autoloads s-autoloads google-c-style-autoloads which-key-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 465686 22927) (symbols 48 41605 1) (strings 32 144416 7236) (string-bytes 1 5047896) (vectors 16 74684) (vector-slots 8 1033911 12667) (floats 8 419 1011) (intervals 56 2262 292) (buffers 984 17)) --0000000000008c13a005eeb75bda Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

After about 3 years, I finally s= pent some time to actually change the order of local variables as I had ori= ginally suggest in an old feature (bug#34589).

In= summary, this patch does this: In gdb-mi.el mode, for local C/C++ variable= s that were previously written out:

- | type | nam= e | value|

Now write them out as:
- | name | type | value |

Additionall= y, cap the string length of the name and type to `gdb-locals-max-name-lengt= h` and `gdb-locals-max-type-length` respectively (new custom variables with= a default set to 20). I also changed the table to always left-align the va= lues when we're printing the locals.

Turns= out it was really easy to fix, but I may have missed some subtleties, so f= eel free to give it a look or start a discussion whether this is a good ide= a or not. I personally prefer it this way since it is much easier and faste= r to see the values of individual variables, especially when the type-info = get very long.

Best regards,
Gustaf<= br>

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux= -gnu, GTK+ Version
=C2=A03.24.33, cairo version 1.16.0) of 2022-11-30 bu= ilt on ShadowX
Repository revision: ec759e82b39f6ee54e9187acc9525cd65d70= 4c59
Repository branch: master
System Description: Ubuntu 22.04.1 LTS=

Configured using:
=C2=A0'configure --prefix=3D/home/xaldew/.= local
=C2=A0'--program-transform-name=3Ds/^ctags$/ctags.emacs/' = --without-makeinfo
=C2=A0--with-xpm=3Difavailable --with-jpeg=3Difavaila= ble --with-gif=3Difavailable
=C2=A0--with-tiff=3Difavailable'
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS = HARFBUZZ JPEG LCMS2
LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PN= G RSVG SECCOMP SOUND
THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM = XINPUT2 XPM GTK3 ZLIB

Important settings:
=C2=A0 value of $LANG: = sv_SE.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-cod= ing-system: utf-8-unix

Major mode: C++//l

Minor modes in effe= ct:
=C2=A0 lsp-diagnostics-mode: t
=C2=A0 lsp-headerline-breadcrumb-m= ode: t
=C2=A0 lsp-modeline-workspace-status-mode: t
=C2=A0 lsp-modeli= ne-diagnostics-mode: t
=C2=A0 lsp-modeline-code-actions-mode: t
=C2= =A0 dap-tooltip-mode: t
=C2=A0 dap-ui-many-windows-mode: t
=C2=A0 dap= -ui-controls-mode: t
=C2=A0 dap-ui-mode: t
=C2=A0 gdb-many-windows: t=
=C2=A0 beacon-mode: t
=C2=A0 modern-c++-font-lock-mode: t
=C2=A0 = lsp-completion-mode: t
=C2=A0 treemacs-filewatch-mode: t
=C2=A0 treem= acs-follow-mode: t
=C2=A0 treemacs-git-mode: t
=C2=A0 treemacs-fringe= -indicator-mode: t
=C2=A0 dap-auto-configure-mode: t
=C2=A0 dap-mode:= t
=C2=A0 flyspell-mode: t
=C2=A0 whitespace-mode: t
=C2=A0 rainbo= w-delimiters-mode: t
=C2=A0 hes-mode: t
=C2=A0 projectile-mode: t
= =C2=A0 lsp-ui-mode: t
=C2=A0 lsp-ui-sideline-mode: t
=C2=A0 flycheck-= mode: t
=C2=A0 lsp-managed-mode: t
=C2=A0 lsp-mode: t
=C2=A0 yas-g= lobal-mode: t
=C2=A0 yas-minor-mode: t
=C2=A0 global-company-mode: t<= br>=C2=A0 company-mode: t
=C2=A0 global-undo-tree-mode: t
=C2=A0 undo= -tree-mode: t
=C2=A0 global-anzu-mode: t
=C2=A0 anzu-mode: t
=C2= =A0 perspeen-mode: t
=C2=A0 windmove-mode: t
=C2=A0 which-key-mode: t=
=C2=A0 anyclip-mode: t
=C2=A0 override-global-mode: t
=C2=A0 cwar= n-mode: t
=C2=A0 electric-pair-mode: t
=C2=A0 save-place-mode: t
= =C2=A0 global-subword-mode: t
=C2=A0 subword-mode: t
=C2=A0 winner-mo= de: t
=C2=A0 global-auto-revert-mode: t
=C2=A0 xterm-mouse-mode: t=C2=A0 savehist-mode: t
=C2=A0 ido-everywhere: t
=C2=A0 gud-tooltip-= mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 = eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: = t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 file-n= ame-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-m= ode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-number-mode: t
=C2= =A0 auto-fill-function: yas--auto-fill
=C2=A0 transient-mark-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 abbrev-mode: t

Load-path shadows= :
/home/xaldew/.config/emacs/elpa/transient-20221130.1823/transient hide= s /home/xaldew/.local/share/emacs/30.0.50/lisp/transient

Features:(shadow sort bbdb-message guess-language mail-extr warnings emacsbug
m= essage yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived
gn= us-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231
maila= bbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util m= ail-prsvr mail-utils display-line-numbers server pinentry
files-x lsp-di= agnostics lsp-headerline lsp-icons lsp-modeline dap-mouse
dap-ui gdb-mi = bui bui-list bui-info bui-entry bui-core bui-history
bui-button bui-util= s lsp-lens beacon vc-git diff-mode vc-dispatcher
modern-cpp-font-lock .y= as-setup.el cc-mode/.yas-setup.el view lsp-zig
lsp-steep lsp-svelte lsp-= sqls lsp-ruby-syntax-tree lsp-yaml lsp-xml
lsp-vimscript lsp-vhdl lsp-vo= lar lsp-vetur lsp-html lsp-verilog lsp-vala
lsp-v lsp-typeprof lsp-ttcn3= lsp-toml lsp-terraform lsp-tex lsp-sorbet
lsp-solargraph lsp-rust lsp-r= f lsp-remark lsp-racket lsp-r
lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh= lsp-php lsp-pls
lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-m= agik lsp-nix
lsp-nim lsp-nginx lsp-mint lsp-marksman lsp-markdown lsp-lu= a lsp-ltex
lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-gro= ovy
lsp-hack lsp-graphql lsp-gleam lsp-go lsp-completion lsp-gdscriptlsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elixir
lsp-e= lm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp gnutls
lsp-crystal = lsp-cmake lsp-clojure lsp-treemacs lsp-treemacs-generic
lsp-treemacs-the= mes treemacs-treelib treemacs treemacs-header-line
treemacs-compatibilit= y treemacs-mode treemacs-interface
treemacs-persistence treemacs-filewat= ch-mode treemacs-follow-mode
treemacs-rendering treemacs-annotations tre= emacs-async
treemacs-workspaces treemacs-dom treemacs-visuals
treemac= s-fringe-indicator treemacs-scope pulse treemacs-faces
treemacs-icons tr= eemacs-themes treemacs-core-utils pfuture hl-line
treemacs-logging treem= acs-customization treemacs-macros
lsp-semantic-tokens lsp-clangd lsp-bea= ncount lsp-bash lsp-astro
lsp-ansible lsp-angular lsp-ada lsp-actionscri= pt dap-gdb-lldb dap-utils
dom xml dap-mode dap-tasks dap-launch lsp-dock= er yaml posframe
dap-overlays term/tmux term/xterm xterm form-feed pared= it nameless
flyspell ispell whitespace rainbow-delimiters highlight-esca= pe-sequences
projectile lisp-mnt grep ibuf-ext ibuffer ibuffer-loaddefs = lsp-ui
lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek
= lsp-ui-sideline flycheck lsp-mode tree-widget spinner network-stream
pun= y nsm markdown-mode noutline outline inline imenu f f-shortdoc
shortdoc = ewoc epg rfc6068 epg-config compile text-property-search
lsp-ui-util fac= e-remap find-func lsp-protocol s ht dash py-snippets
yasnippet-radical-s= nippets yasnippet-snippets yasnippet company-oddmuse
company-keywords co= mpany-etags etags fileloop generator xref project
company-gtags company-= dabbrev-code company-dabbrev company-files
company-clang company-capf co= mpany-cmake company-semantic
company-template company-bbdb company undo-= tree diff queue anzu
thingatpt atomic-chrome websocket bindat let-alist<= br>color-theme-approximate perspeen perspeen-tab powerline advice
powerl= ine-separators color powerline-themes delim-col hydra-examples
windmove = rect hydra lv bbdb bbdb-site timezone cus-edit pp cus-load
icons wid-edi= t ace-link avy pcase which-key anyclip-mode cl-extra
help-mode edmacro k= macro diminish use-package use-package-ensure
use-package-delight use-pa= ckage-diminish use-package-bind-key bind-key
easy-mmode use-package-core= finder-inf local-autoloads cwarn cc-mode
cc-fonts cc-guess cc-menus cc-= cmds cc-styles cc-align cc-engine cc-vars
cc-defs elec-pair saveplace ca= p-words superword subword winner
autorevert filenotify xt-mouse tango-da= rk-theme savehist ido gud comint
ansi-osc ansi-color ring keybinds termi= nals ace-link-autoloads
unfill-autoloads company-auctex-autoloads gl-con= f-mode-autoloads
spacemacs-theme-autoloads css-eldoc-autoloads beacon-au= toloads
emms-autoloads paredit-autoloads glsl-mode-autoloads
highligh= t-escape-sequences-autoloads evil-autoloads powershell-autoloads
gnuplot= -mode-autoloads cuda-mode-autoloads ein-autoloads
debbugs-autoloads ssh-= config-mode-autoloads gnuplot-autoloads
perspeen-autoloads cider-autoloa= ds sesman-autoloads
clojure-mode-autoloads dart-mode-autoloads sublime-t= hemes-autoloads
coffee-mode-autoloads opencl-mode-autoloads json-mode-au= toloads rx
company-anaconda-autoloads pinentry-autoloads rainbow-mode-au= toloads
htmlize-autoloads flycheck-rust-autoloads kotlin-mode-autoloads<= br>lsp-ltex-autoloads bbdb-vcard-autoloads ebdb-autoloads
projectile-aut= oloads jira-markup-mode-autoloads
browse-kill-ring-autoloads slime-autol= oads macrostep-autoloads
helm-dash-autoloads dap-mode-autoloads lsp-dock= er-autoloads
yaml-autoloads lsp-treemacs-autoloads treemacs-autoloads cf= rs-autoloads
pfuture-autoloads bui-autoloads sx-autoloads jenkins-autolo= ads
smart-jump-autoloads bbdb-autoloads parseedn-autoloads delight-autol= oads
anzu-autoloads x86-lookup-autoloads undo-tree-autoloads queue-autol= oads
langtool-autoloads parseclj-autoloads plantuml-mode-autoloads
gi= t-modes-autoloads ace-window-autoloads go-mode-autoloads
powerline-autol= oads lsp-ui-autoloads deferred-autoloads iedit-autoloads
csv-mode-autolo= ads srefactor-autoloads abc-mode-autoloads autoinsert
atomic-chrome-auto= loads solarized-theme-autoloads
anaconda-mode-autoloads web-mode-autoloa= ds flycheck-kotlin-autoloads
lua-mode-autoloads nov-autoloads dash-docs-= autoloads
rainbow-delimiters-autoloads form-feed-autoloads
yasnippet-= radical-snippets-autoloads cmake-mode-autoloads
powerthesaurus-autoloads= request-autoloads pyimport-autoloads
shut-up-autoloads json-snatcher-au= toloads helm-lsp-autoloads
lsp-mode-autoloads spinner-autoloads ht-autol= oads cargo-autoloads
clang-format-autoloads toml-mode-autoloads diminish= -autoloads
websocket-autoloads yasnippet-snippets-autoloads nameless-aut= oloads
cdlatex-autoloads eclim-autoloads anaphora-autoloads rust-mode-au= toloads
py-snippets-autoloads magit-gerrit-autoloads rmsbolt-autoloadsmagit-svn-autoloads pythonic-autoloads company-quickhelp-autoloads
mag= it-annex-autoloads goto-chg-autoloads poly-markdown-autoloads
markdown-m= ode-autoloads polymode-autoloads alert-autoloads
gntp-autoloads log4e-au= toloads color-theme-approximate-autoloads
use-package-autoloads bind-key= -autoloads calfw-autoloads
graphviz-dot-mode-autoloads flycheck-package-= autoloads
package-lint-autoloads flycheck-autoloads pkg-info-autoloadsepl-autoloads ecb-autoloads avy-autoloads modern-cpp-font-lock-autoloads<= br>dts-mode-autoloads zenburn-theme-autoloads yaml-mode-autoloads
esxml-= autoloads kv-autoloads elpy-autoloads pyvenv-autoloads
highlight-indenta= tion-autoloads ob-ipython-autoloads f-autoloads
dash-functional-autoload= s hydra-autoloads lv-autoloads
auto-complete-auctex-autoloads auto-compl= ete-autoloads
yasnippet-autoloads auctex-latexmk-autoloads auctex-autolo= ads tex-site
ahk-mode-autoloads magit-autoloads magit-section-autoloads<= br>git-commit-autoloads with-editor-autoloads transient-autoloads
compat= -autoloads cask-mode-autoloads company-c-headers-autoloads
pos-tip-autol= oads zerodark-theme-autoloads all-the-icons-autoloads
image+-autoloads e= xpand-region-autoloads gnus-desktop-notify-autoloads
helm-autoloads helm= -core-autoloads async-autoloads ggtags-autoloads
mmm-mode-autoloads posf= rame-autoloads company-math-autoloads
math-symbol-lists-autoloads compan= y-autoloads ivy-autoloads
uimage-autoloads guess-language-autoloads dumb= -jump-autoloads
popup-autoloads info dash-autoloads s-autoloads google-c= -style-autoloads
which-key-autoloads package browse-url url url-proxy ur= l-privacy
url-expand url-methods url-history url-cookie generate-lisp-fi= le
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq=
eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv
= bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltipcconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-typeelisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
f= ontset image regexp-opt fringe tabulated-list replace newcomment
text-mo= de lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearc= h easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-= core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indo= nesian philippine 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 emoji-= zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev ob= array oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-fac= e macroexp files window text-properties
overlay sha1 md5 base64 format e= nv code-pages mule custom widget keymap
hashtable-print-readable backquo= te threads dbusbind inotify lcms2
dynamic-setting system-font-setting fo= nt-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty m= ake-network-process
emacs)

Memory information:
((conses 16 465= 686 22927)
=C2=A0(symbols 48 41605 1)
=C2=A0(strings 32 144416 7236)<= br>=C2=A0(string-bytes 1 5047896)
=C2=A0(vectors 16 74684)
=C2=A0(vec= tor-slots 8 1033911 12667)
=C2=A0(floats 8 419 1011)
=C2=A0(intervals= 56 2262 292)
=C2=A0(buffers 984 17))

--0000000000008c13a005eeb75bda-- --0000000000008c13a205eeb75bdc Content-Type: application/x-patch; name="0001-gdb-mi.el-Swap-type-and-name-column-in-locals.patch" Content-Disposition: attachment; filename="0001-gdb-mi.el-Swap-type-and-name-column-in-locals.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lb2t4plo0 RnJvbSA3YTg0MzUxYTVhZDVlZTg3YTU5ODM5MmRjY2VhMDYwNGU2MmZhNTFiIE1vbiBTZXAg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IChwcm9wZXJ0aXplIG5hbWUgJ2ZvbnQtbG9jay1mYWNl IGZvbnQtbG9jay12YXJpYWJsZS1uYW1lLWZhY2UpCisgICAgICAgICAgKHByb3BlcnRpemUgdHlw ZSAnZm9udC1sb2NrLWZhY2UgZm9udC1sb2NrLXR5cGUtZmFjZSkKICAgICAgICAgICB2YWx1ZSkK ICAgICAgICAgIGAoZ2RiLWxvY2FsLXZhcmlhYmxlICxsb2NhbCkpKSkKICAgICAoaW5zZXJ0IChn ZGItdGFibGUtc3RyaW5nIHRhYmxlICIgIikpCi0tIAoyLjM0LjEKCg== --0000000000008c13a205eeb75bdc-- From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2022 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gustaf Waldemarson Cc: 59730@debbugs.gnu.org Received: via spool by 59730-submit@debbugs.gnu.org id=B59730.16699095191604 (code B ref 59730); Thu, 01 Dec 2022 15:46:02 +0000 Received: (at 59730) by debbugs.gnu.org; 1 Dec 2022 15:45:19 +0000 Received: from localhost ([127.0.0.1]:40388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0lkU-0000Po-N4 for submit@debbugs.gnu.org; Thu, 01 Dec 2022 10:45:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0lkT-0000Pg-1t for 59730@debbugs.gnu.org; Thu, 01 Dec 2022 10:45:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0lkN-0005hC-Qp; Thu, 01 Dec 2022 10:45:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=oFIqO3PaPQH5ooKs10PzEzmg4xNbAA0a5d6PaNmOcoI=; b=U2WmEI3/MNKl XpD+Rw64atsVqDVg4kkNgojgQ0/MP2rMdgF4EVn7pF3JlnkAl1an1/i1O6S3xKH9Lgv0oNuB4AAE7 2LwuRSQEvPT4bRBpKMDOzf74c6EcdXeHLeje++fwoLDPgqoYcbYJMcUAaoaCzN/c0SvAAOsgYkn9g vmMj7nbTazdkRonriSocrslnO4DEYUdhO8+nNbgyPt3oHQR7k3FvvXAP2q4ldYJuMx+1k1QnU2YZO OHYlcJj+fflQ+yrLQO37pyZh//r5RjVvAyijODBfLBVOzO4sNIUQBZMatw6v0mN/v67ionBxc6okN RFI8BslqreA1hnWv7pgKjw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0lkM-0001uX-PI; Thu, 01 Dec 2022 10:45:11 -0500 Date: Thu, 01 Dec 2022 17:44:44 +0200 Message-Id: <83y1rrgmc3.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Gustaf Waldemarson on Wed, 30 Nov 2022 23:09:14 +0100) References: X-Spam-Score: -2.3 (--) 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: Gustaf Waldemarson > Date: Wed, 30 Nov 2022 23:09:14 +0100 > > In summary, this patch does this: In gdb-mi.el mode, for local C/C++ variables that were previously written > out: > > - | type | name | value| > > Now write them out as: > > - | name | type | value | > > Additionally, cap the string length of the name and type to `gdb-locals-max-name-length` and > `gdb-locals-max-type-length` respectively (new custom variables with a default set to 20). I also changed the > table to always left-align the values when we're printing the locals. > > Turns out it was really easy to fix, but I may have missed some subtleties, so feel free to give it a look or > start a discussion whether this is a good idea or not. I personally prefer it this way since it is much easier > and faster to see the values of individual variables, especially when the type-info get very long. First, if the problem is that the type names are long, maybe it will be enough to truncate them without changing the order? Also, latest version of GDB allow control on which types get shown in full and which are shown as <...> -- did you try to use that GDB option to make the display more easily readable? And wouldn't it be better to truncate the string with truncate-string-to-width or with string-truncate-left instead? And finally, when the type is truncated, would it be possible to add a tooltip with the full name of the type, so that users who need that could hover the mouse above the truncated type and see it in full? Thanks. From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Gustaf Waldemarson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2022 20:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 59730@debbugs.gnu.org Received: via spool by 59730-submit@debbugs.gnu.org id=B59730.16699272876016 (code B ref 59730); Thu, 01 Dec 2022 20:42:02 +0000 Received: (at 59730) by debbugs.gnu.org; 1 Dec 2022 20:41:27 +0000 Received: from localhost ([127.0.0.1]:41800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0qMq-0001Yx-6u for submit@debbugs.gnu.org; Thu, 01 Dec 2022 15:41:27 -0500 Received: from mail-ej1-f48.google.com ([209.85.218.48]:39869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0qMl-0001YT-52 for 59730@debbugs.gnu.org; Thu, 01 Dec 2022 15:41:10 -0500 Received: by mail-ej1-f48.google.com with SMTP id ml11so7050454ejb.6 for <59730@debbugs.gnu.org>; Thu, 01 Dec 2022 12:41:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=88KuTYHnSGAfyvEuoTxr/wdJ17oVUSTLo8dkcYmG/x8=; b=Oaa1I0lmdY77jEfSjPGDhqhjqlVecSXupkfzTDsr/7H6mtqrngpaf6Cf+GOm0gjOgg mGUL4DfIGxh/Ur7l/MmfIyOIfQ9MnCXDWly9cK/YH7ZNGPeQRO3g1RYZAwZtxsjfyS9U yGEiktZzI7wMSTY+fGiuT7MaKozMIPsyF0hDli24mVaPUCCSHDKqBiGHqRlJEgCCBwtG QegbxnG0TbEyD5YZID3apHmuYTiJSv/PBQzmhr2sOs0cCwV0lua3a3IH2ksc8HlRYEqE bIMBp42jLL0Z/24J67OeuXqRbsx2IFo9iy8DJDq3yZ2KG9uMATt0VBIq/5z81ndpcS1q dwzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=88KuTYHnSGAfyvEuoTxr/wdJ17oVUSTLo8dkcYmG/x8=; b=KlSSQDL0iYiYT3GhYCixEubR1SkYTacAPmexdcKgpVGJpb5toYd6iH9Lg5LRVZ8Gjf osoUKvXrfaaguzu57jVhE1YSlSE/Kn02a3UQOOit807svwEhWLjs1pl9EH0uOQH3a57u dJv1eWwreECVSx7JfWAIMxsr2s50nNWwAq5zjMdVNm1sEBu2PA7OhbQ8O9u7uzNP01Eb 6vUpf9yOsAf5zTcHPDiLPvzflSJ6f3w53ZCksSdK7P9IewqCqfo6ePDFqmSEjYNXEybv V7XofglyZXyt3odYRm/pLgS3NvHBu/GREyADjXm01B7F7H+2C+Kmmaj27NNgLr77JrOM BRXg== X-Gm-Message-State: ANoB5pkc3SnEsYZAynjb4iyvnGzytI/CGJO4/h/K5bOtp9kKGZvmTlsp u5lWkhDtMN2zavlSG70wjNj3C5rW/x3zpSH8Q1M= X-Google-Smtp-Source: AA0mqf50tv2Y8eBwUP8aEZM5RDqO9KriWhLRqGnhAfeaJ5pUzUDa4OP7+rQsz9uUox6sAzV0758PKuP6XFlkque3OeQ= X-Received: by 2002:a17:906:2312:b0:7c0:bb4c:e792 with SMTP id l18-20020a170906231200b007c0bb4ce792mr1745333eja.618.1669927260970; Thu, 01 Dec 2022 12:41:00 -0800 (PST) MIME-Version: 1.0 References: <83y1rrgmc3.fsf@gnu.org> In-Reply-To: <83y1rrgmc3.fsf@gnu.org> From: Gustaf Waldemarson Date: Thu, 1 Dec 2022 21:40:49 +0100 Message-ID: Content-Type: multipart/alternative; boundary="00000000000030e2af05eeca3d40" X-Spam-Score: 0.0 (/) 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.0 (-) --00000000000030e2af05eeca3d40 Content-Type: text/plain; charset="UTF-8" > First, if the problem is that the type names are long, maybe it will be > enough to truncate them without changing the order? The truncation is the main issue, although I would argue that this is also a good opportunity to change the order as well given some of the benefits of a left-to-right reading order, (e.g., it is easier to read and parse, as explained Herb Sutter^1). Other languages such as Rust/Go could also benefit from this. That said, I guess this might be a western thing, and it is hardly a hill I would die on, so to speak. > Also, latest version of GDB allow control on which types get shown in full > and which are shown as <...> -- did you try to use that GDB option to make > the display more easily readable? I was not aware of this. I will look into it and see if I can enable it. That said, there's probably benefits to having the option to truncate from Emacs anyways, primarily to support older versions of GDB. > And wouldn't it be better to truncate the string with > truncate-string-to-width or with string-truncate-left instead? Absolutely, I just was not aware of these (better) tools. One could even argue that a custom filter-function could be warranted, but I think that's a bit overkill right now at least. > And finally, when the type is truncated, would it be possible to add a > tooltip with the full name of the type, so that users who need that could > hover the mouse above the truncated type and see it in full? Excellent idea, that should be doable by just adding some properties to the strings, I'll see if I can sort these things out as well. Thanks for the feedback, I'll start working on an updated patch soon-ish ^1. See e.g. https://softwareengineering.stackexchange.com/questions/101978/advantages-of-a-left-to-right-language-syntax ^1. and https://herbsutter.com/2011/05/04/interview-on-channel-9-2/ Best regards, Gustaf Den tors 1 dec. 2022 kl 16:45 skrev Eli Zaretskii : > > From: Gustaf Waldemarson > > Date: Wed, 30 Nov 2022 23:09:14 +0100 > > > > In summary, this patch does this: In gdb-mi.el mode, for local C/C++ > variables that were previously written > > out: > > > > - | type | name | value| > > > > Now write them out as: > > > > - | name | type | value | > > > > Additionally, cap the string length of the name and type to > `gdb-locals-max-name-length` and > > `gdb-locals-max-type-length` respectively (new custom variables with a > default set to 20). I also changed the > > table to always left-align the values when we're printing the locals. > > > > Turns out it was really easy to fix, but I may have missed some > subtleties, so feel free to give it a look or > > start a discussion whether this is a good idea or not. I personally > prefer it this way since it is much easier > > and faster to see the values of individual variables, especially when > the type-info get very long. > > First, if the problem is that the type names are long, maybe it will be > enough to truncate them without changing the order? > > Also, latest version of GDB allow control on which types get shown in full > and which are shown as <...> -- did you try to use that GDB option to make > the display more easily readable? > > And wouldn't it be better to truncate the string with > truncate-string-to-width or with string-truncate-left instead? > > And finally, when the type is truncated, would it be possible to add a > tooltip with the full name of the type, so that users who need that could > hover the mouse above the truncated type and see it in full? > > Thanks. > --00000000000030e2af05eeca3d40 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> First, if the problem is that the type names are long= , maybe it will be
> enough to truncate them without changing the ord= er?

The truncation is the main issue, although I would argue that th= is is also a good opportunity to change
the order as well given some of= the benefits of a left-to-right reading order, (e.g., it is easier to read= and=C2=A0
parse, as explained Herb Sutter^1). Other languages su= ch as Rust/Go could also benefit from this. That said,
I guess th= is might be a western thing, and it is hardly a hill I would die on, so to = speak.

> Also, latest version of GDB allow control on whic= h types get shown in full
> and which are shown as <...> -- did= you try to use that GDB option to make
> the display more easily rea= dable?

I was not aware of this. I will look into it and see if I can= enable it. That said, there's probably benefits to having
th= e option to truncate from Emacs anyways, primarily to support older version= s of GDB.

> And wouldn't it be better to truncate the string = with
> truncate-string-to-width or with string-truncate-left instead?=

Absolutely, I just was not aware of these (better) tools. One could= even argue that a custom filter-function could be warranted,
but= I think that's a bit overkill right now at least.

> And fina= lly, when the type is truncated, would it be possible to add a
> tool= tip with the full name of the type, so that users who need that could
&g= t; hover the mouse above the truncated type and see it in full?

Exce= llent idea, that should be doable by just adding some properties to the str= ings, I'll see if I can sort these things out as well.
Best regards,
Gustaf

Den tors 1 dec. 2022= kl 16:45 skrev Eli Zaretskii <eliz@gnu.= org>:
> From: Gustaf Waldemarson <gustaf.wald= emarson@gmail.com>
> Date: Wed, 30 Nov 2022 23:09:14 +0100
>
> In summary, this patch does this: In gdb-mi.el mode, for local C/C++ v= ariables that were previously written
> out:
>
> - | type | name | value|
>
> Now write them out as:
>
> - | name | type | value |
>
> Additionally, cap the string length of the name and type to `gdb-local= s-max-name-length` and
> `gdb-locals-max-type-length` respectively (new custom variables with a= default set to 20). I also changed the
> table to always left-align the values when we're printing the loca= ls.
>
> Turns out it was really easy to fix, but I may have missed some subtle= ties, so feel free to give it a look or
> start a discussion whether this is a good idea or not. I personally pr= efer it this way since it is much easier
> and faster to see the values of individual variables, especially when = the type-info get very long.

First, if the problem is that the type names are long, maybe it will be
enough to truncate them without changing the order?

Also, latest version of GDB allow control on which types get shown in full<= br> and which are shown as <...> -- did you try to use that GDB option to= make
the display more easily readable?

And wouldn't it be better to truncate the string with
truncate-string-to-width or with string-truncate-left instead?

And finally, when the type is truncated, would it be possible to add a
tooltip with the full name of the type, so that users who need that could hover the mouse above the truncated type and see it in full?

Thanks.
--00000000000030e2af05eeca3d40-- From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Gustaf Waldemarson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2022 21:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 59730@debbugs.gnu.org Received: via spool by 59730-submit@debbugs.gnu.org id=B59730.16699316298629 (code B ref 59730); Thu, 01 Dec 2022 21:54:01 +0000 Received: (at 59730) by debbugs.gnu.org; 1 Dec 2022 21:53:49 +0000 Received: from localhost ([127.0.0.1]:42180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0rV6-0002F7-SQ for submit@debbugs.gnu.org; Thu, 01 Dec 2022 16:53:49 -0500 Received: from mail-ej1-f43.google.com ([209.85.218.43]:33462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0rV2-0002F1-Jf for 59730@debbugs.gnu.org; Thu, 01 Dec 2022 16:53:47 -0500 Received: by mail-ej1-f43.google.com with SMTP id n20so7529962ejh.0 for <59730@debbugs.gnu.org>; Thu, 01 Dec 2022 13:53:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4tqAuGR3FT/OEaT3bJHIHmLi8PWJzSGVo2wvV5SnE1E=; b=lKRzAy8DZkKDFPGir0ByRf6FvXpKjbBWq4K8TG7X5thM9YJrn7V61vG8CVqBk+dYBP /bbLPVf0Ak5ZKWQAEgMI5UK3NrdFEkE0m2+QkK69/5h/lGXvKZpjYxRp+XmbkwDTlpnp bUHqpV9ObVlLFJ58X/qDjW65J66MS2AxCNBPIiN3zfYqOWXS7ebUaUpBSrZ0jULQ1isL 2XBkmQOI+HktGzTZPPq8WkHnWZGf8dyHgHL5xmHQfsW7Rjkha9dUAslNNE2pIRGYmALe RoiJ0G8zyXPRscNHttRY3Ck9//rAQ5pQywVrKQAYlHo/mcI/af8hVtr908xwlIBCF3r9 DbXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4tqAuGR3FT/OEaT3bJHIHmLi8PWJzSGVo2wvV5SnE1E=; b=K9p77R4DzwbvxjihLJkcGxo9cgqVrUHjdiotuYIixRqxUkZIHODYTGb658Za05RpE1 BkFqAv92Ae6pQoy7vEx9Kc3V5HyKKT0lF7+m+CcCPp0XYWMWjDI/u/psekZA6UA/np3s Grn4fuPp3hjFd/IlI//3pUmxd2wbHw2XkASgayYyzGPxCvHpiFEm0u2Fyx2iTrPFCcH+ RnNSvYLujvBePIaga8RzTa2TbzK83Zu0E2gUAGS6h3PQbGxlUbGCb2m43J2BK+kZwyp3 VzCAoQ3j/fhogwCt538YVQ0N0d1sm0V5QirYm0xr4mOi3sMMEvS0I7fmC7sKEehA81ji hTWg== X-Gm-Message-State: ANoB5pnPLqwjp+6YcinBA2Cs9YEegg4zSOS7Q+jxjm7yQ5o38A706yqV bPraQFU59YLyvDL8SoWHigYoTX35jGSNY7E3ckQ= X-Google-Smtp-Source: AA0mqf5gcY1qg4b7ANY5bBfbG+mrxrvnSl8X5LA1rVgvrfmkX/ZbhQWkT0mEDkEZGIgfxz1f6OJ04Kwdkc0SIOPPGS8= X-Received: by 2002:a17:906:1146:b0:78d:9f02:5458 with SMTP id i6-20020a170906114600b0078d9f025458mr43781617eja.753.1669931618298; Thu, 01 Dec 2022 13:53:38 -0800 (PST) MIME-Version: 1.0 References: <83y1rrgmc3.fsf@gnu.org> In-Reply-To: From: Gustaf Waldemarson Date: Thu, 1 Dec 2022 22:53:26 +0100 Message-ID: Content-Type: multipart/mixed; boundary="000000000000e89b4505eecb4090" X-Spam-Score: 0.0 (/) 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.0 (-) --000000000000e89b4505eecb4090 Content-Type: multipart/alternative; boundary="000000000000e89b4305eecb408e" --000000000000e89b4305eecb408e Content-Type: text/plain; charset="UTF-8" The updated patch is attached to this mail. Although I was not able to find any reference to the GDB options that changes how types are displayed ( https://sourceware.org/gdb/onlinedocs/gdb/Print-Settings.html#Print-Settings). Am I just blind? Or did you have a specific setting in mind? Best regards, Gustaf Den tors 1 dec. 2022 kl 21:40 skrev Gustaf Waldemarson < gustaf.waldemarson@gmail.com>: > > First, if the problem is that the type names are long, maybe it will be > > enough to truncate them without changing the order? > > The truncation is the main issue, although I would argue that this is also > a good opportunity to change > the order as well given some of the benefits of a left-to-right reading > order, (e.g., it is easier to read and > parse, as explained Herb Sutter^1). Other languages such as Rust/Go could > also benefit from this. That said, > I guess this might be a western thing, and it is hardly a hill I would die > on, so to speak. > > > Also, latest version of GDB allow control on which types get shown in > full > > and which are shown as <...> -- did you try to use that GDB option to > make > > the display more easily readable? > > I was not aware of this. I will look into it and see if I can enable it. > That said, there's probably benefits to having > the option to truncate from Emacs anyways, primarily to support older > versions of GDB. > > > And wouldn't it be better to truncate the string with > > truncate-string-to-width or with string-truncate-left instead? > > Absolutely, I just was not aware of these (better) tools. One could even > argue that a custom filter-function could be warranted, > but I think that's a bit overkill right now at least. > > > And finally, when the type is truncated, would it be possible to add a > > tooltip with the full name of the type, so that users who need that could > > hover the mouse above the truncated type and see it in full? > > Excellent idea, that should be doable by just adding some properties to > the strings, I'll see if I can sort these things out as well. > > Thanks for the feedback, I'll start working on an updated patch soon-ish > > ^1. See e.g. > https://softwareengineering.stackexchange.com/questions/101978/advantages-of-a-left-to-right-language-syntax > ^1. and https://herbsutter.com/2011/05/04/interview-on-channel-9-2/ > > Best regards, > Gustaf > > Den tors 1 dec. 2022 kl 16:45 skrev Eli Zaretskii : > >> > From: Gustaf Waldemarson >> > Date: Wed, 30 Nov 2022 23:09:14 +0100 >> > >> > In summary, this patch does this: In gdb-mi.el mode, for local C/C++ >> variables that were previously written >> > out: >> > >> > - | type | name | value| >> > >> > Now write them out as: >> > >> > - | name | type | value | >> > >> > Additionally, cap the string length of the name and type to >> `gdb-locals-max-name-length` and >> > `gdb-locals-max-type-length` respectively (new custom variables with a >> default set to 20). I also changed the >> > table to always left-align the values when we're printing the locals. >> > >> > Turns out it was really easy to fix, but I may have missed some >> subtleties, so feel free to give it a look or >> > start a discussion whether this is a good idea or not. I personally >> prefer it this way since it is much easier >> > and faster to see the values of individual variables, especially when >> the type-info get very long. >> >> First, if the problem is that the type names are long, maybe it will be >> enough to truncate them without changing the order? >> >> Also, latest version of GDB allow control on which types get shown in full >> and which are shown as <...> -- did you try to use that GDB option to make >> the display more easily readable? >> >> And wouldn't it be better to truncate the string with >> truncate-string-to-width or with string-truncate-left instead? >> >> And finally, when the type is truncated, would it be possible to add a >> tooltip with the full name of the type, so that users who need that could >> hover the mouse above the truncated type and see it in full? >> >> Thanks. >> > --000000000000e89b4305eecb408e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The updated patch is attached to this mail. Although = I was not able to find any reference to the GDB options that changes
<= div>how types are displayed (https://sourceware.org/gdb/onlin= edocs/gdb/Print-Settings.html#Print-Settings). Am I just
blin= d? Or did you have a specific setting in mind?

Best regards,
Gustaf

Den tors 1 dec. 2022 kl 21:40 skre= v Gustaf Waldemarson <gu= staf.waldemarson@gmail.com>:
> First, if the problem is that the= type names are long, maybe it will be
> enough to truncate them with= out changing the order?

The truncation is the main issue, although I= would argue that this is also a good opportunity to change
the order a= s well given some of the benefits of a left-to-right reading order, (e.g., = it is easier to read and=C2=A0
parse, as explained Herb Sutter^1)= . Other languages such as Rust/Go could also benefit from this. That said,<= /div>
I guess this might be a western thing, and it is hardly a hill I = would die on, so to speak.

> Also, latest version of GDB a= llow control on which types get shown in full
> and which are shown a= s <...> -- did you try to use that GDB option to make
> the dis= play more easily readable?

I was not aware of this. I will look into= it and see if I can enable it. That said, there's probably benefits to= having
the option to truncate from Emacs anyways, primarily to s= upport older versions of GDB.

> And wouldn't it be better to = truncate the string with
> truncate-string-to-width or with string-tr= uncate-left instead?

Absolutely, I just was not aware of these (bett= er) tools. One could even argue that a custom filter-function could be warr= anted,
but I think that's a bit overkill right now at least.<= br>
> And finally, when the type is truncated, would it be possible t= o add a
> tooltip with the full name of the type, so that users who n= eed that could
> hover the mouse above the truncated type and see it = in full?

Excellent idea, that should be doable by just adding some p= roperties to the strings, I'll see if I can sort these things out as we= ll.

Thanks for the feedback, I'll start workin= g on an updated patch soon-ish


Be= st regards,
Gustaf

Den tors 1 dec. 2022 kl 16:45 skrev Eli Z= aretskii <eliz@gnu.org= >:
> F= rom: Gustaf Waldemarson <gustaf.waldemarson@gmail.com>
> Date: Wed, 30 Nov 2022 23:09:14 +0100
>
> In summary, this patch does this: In gdb-mi.el mode, for local C/C++ v= ariables that were previously written
> out:
>
> - | type | name | value|
>
> Now write them out as:
>
> - | name | type | value |
>
> Additionally, cap the string length of the name and type to `gdb-local= s-max-name-length` and
> `gdb-locals-max-type-length` respectively (new custom variables with a= default set to 20). I also changed the
> table to always left-align the values when we're printing the loca= ls.
>
> Turns out it was really easy to fix, but I may have missed some subtle= ties, so feel free to give it a look or
> start a discussion whether this is a good idea or not. I personally pr= efer it this way since it is much easier
> and faster to see the values of individual variables, especially when = the type-info get very long.

First, if the problem is that the type names are long, maybe it will be
enough to truncate them without changing the order?

Also, latest version of GDB allow control on which types get shown in full<= br> and which are shown as <...> -- did you try to use that GDB option to= make
the display more easily readable?

And wouldn't it be better to truncate the string with
truncate-string-to-width or with string-truncate-left instead?

And finally, when the type is truncated, would it be possible to add a
tooltip with the full name of the type, so that users who need that could hover the mouse above the truncated type and see it in full?

Thanks.
--000000000000e89b4305eecb408e-- --000000000000e89b4505eecb4090 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-gdb-mi.el-Swap-type-and-name-column-in-locals.patch" Content-Disposition: attachment; filename="0001-gdb-mi.el-Swap-type-and-name-column-in-locals.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lb5m1k9q0 RnJvbSA0ZjIzOGM3MmFjYmMxNWVhZWU3ZWQ3Y2QxOWMzYWVhYzE5YTU1YTdiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBHdXN0YWYgV2FsZGVtYXJzb24gPGd1c3RhZi53YWxkZW1hcnNv bkBnbWFpbC5jb20+CkRhdGU6IFR1ZSwgMjkgTm92IDIwMjIgMjM6NDA6MjMgKzAxMDAKU3ViamVj dDogW1BBVENIXSBnZGItbWkuZWw6IFN3YXAgdHlwZSBhbmQgbmFtZSBjb2x1bW4gaW4gbG9jYWxz LgoKQWRkaXRpb25hbGx5LCB0cnVuY2F0ZSB0aGUgY29sdW1uIGxlbmd0aHMgYW5kIGFkZCB0aGUg ZnVsbCBsZW5ndGggYXMgYQpoZWxwLXRleHQgKHRvb2x0aXApLgotLS0KIGxpc3AvcHJvZ21vZGVz L2dkYi1taS5lbCB8IDIyICsrKysrKysrKysrKysrKysrKysrLS0KIDEgZmlsZSBjaGFuZ2VkLCAy MCBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21v ZGVzL2dkYi1taS5lbCBiL2xpc3AvcHJvZ21vZGVzL2dkYi1taS5lbAppbmRleCBlOGQ4ZjkxMDRl NC4uMTk3ZDEzM2YwZWUgMTAwNjQ0Ci0tLSBhL2xpc3AvcHJvZ21vZGVzL2dkYi1taS5lbAorKysg Yi9saXNwL3Byb2dtb2Rlcy9nZGItbWkuZWwKQEAgLTQzNTUsNiArNDM1NSwxOSBA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YWxpZ24gdGFibGUpIHQpCiAgICAgICAgIChnZGItdGFi bGUtYWRkLXJvdwogICAgICAgICAgdGFibGUKICAgICAgICAgIChsaXN0Ci0gICAgICAgICAgKHBy b3BlcnRpemUgdHlwZSAnZm9udC1sb2NrLWZhY2UgZm9udC1sb2NrLXR5cGUtZmFjZSkKLSAgICAg ICAgICAocHJvcGVydGl6ZSBuYW1lICdmb250LWxvY2stZmFjZSBmb250LWxvY2stdmFyaWFibGUt bmFtZS1mYWNlKQorICAgICAgICAgIChwcm9wZXJ0aXplIChzdHJpbmctdHJ1bmNhdGUtbGVmdCBu YW1lIGdkYi1sb2NhbHMtbWF4LW5hbWUtbGVuZ3RoKQorICAgICAgICAgICAgICAgICAgICAgICdm b250LWxvY2stZmFjZSBmb250LWxvY2stdmFyaWFibGUtbmFtZS1mYWNlCisgICAgICAgICAgICAg ICAgICAgICAgJ2hlbHAtZWNobyBuYW1lKQorICAgICAgICAgIChwcm9wZXJ0aXplIChzdHJpbmct dHJ1bmNhdGUtbGVmdCB0eXBlIGdkYi1sb2NhbHMtbWF4LXR5cGUtbGVuZ3RoKQorICAgICAgICAg ICAgICAgICAgICAgICdmb250LWxvY2stZmFjZSBmb250LWxvY2stdHlwZS1mYWNlCisgICAgICAg ICAgICAgICAgICAgICAgJ2hlbHAtZWNobyB0eXBlKQogICAgICAgICAgIHZhbHVlKQogICAgICAg ICAgYChnZGItbG9jYWwtdmFyaWFibGUgLGxvY2FsKSkpKQogICAgIChpbnNlcnQgKGdkYi10YWJs ZS1zdHJpbmcgdGFibGUgIiAiKSkKLS0gCjIuMzQuMQoK --000000000000e89b4505eecb4090-- From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2022 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gustaf Waldemarson Cc: 59730@debbugs.gnu.org Received: via spool by 59730-submit@debbugs.gnu.org id=B59730.166998895521731 (code B ref 59730); Fri, 02 Dec 2022 13:50:02 +0000 Received: (at 59730) by debbugs.gnu.org; 2 Dec 2022 13:49:15 +0000 Received: from localhost ([127.0.0.1]:46848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p16Pj-0005eR-5z for submit@debbugs.gnu.org; Fri, 02 Dec 2022 08:49:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p16Pi-0005eL-40 for 59730@debbugs.gnu.org; Fri, 02 Dec 2022 08:49:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p16Pc-0000rW-SZ; Fri, 02 Dec 2022 08:49:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PU4skODlCGxs93GT/4Gq1p4cxKXVodYVljfJIoBdoqQ=; b=QI0BaQ3oi/32 2zDuhFrNO4sILX9VFBDtS3a67xCIhPnnmXuPkQliBUcL5V1Z4+/GTnQZpPXkPW9OfsmW1ChRX0STS GLWZGs2PwAEDhXvrsrsOEAHggkH+/tCYGQ5DUgkYWa01sV/31PzsLnT5H5RnXGL8VXvqB5RfEEbfB jsla/kWXx3HJC82MfhpJg/TnnG1MTem5o34wgvEhExVe4DrqdvtrorjsmMqLSV//B37UY7mw3NBrh i+10KZg96pZ0V1W65GzRZTi/yQsUEVfr++j0OfJiKTv3T4hckeEOnUslXMcEPGaIVbZ7LGcc958wL uwiFxLUExyYuUx1a0wQ0qA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p16Pc-0006cm-1R; Fri, 02 Dec 2022 08:49:08 -0500 Date: Fri, 02 Dec 2022 15:48:44 +0200 Message-Id: <83fsdxgblv.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Gustaf Waldemarson on Thu, 1 Dec 2022 22:53:26 +0100) References: <83y1rrgmc3.fsf@gnu.org> X-Spam-Score: -2.3 (--) 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: Gustaf Waldemarson > Date: Thu, 1 Dec 2022 22:53:26 +0100 > Cc: 59730@debbugs.gnu.org > > The updated patch is attached to this mail. Although I was not able to find any reference to the GDB options > that changes > how types are displayed (https://sourceware.org/gdb/onlinedocs/gdb/Print-Settings.html#Print-Settings). Am > I just > blind? Or did you have a specific setting in mind? I meant "set print frame-arguments", but maybe it is not relevant to what you are trying to change. I will review the patch soon, thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 02 19:59:13 2022 Received: (at control) by debbugs.gnu.org; 3 Dec 2022 00:59:13 +0000 Received: from localhost ([127.0.0.1]:49904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1Gs5-0005uZ-J2 for submit@debbugs.gnu.org; Fri, 02 Dec 2022 19:59:13 -0500 Received: from mail-oi1-f177.google.com ([209.85.167.177]:43893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1Gs4-0005uR-7z for control@debbugs.gnu.org; Fri, 02 Dec 2022 19:59:12 -0500 Received: by mail-oi1-f177.google.com with SMTP id s187so831479oie.10 for ; Fri, 02 Dec 2022 16:59:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=LZsV15oEVV3Flkhe6HL3sbbyMFdpgbHuHDLUAcShm1s=; b=NnIyXYRkqLZpnXU/tekgq6VkR7Qg2PDYvQkq6fQppOvePYGY/EIslKuAWkIEioVr+r QGkEFD1rCuZ6vIeRQEMSbL0s+JvCekRV5IzDITGduM/CCImVv6VQuO1tdoM7LWtLgosN HbzA1GuP4C7B38uSpdZISBZ7uMeidoaBTEB1GkMbt93z3W8bfgbNKXwj3ZXk+M4P3o0A F/VWYzB7PM3I/5owLpYA5DnesSKkpVIpmX7oozACZIjBWbvtyi2QATFF6xytl+cAO4Zh uUOZOKvI0FEHi6adpFvJlEErMZR7IZWcbUZuYW0ICluyqWcGlamfBBP/zg3KW+OQyi4F lbhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LZsV15oEVV3Flkhe6HL3sbbyMFdpgbHuHDLUAcShm1s=; b=Eh6jyZEXwemOCTcYbeFLOP7fBc6FuWCB/24/4j7chfxqU/THIcIkJ2Q9YCJnpOSaed b5gZIi+rFGJlEKOoZgtFqymuQ0yC6dz7PVW0ROWcDneLGgJuhAxeDhC8anuBVQN9aq5K UhHulUdX8xQ7ffHnJeb8LXEWdqzuQJ5Hm83fI0cSHMGu7+1HDvoAFFvKJZPu5FCoTSVG TN0WZka95aL8KptPBxYeR3TwD/faCpJjstq0bq/aCqHXG7+5Srq7KI03/+TMHRxa+bUI dk8IwSk5g/liz7x4Z+lm1k5+R1yuSioSVjbQCCtXfKM/g/ZwOpi13yPKc/uYcaTm4vdK AaAw== X-Gm-Message-State: ANoB5pmg8pfxQJj/MBGHRGNGrwJUGFEvAnopmSDCL8P8fvLYbki0qA+5 Kx09ZF+TnDEAc7YCPu+dMozJQYyxvZ7TcdCAbAJQNWdA X-Google-Smtp-Source: AA0mqf5w4AXo5PWdJ5r32JAQU102BA61I4TcZuKK/6X2Ogmn0gdW2B2JgriUdprJ/HLo1+Ir263MfnwsdJ0IpUuVD58= X-Received: by 2002:a05:6808:1287:b0:359:dc32:4f9e with SMTP id a7-20020a056808128700b00359dc324f9emr26772640oiw.92.1670029146683; Fri, 02 Dec 2022 16:59:06 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 2 Dec 2022 16:59:06 -0800 From: Stefan Kangas X-Hashcash: 1:20:221203:control@debbugs.gnu.org::wbw/eOoZqb8x5cNa:Paw MIME-Version: 1.0 Date: Fri, 2 Dec 2022 16:59:06 -0800 Message-ID: Subject: control message for bug #59730 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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.0 (-) severity 59730 wishlist quit From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Gustaf Waldemarson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Dec 2022 13:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 59730@debbugs.gnu.org Received: via spool by 59730-submit@debbugs.gnu.org id=B59730.167007258912003 (code B ref 59730); Sat, 03 Dec 2022 13:04:01 +0000 Received: (at 59730) by debbugs.gnu.org; 3 Dec 2022 13:03:09 +0000 Received: from localhost ([127.0.0.1]:51657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1SAc-00037X-0d for submit@debbugs.gnu.org; Sat, 03 Dec 2022 08:03:09 -0500 Received: from mail-ej1-f51.google.com ([209.85.218.51]:44889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1SAa-00037A-Gb for 59730@debbugs.gnu.org; Sat, 03 Dec 2022 08:03:05 -0500 Received: by mail-ej1-f51.google.com with SMTP id fy37so17424858ejc.11 for <59730@debbugs.gnu.org>; Sat, 03 Dec 2022 05:03:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cy4RP9jTeF6PubHnrC+nNaeZbB3MQf9xE4YjF1hTQUw=; b=JMYhvbqL5r8kw8EisCTyOmsjf5+ejJyS+x/JkgwJYS08LbYZtMNpZZJGtxFCkzQwcl oLlJQi9TuD3wKtiwiNBHGcrZS5d01kBMEfnZmyrONRW5z2dp1tcVOal/IZy2+Vetx8rW ieDmxqUGr8ga3Zx9pfA3MPPbDmu/Tk7ua/yt+9d+w7m2boYNcW14RQyCJbjJvRHDzFb1 3YSA7ATfiPYrIqS4WhyXZCmGklZxO+SqRwYJ+rZAgui+pNgsb4U3ZJA6pKoqVulZRR83 dlglZy3UDkOrzKTBsgHcA+AhmoP7eHA+EUjGldWtpJ60B6V1KkPjenjKS+lq3CRW/FD7 Gs9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cy4RP9jTeF6PubHnrC+nNaeZbB3MQf9xE4YjF1hTQUw=; b=Q4zAdYI1srZ8MuI6BcJofjlzMexlbpCCCI08NWGOablSGx9Sf2NU7B9hCjJQfKf6oh m5XhFdViyjImZIgZn80l7CqjCaGm18Artx3vN2SsFIDnumhB+86CgJVUXjBF1erKtMJX c1LIJgXtUCJ1V8YSp5OQCS7yZWKNbE9jBGkq5hwS4y4osWbsyDlWqaim+21HjFgsRXaV YjCoV2eDMvNFeUWyXo6SMkI1Kzc76fTzwnGInjpfSlQkkcRamw7+Sv9rr3CEhgw5a3RG R99XGaqPw5ymc2iM1vjwR4sMiO91ulMlKc4oHixnkfy5AYioF0vV5qbisd5EmwS8V5A0 6Qnw== X-Gm-Message-State: ANoB5pnb7IiYiUzjTi3wxYpXkGjj2PadHyaMAFpPGeYYfk7D8K69TylX X4TEdJRLat3xIHSPrP8FHhlrtN+D0pcBwq93oMM= X-Google-Smtp-Source: AA0mqf7mCcIROC0nAlSvFv7V3mssKv54BPe90GpFfmZi3bNz34nZIIulDOgsbxllsiczcHEFxFaoLknKbWI2S/TFKYY= X-Received: by 2002:a17:906:4c98:b0:7ad:b9f3:a66a with SMTP id q24-20020a1709064c9800b007adb9f3a66amr49037598eju.282.1670072578191; Sat, 03 Dec 2022 05:02:58 -0800 (PST) MIME-Version: 1.0 References: <83y1rrgmc3.fsf@gnu.org> <83fsdxgblv.fsf@gnu.org> In-Reply-To: <83fsdxgblv.fsf@gnu.org> From: Gustaf Waldemarson Date: Sat, 3 Dec 2022 14:02:46 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000c5b5ae05eeec12c1" X-Spam-Score: -0.0 (/) 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.0 (-) --000000000000c5b5ae05eeec12c1 Content-Type: text/plain; charset="UTF-8" Ahh, I see. I could be wrong, but I think that option would only change the display of the value of local variables, not the type of them. Anyways, thanks for the feedback and for considering the patch! Best regards, Gustaf Den fre 2 dec. 2022 kl 14:49 skrev Eli Zaretskii : > > From: Gustaf Waldemarson > > Date: Thu, 1 Dec 2022 22:53:26 +0100 > > Cc: 59730@debbugs.gnu.org > > > > The updated patch is attached to this mail. Although I was not able to > find any reference to the GDB options > > that changes > > how types are displayed ( > https://sourceware.org/gdb/onlinedocs/gdb/Print-Settings.html#Print-Settings). > Am > > I just > > blind? Or did you have a specific setting in mind? > > I meant "set print frame-arguments", but maybe it is not relevant to what > you are trying to change. > > I will review the patch soon, thanks. > --000000000000c5b5ae05eeec12c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ahh, I see. I could be wrong, but I think that option= would only change the display of the value of local variables,
n= ot the type of them. Anyways, thanks for the feedback and for considering t= he patch!

Best regards,
Gustaf
=

= Den fre 2 dec. 2022 kl 14:49 skrev Eli Zaretskii <eliz@gnu.org>:
> From: Gustaf Waldemarson <gustaf.waldemarson@gmail.com&g= t;
> Date: Thu, 1 Dec 2022 22:53:26 +0100
> Cc: 59730@d= ebbugs.gnu.org
>
> The updated patch is attached to this mail. Although I was not able to= find any reference to the GDB options
> that changes
> how types are displayed (https://sourceware.org/gdb/onlinedocs/gdb/Print-Settings.html#Print-S= ettings). Am
> I just
> blind? Or did you have a specific setting in mind?

I meant "set print frame-arguments", but maybe it is not relevant= to what
you are trying to change.

I will review the patch soon, thanks.
--000000000000c5b5ae05eeec12c1-- From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Dec 2022 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gustaf Waldemarson Cc: 59730@debbugs.gnu.org Received: via spool by 59730-submit@debbugs.gnu.org id=B59730.16700975522436 (code B ref 59730); Sat, 03 Dec 2022 20:00:02 +0000 Received: (at 59730) by debbugs.gnu.org; 3 Dec 2022 19:59:12 +0000 Received: from localhost ([127.0.0.1]:53039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1YfH-0000dE-G7 for submit@debbugs.gnu.org; Sat, 03 Dec 2022 14:59:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1YfF-0000d5-RZ for 59730@debbugs.gnu.org; Sat, 03 Dec 2022 14:59:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1YfA-0004S7-DO; Sat, 03 Dec 2022 14:59:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=FiLZImLL4yugVu0BdZOww6df4hZVxcyw6K4MX6I+jgI=; b=e1/IKNOyEBrF jMyOrosxogNnj0/juevZrzUqidSDKaxW/a5ho77ec9kD7KZxE3Ki71OQOCKpqaahkdVCx6keVa8VH WE/nX7yATcSMuw14AactLiVvyEzqDEEFVyQBm3gDhy5g8Nkk9UziKAFLga7l5N0Z/ikkxFlkm1Luh Oj9i3pletnkE/LzM+d96cC2P3FnFvl6n4QFCHCZOIz82DwZaMS3RI/avPUnt1UKyMuz6/4FDL0u/M 57QQFLs/IF1WNvrXCeK4/Yl/yR5v8B15X5zygzIdnmW8b5KQVRxNE3RXPFPOKwgnUnbJ3XDSnhXRv wMU0iVuQgnT64mWf3dnnFQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1Yf9-0002ez-AD; Sat, 03 Dec 2022 14:59:04 -0500 Date: Sat, 03 Dec 2022 21:58:41 +0200 Message-Id: <83fsdwcl8u.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Gustaf Waldemarson on Thu, 1 Dec 2022 22:53:26 +0100) References: <83y1rrgmc3.fsf@gnu.org> X-Spam-Score: -2.3 (--) 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: Gustaf Waldemarson > Date: Thu, 1 Dec 2022 22:53:26 +0100 > Cc: 59730@debbugs.gnu.org > > The updated patch is attached to this mail. Thanks. I have a couple of minor comments: > +(defcustom gdb-locals-max-type-length 20 > + "Maximum number of character to display in the local variables type column." > + :type 'integer > + :group 'gud > + :version "30.0") This should be "30.1". We don't release NN.o versions of Emacs. > +(defcustom gdb-locals-max-name-length 20 > + "Maximum number of character to display in the local variables name column." > + :type 'integer > + :group 'gud > + :version "30.0") Likewise. Also, please add more detailed description of what these options control. The first line of the doc string is fine, but please add more text explaining that this setting is for displaying the variables in the "Locals" buffer. > - (propertize type 'font-lock-face font-lock-type-face) > - (propertize name 'font-lock-face font-lock-variable-name-face) > + (propertize (string-truncate-left name gdb-locals-max-name-length) > + 'font-lock-face font-lock-variable-name-face > + 'help-echo name) > + (propertize (string-truncate-left type gdb-locals-max-type-length) > + 'font-lock-face font-lock-type-face > + 'help-echo type) I'm uncomfortable with backward-incompatible change in behavior for which there's no way of getting the old behavior. So please add another defcustom that could be used to get the original order of type/name/value. There also should be a NEWS entry about these new options, and the text there should explain how to get back old behavior before these changes. From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Gustaf Waldemarson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Dec 2022 14:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 59730@debbugs.gnu.org Received: via spool by 59730-submit@debbugs.gnu.org id=B59730.16701640031214 (code B ref 59730); Sun, 04 Dec 2022 14:27:01 +0000 Received: (at 59730) by debbugs.gnu.org; 4 Dec 2022 14:26:43 +0000 Received: from localhost ([127.0.0.1]:57993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1px4-0000JW-Cv for submit@debbugs.gnu.org; Sun, 04 Dec 2022 09:26:43 -0500 Received: from mail-ed1-f51.google.com ([209.85.208.51]:46010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1px2-0000JN-KG for 59730@debbugs.gnu.org; Sun, 04 Dec 2022 09:26:41 -0500 Received: by mail-ed1-f51.google.com with SMTP id s5so12454911edc.12 for <59730@debbugs.gnu.org>; Sun, 04 Dec 2022 06:26:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SXKZyF2vYPn6gaX2CESDindyw7D0zHZrv8zUp+OpABE=; b=kjgnc4ohE1Mdp5u/bhdLGpptl+C5PXIw/MRrIw/TgMfuE04Q/JJolQrcjGY/q5UdzL TPP+G12WWWisMa6BAuizVF90yuIM/H3yM8xAuKzkZ2AayYgkIS9Zu2kMCsqf8IPVAviI J+O+BkSwEmRi/6yahngh0PkosfK/utWJvgb/pbBnlAiw2mrMK6ao15Myp+LPR5iOarVJ V3O+kHq5FnCEjc9Lb3Kam0bo8xw6JbWkJ5NMfzOzwiiNYu6EIWzTrOrgP8zkAgDsXJpk 9Mt3R6J4/Vk3yXdHqVfh28p/14HCzcVGjKojN1KlHXKjqR1uIyepKvwOde71o4V/ZRKU wJ0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SXKZyF2vYPn6gaX2CESDindyw7D0zHZrv8zUp+OpABE=; b=ZxAJzCOYlup5afM87ctC/V1fxPUTOi+nIPbhtniyVcBBj5cxJx7XW/BG1lI3l7w610 CbX2hvkGBAJRwIpfgfUf89wzETZx9TUNYnFsmyjpdK7wvozHEXFy4s7mUnlDQgxCGhPT /XKBmIh/l/DP3MHiRy145PSREp4wqHymR8nTD9XwOYYoFWrIPzvtAvbRpC4GldY8qnjW 2kxwmSbwTTgv+3tSE+AlzGlnODNqLgTlddDIdSOJH75zSXQXHZNqbvPXwC0dEApz+UfG +fhgFIfBUylbGc3taHzg3WCCr33qMM1RlKMVYrI/COc3L4Vv+8VNPqVtI8KbS8KQnSw1 biVg== X-Gm-Message-State: ANoB5plj+TlEdN+cKVqvzxVn9l1Oo4psjU5wI25QNqswIclS8XTvrk/v NxyZZnK1tqvgQ9tsHrUGPybBiZnHH+7fiCyCfnLDTcd0pKs= X-Google-Smtp-Source: AA0mqf48ziIAJZi6qgWzo3/1jnBE/c3GboxTws7aS1LGDNAlI1EeG73GqU5BwVt8PHpjmcOsIaX2PFG+zEyAo41THq8= X-Received: by 2002:a05:6402:550b:b0:45f:9526:e35a with SMTP id fi11-20020a056402550b00b0045f9526e35amr71371611edb.256.1670163994342; Sun, 04 Dec 2022 06:26:34 -0800 (PST) MIME-Version: 1.0 References: <83y1rrgmc3.fsf@gnu.org> <83fsdwcl8u.fsf@gnu.org> In-Reply-To: <83fsdwcl8u.fsf@gnu.org> From: Gustaf Waldemarson Date: Sun, 4 Dec 2022 15:26:22 +0100 Message-ID: Content-Type: multipart/mixed; boundary="00000000000099b18f05ef015bdc" X-Spam-Score: 0.0 (/) 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.0 (-) --00000000000099b18f05ef015bdc Content-Type: multipart/alternative; boundary="00000000000099b18c05ef015bda" --00000000000099b18c05ef015bda Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > I'm uncomfortable with backward-incompatible change in behavior for which > there's no way of getting the old behavior. So please add another defcustom > that could be used to get the original order of type/name/value. > There also should be a NEWS entry about these new options, and the text > there should explain how to get back old behavior before these changes. Hmm, this turned out to be a bit harder change, and I did not particularly like the thought of having 3 defcustoms control this behavior. So I spent a bit of time to refactor things a bit. So, this new version only uses a single defcustom, `gdb-locals-table-row-config', which is an alist the user can change to specify the truncation and order of the local variable properties (i.e., name, type, value). I have set this to '((name . 20)(type . 20)(value . 100)), so to get the old behavior one would change this to '(type . 0)(name . 0)(value . 0). Additionally, I found a minor bug in `gdb-locals-value-filter' which did not work properly when the value was nil. There I also noticed that that the `gdb-locals-value-limit' has become redundant with this change. Unfortunately, I wasn't able to figure out how to mark that defcustom as deprecated, is there some kind of macro that should be done for that, or should I just remove it? I also added content to the `etc/NEWS`, as requested but I haven't actually done that before, so I may very well have messed up the formatting, so feel free to double check things there Best regards, Gustaf Den l=C3=B6r 3 dec. 2022 kl 20:59 skrev Eli Zaretskii : > > From: Gustaf Waldemarson > > Date: Thu, 1 Dec 2022 22:53:26 +0100 > > Cc: 59730@debbugs.gnu.org > > > > The updated patch is attached to this mail. > > Thanks. I have a couple of minor comments: > > > +(defcustom gdb-locals-max-type-length 20 > > + "Maximum number of character to display in the local variables type > column." > > + :type 'integer > > + :group 'gud > > + :version "30.0") > > This should be "30.1". We don't release NN.o versions of Emacs. > > > +(defcustom gdb-locals-max-name-length 20 > > + "Maximum number of character to display in the local variables name > column." > > + :type 'integer > > + :group 'gud > > + :version "30.0") > > Likewise. > > Also, please add more detailed description of what these options control. > The first line of the doc string is fine, but please add more text > explaining that this setting is for displaying the variables in the > "Locals" > buffer. > > > - (propertize type 'font-lock-face font-lock-type-face) > > - (propertize name 'font-lock-face font-lock-variable-name-fac= e) > > + (propertize (string-truncate-left name > gdb-locals-max-name-length) > > + 'font-lock-face font-lock-variable-name-face > > + 'help-echo name) > > + (propertize (string-truncate-left type > gdb-locals-max-type-length) > > + 'font-lock-face font-lock-type-face > > + 'help-echo type) > > I'm uncomfortable with backward-incompatible change in behavior for which > there's no way of getting the old behavior. So please add another > defcustom > that could be used to get the original order of type/name/value. > > There also should be a NEWS entry about these new options, and the text > there should explain how to get back old behavior before these changes. > --00000000000099b18c05ef015bda Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

> I'm uncomfortable with backward-incompatible change in behavior fo= r which
> there's no way of getting the old behavior.=C2=A0 So please add an= other defcustom
> that could be used to get the original order of type/name/value.

> There also should be a NEWS entry about these new options, and the tex= t
> there should explain how to get back old behavior before these changes= .

Hmm, this turned out to be a bit harder change, = and I did not particularly like
the thought of having 3 defcustom= s control this behavior. So I spent a bit of time
to refactor thi= ngs a bit.

So, this new version only uses a single= defcustom, `gdb-locals-table-row-config',
which is an alist = the user can change to specify the truncation and order of the
local variable properties (i.e., name, type, value).

I have set this to '((name . 20)(type . 20)(value . 100)), so to = get the old behavior
one would change this to '(type . 0)(nam= e . 0)(value . 0).

Additionally, I found a minor b= ug in `gdb-locals-value-filter' which did not work
properly w= hen the value was nil. There I also noticed that that the `gdb-locals-value= -limit'
has become redundant with this change. Unfortunately,= I wasn't able to figure out how
to mark that defcustom as de= precated, is there some kind of macro that should be done
for tha= t, or should I just remove it?

I also added co= ntent to the `etc/NEWS`, as requested but I haven't actually done that<= /div>
before, so I may very well have messed up the formatting, so feel= free to double check
things there

Best = regards,
Gustaf


Den l=C3=B6r 3 dec. 2022 = kl 20:59 skrev Eli Zaretskii <eliz@gnu.o= rg>:
>= From: Gustaf Waldemarson <gustaf.waldemarson@gmail.com>
> Date: Thu, 1 Dec 2022 22:53:26 +0100
> Cc: 59730@d= ebbugs.gnu.org
>
> The updated patch is attached to this mail.

Thanks.=C2=A0 I have a couple of minor comments:

> +(defcustom gdb-locals-max-type-length 20
> +=C2=A0 "Maximum number of character to display in the local vari= ables type column."
> +=C2=A0 :type 'integer
> +=C2=A0 :group 'gud
> +=C2=A0 :version "30.0")

This should be "30.1".=C2=A0 We don't release NN.o versions o= f Emacs.

> +(defcustom gdb-locals-max-name-length 20
> +=C2=A0 "Maximum number of character to display in the local vari= ables name column."
> +=C2=A0 :type 'integer
> +=C2=A0 :group 'gud
> +=C2=A0 :version "30.0")

Likewise.

Also, please add more detailed description of what these options control. The first line of the doc string is fine, but please add more text
explaining that this setting is for displaying the variables in the "L= ocals"
buffer.

> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (propertize type 'font-lock-fa= ce font-lock-type-face)
> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (propertize name 'font-lock-fa= ce font-lock-variable-name-face)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (propertize (string-truncate-left = name gdb-locals-max-name-length)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 'font-lock-face font-lock-variable-name-face
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 'help-echo name)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (propertize (string-truncate-left = type gdb-locals-max-type-length)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 'font-lock-face font-lock-type-face
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 'help-echo type)

I'm uncomfortable with backward-incompatible change in behavior for whi= ch
there's no way of getting the old behavior.=C2=A0 So please add another= defcustom
that could be used to get the original order of type/name/value.

There also should be a NEWS entry about these new options, and the text
there should explain how to get back old behavior before these changes.
--00000000000099b18c05ef015bda-- --00000000000099b18f05ef015bdc Content-Type: text/x-patch; charset="US-ASCII"; name="0001-gdb-mi.el-Configure-variable-order-and-length.patch" Content-Disposition: attachment; filename="0001-gdb-mi.el-Configure-variable-order-and-length.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lb9ggyts0 RnJvbSBlNjUyNzZmYjkyYTFlN2E4NmQyY2U4OTQ0ODJlYWY1YzUzYjdhMzRlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBHdXN0YWYgV2FsZGVtYXJzb24gPGd1c3RhZi53YWxkZW1hcnNv bkBnbWFpbC5jb20+CkRhdGU6IFR1ZSwgMjkgTm92IDIwMjIgMjM6NDA6MjMgKzAxMDAKU3ViamVj dDogW1BBVENIXSBnZGItbWkuZWw6IENvbmZpZ3VyZSB2YXJpYWJsZSBvcmRlciBhbmQgbGVuZ3Ro LgoKVGhpcyBjaGFuZ2VzIGFsbG93cyB1c2VycyB0byBjb25maWd1cmUgdGhlIG9yZGVyIG9mIHZh cmlvdXMgcHJvcGVydGllcwphcyB3ZWxsIGFzIHRydW5jYXRpbmcgdGhlaXIgbGVuZ3RoLiBUaGUg ZnVsbCBkZXNjcmlwdGlvbiBvZiBlYWNoCnByb3BlcnR5IGlzIGF2YWlsYWJsZSBhcyBhIGhlbHAt dGV4dCAodG9vbHRpcCkuCi0tLQogZXRjL05FV1MgICAgICAgICAgICAgICAgIHwgMTcgKysrKysr KysrKysrKwogbGlzcC9wcm9nbW9kZXMvZ2RiLW1pLmVsIHwgNTMgKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKystLS0tL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IGFsaXN0KSkp CisgICAgICAgICh3aGVuIHByb3AKKyAgICAgICAgICAoaWYgKGFuZCAoPiBtYXggMCkgKGxlbmd0 aD4gcHJvcCBtYXgpKQorICAgICAgICAgICAgICAocHVzaCAocHJvcGVydGl6ZSAoc3RyaW5nLXRy dW5jYXRlLWxlZnQgcHJvcCBtYXgpICdoZWxwLWVjaG8gcHJvcCkKKyAgICAgICAgICAgICAgICAg ICAgY29sdW1ucykKKyAgICAgICAgICAgIChwdXNoIHByb3AgY29sdW1ucykpKSkpCisgICAgKG5y ZXZlcnNlIGNvbHVtbnMpKSkKKworCiA7OyBDb21wbGV4IGRhdGEgdHlwZXMgYXJlIGxvb2tlZCB1 cCBpbiBgZ2RiLWxvY2Fscy12YWx1ZXMtdGFibGUnLgogKGRlZnVuIGdkYi1sb2NhbHMtaGFuZGxl ci1jdXN0b20gKCkKICAgIkhhbmRsZXIgdG8gcmVidWlsZCB0aGUgbG9jYWwgdmFyaWFibGVzIHRh YmxlIGJ1ZmZlci4iCkBAIC00NDMxLDEyICs0NDYyLDE0IEBAIGdkYi1sb2NhbHMtaGFuZGxlci1j dXN0b20KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVscC1l Y2hvICJtb3VzZS0yOiBlZGl0IHZhbHVlIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBsb2NhbC1tYXAgLGdkYi1lZGl0LWxvY2Fscy1tYXAtMSkKICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZSkpCisgICAgICAgIChzZXRmIChnZGItdGFibGUt cmlnaHQtYWxpZ24gdGFibGUpIHQpCisgICAgICAgIChzZXRxIG5hbWUgKHByb3BlcnRpemUgbmFt ZSAnZm9udC1sb2NrLWZhY2UgZm9udC1sb2NrLXZhcmlhYmxlLW5hbWUtZmFjZSkpCisgICAgICAg IChzZXRxIHR5cGUgKHByb3BlcnRpemUgdHlwZSAnZm9udC1sb2NrLWZhY2UgZm9udC1sb2NrLXR5 cGUtZmFjZSkpCiAgICAgICAgIChnZGItdGFibGUtYWRkLXJvdwogICAgICAgICAgdGFibGUKLSAg ICAgICAgIChsaXN0Ci0gICAgICAgICAgKHByb3BlcnRpemUgdHlwZSAnZm9udC1sb2NrLWZhY2Ug Zm9udC1sb2NrLXR5cGUtZmFjZSkKLSAgICAgICAgICAocHJvcGVydGl6ZSBuYW1lICdmb250LWxv Y2stZmFjZSBmb250LWxvY2stdmFyaWFibGUtbmFtZS1mYWNlKQotICAgICAgICAgIHZhbHVlKQor ICAgICAgICAgKGdkYi1sb2NhbHMtdGFibGUtY29sdW1ucy1saXN0IGAoKG5hbWUgIC4gLG5hbWUp CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAodHlwZSAgLiAsdHlw ZSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICh2YWx1ZSAuICx2 YWx1ZSkpKQogICAgICAgICAgYChnZGItbG9jYWwtdmFyaWFibGUgLGxvY2FsKSkpKQogICAgIChp bnNlcnQgKGdkYi10YWJsZS1zdHJpbmcgdGFibGUgIiAiKSkKICAgICAoc2V0cSBtb2RlLW5hbWUK LS0gCjIuMzQuMQoK --00000000000099b18f05ef015bdc-- From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Dec 2022 17:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Gustaf Waldemarson Cc: 59730@debbugs.gnu.org Received: via spool by 59730-submit@debbugs.gnu.org id=B59730.167043546421124 (code B ref 59730); Wed, 07 Dec 2022 17:52:02 +0000 Received: (at 59730) by debbugs.gnu.org; 7 Dec 2022 17:51:04 +0000 Received: from localhost ([127.0.0.1]:51334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2yZU-0005Ue-5e for submit@debbugs.gnu.org; Wed, 07 Dec 2022 12:51:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2yZS-0005Tw-2f for 59730@debbugs.gnu.org; Wed, 07 Dec 2022 12:51:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2yZM-0003px-Mb; Wed, 07 Dec 2022 12:50:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ciLlwIlYbu9dSY29/1XpEtSxYY2UTZLOlZ67XFL3MyA=; b=Olh4X4DqmebE VAx6Lv+Y7vFO9D/XhFT1wxOsGDmIh37+c2Hc0n2NOuj9Ks4jLtOgNvQYxaMIEOm7reKjxx/pvhaXw rHTWyMJrYmdcUssn3xuYEmE+1RLkxSMs+UtpKU8d1uP1sAfJwHjH+Wdivm6Q0+L9VUbhp8Q/GXwTc Y8//WQHjNNF4944iGGLwhcGaJJL8O2SVGaqia6a19PMsM0FKdbnAwJqblln7Kdr5h8v7CBI17iVhW vnacPD4VD2Dszuaw4yaOOzzgvZg3TLHgfzEUtVvdrhQKKY7BA+RiBS1OKi8qpwmKCpn/rhHaW7Nit xqr0QhPzqBKBTdpqH7XmvQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2yZM-0003rP-5G; Wed, 07 Dec 2022 12:50:56 -0500 Date: Wed, 07 Dec 2022 19:50:44 +0200 Message-Id: <83bkof3xxn.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Gustaf Waldemarson on Sun, 4 Dec 2022 15:26:22 +0100) References: <83y1rrgmc3.fsf@gnu.org> <83fsdwcl8u.fsf@gnu.org> X-Spam-Score: -2.3 (--) 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: Gustaf Waldemarson > Date: Sun, 4 Dec 2022 15:26:22 +0100 > Cc: 59730@debbugs.gnu.org > > There I also noticed that that the `gdb-locals-value-limit' > has become redundant with this change. Unfortunately, I wasn't able to figure out how > to mark that defcustom as deprecated, is there some kind of macro that should be done > for that, or should I just remove it? I don't like making backwards-incompatible changes such as removing a user option. How about if the default value of gdb-locals-table-row-config used the value of gdb-locals-value-limit instead of a literal 100? > +** Variable order and truncation can now be configured in gdb-many-window mode. > +The new variable `gdb-locals-table-row-config' allows users to > +configure the order and max length of various properties in the local > +variables frame. ^^^^^ "frame or window", right? > +By default, this variable is set to write the properties in the order: > +name, type and value. Where name and type are truncated to 20 ^^ Our conventions are to use two spaces between sentences. > +characters, and the value is truncated to 100. > + > +In order to restore the old display behavior, set > +`gdb-locals-table-row-config' to '((type . 0)(name . 0)(value . 0)). That value is incorrect, because the value was truncated at 100, due to gdb-locals-value-limit, right? > +Additionally, this behavior encompasses the actions of the old > +`gdb-locals-value-limit' variable, which is no longer used and marked > +deprecated. I hope we won't need this paragraph. Thanks. From unknown Sat Aug 16 23:49:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59730: gdb-mi.el: Local variables reordering Resent-From: Gustaf Waldemarson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2022 18:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 59730@debbugs.gnu.org Received: via spool by 59730-submit@debbugs.gnu.org id=B59730.16705250468689 (code B ref 59730); Thu, 08 Dec 2022 18:45:02 +0000 Received: (at 59730) by debbugs.gnu.org; 8 Dec 2022 18:44:06 +0000 Received: from localhost ([127.0.0.1]:58387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3LsL-0002G5-Uz for submit@debbugs.gnu.org; Thu, 08 Dec 2022 13:44:06 -0500 Received: from mail-ej1-f51.google.com ([209.85.218.51]:43577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3LsJ-0002Fb-HD for 59730@debbugs.gnu.org; Thu, 08 Dec 2022 13:44:04 -0500 Received: by mail-ej1-f51.google.com with SMTP id kw15so6107139ejc.10 for <59730@debbugs.gnu.org>; Thu, 08 Dec 2022 10:44:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JtQyMdiLc5jZr7jRR2DnzGVIKgJiwJB/kf/FFvdOcSU=; b=HNkRcDMobzoBThTb3BK2p2+Mev6evYgrHxreDEUxbQ+dpQuFxi/KUQeNha1D6HK/K6 0a1YprBYhekI1MmwR620vclj8KhDVF3w/njSbZ04iSa7/PdJUaGipdUrzL/Lgm2RGcqF G1UK/r/deFfAIL0rbft/DimGSVGatoTUuCHurbQE1WuuEt5voTdtzLXh6b2CYTf4JNvb 41+oYjf9JkrICUQt323wAnSarbN54KT8CIWYRJP0rVdz0ATJEP2LVG+0tQdUnhmhZHBF LSMV4fcHO7Cu/fRTcEStqcC/l69Dvm/8Qt+jTjMjufHYKb70JOlwRKBVKICjmvs1GmLI VbWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JtQyMdiLc5jZr7jRR2DnzGVIKgJiwJB/kf/FFvdOcSU=; b=kBKScErF7P1+JKwJ2JwWB9tJ077LWHsYjL9UU7oCr7s/p/evNpzH5/j9GbWVsHLJ+H oHioEZZXS1hWCSyMu4n8HavBmB+caYlHROH+bmVuDtUKQpsZ/Z/IOT03cdm6vNfTCDj6 BRpCIVUAuFOPSI688bQ3bn5BDqVsLtn8p7sfr8E67xb8L1nMQnKxSxWoaAyzTZ8RdLwJ vKCI/P89OAiSRGvOzYAdFmGHpZElekIqCW6fXc3HC3ZovVC+bLj/qNQwZk4BI8uagnMT ah/2p2V8sJ4RdQVn0FubjAbAV6h2VwtRrL2DJkonbLxF8fmJuNq46HY6lzcN0+CxUq2O yCKA== X-Gm-Message-State: ANoB5pn1Tk009eVrT5+BVQ42M2XmW9w0+rIKCn7skrhrQilueWeo6Hx1 xf4sVLAJZFI8qhTOZyw25RQdD+d7iZvCkuWPe58= X-Google-Smtp-Source: AA0mqf5Q5Awzqt6HkV0Wg/NrgWO2rzevpC8xzTq8yHlIbSJQTtPJj27e3NeUWrOnxm/pZ8Z2oLE7+MhjtxCvG4BqFBU= X-Received: by 2002:a17:906:d963:b0:7c1:98f:be57 with SMTP id rp3-20020a170906d96300b007c1098fbe57mr9153898ejb.97.1670525037380; Thu, 08 Dec 2022 10:43:57 -0800 (PST) MIME-Version: 1.0 References: <83y1rrgmc3.fsf@gnu.org> <83fsdwcl8u.fsf@gnu.org> <83bkof3xxn.fsf@gnu.org> In-Reply-To: <83bkof3xxn.fsf@gnu.org> From: Gustaf Waldemarson Date: Thu, 8 Dec 2022 19:43:46 +0100 Message-ID: Content-Type: multipart/mixed; boundary="000000000000712f3905ef556b0e" X-Spam-Score: -0.0 (/) 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.0 (-) --000000000000712f3905ef556b0e Content-Type: multipart/alternative; boundary="000000000000712f3805ef556b0c" --000000000000712f3805ef556b0c Content-Type: text/plain; charset="UTF-8" > I don't like making backwards-incompatible changes such as removing a > user option. How about if the default value of > gdb-locals-table-row-config used the value of gdb-locals-value-limit > instead of a literal 100? Done > "frame or window", right? I had to do a double take on this to make sure I was using the right terminology, at least according to the Emacs GDB documentation ( https://www.gnu.org/software/emacs/manual/html_node/emacs/GDB-User-Interface-Layout.html ) it seems like it should be the "local variables buffer", so I changed the news entry to match that, hope that's alright. > Our conventions are to use two spaces between sentences. Should be fixed now as well > That value is incorrect, because the value was truncated at 100, due > to gdb-locals-value-limit, right? Indeed, that was my bad and should be fixed now > I hope we won't need this paragraph. Indeed, it is removed as requested That should be everything I think, if there's anything else, please just say so, and thanks again for the feedback! Best regards, Gustaf Den ons 7 dec. 2022 kl 18:50 skrev Eli Zaretskii : > > From: Gustaf Waldemarson > > Date: Sun, 4 Dec 2022 15:26:22 +0100 > > Cc: 59730@debbugs.gnu.org > > > > There I also noticed that that the `gdb-locals-value-limit' > > has become redundant with this change. Unfortunately, I wasn't able to > figure out how > > to mark that defcustom as deprecated, is there some kind of macro that > should be done > > for that, or should I just remove it? > > I don't like making backwards-incompatible changes such as removing a > user option. How about if the default value of > gdb-locals-table-row-config used the value of gdb-locals-value-limit > instead of a literal 100? > > > +** Variable order and truncation can now be configured in > gdb-many-window mode. > > +The new variable `gdb-locals-table-row-config' allows users to > > +configure the order and max length of various properties in the local > > +variables frame. > ^^^^^ > "frame or window", right? > > > +By default, this variable is set to write the properties in the order: > > +name, type and value. Where name and type are truncated to 20 > ^^ > Our conventions are to use two spaces between sentences. > > > +characters, and the value is truncated to 100. > > + > > +In order to restore the old display behavior, set > > +`gdb-locals-table-row-config' to '((type . 0)(name . 0)(value . 0)). > > That value is incorrect, because the value was truncated at 100, due > to gdb-locals-value-limit, right? > > > +Additionally, this behavior encompasses the actions of the old > > +`gdb-locals-value-limit' variable, which is no longer used and marked > > +deprecated. > > I hope we won't need this paragraph. > > Thanks. > --000000000000712f3805ef556b0c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> I don't like making backwards-incompatible c= hanges such as removing a
> user option.=C2=A0 How about if the defau= lt value of
> gdb-locals-table-row-config used the value of gdb-locals-value-limit > instead of a literal 100?

Done

=
>=C2=A0 "frame or window", right?

I had to do a double take on this to make sure I was using the righ= t terminology,
at least according to the Emacs GDB documentation<= br>








Gustaf

Den ons 7 dec. 2022 kl 18:50 skrev Eli Zaretskii <eliz@gnu.org>:
> From: Gustaf Wald= emarson <gustaf.waldemarson@gmail.com>
> Date: Sun, 4 Dec 2022 15:26:22 +0100
> Cc: 59730@d= ebbugs.gnu.org
>
> There I also noticed that that the `gdb-locals-value-limit'
> has become redundant with this change. Unfortunately, I wasn't abl= e to figure out how
> to mark that defcustom as deprecated, is there some kind of macro that= should be done
> for that, or should I just remove it?

I don't like making backwards-incompatible changes such as removing a user option.=C2=A0 How about if the default value of
gdb-locals-table-row-config used the value of gdb-locals-value-limit
instead of a literal 100?

> +** Variable order and truncation can now be configured in gdb-many-wi= ndow mode.
> +The new variable `gdb-locals-table-row-config' allows users to > +configure the order and max length of various properties in the local=
> +variables frame.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^
"frame or window", right?

> +By default, this variable is set to write the properties in the order= :
> +name, type and value. Where name and type are truncated to 20
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0^^
Our conventions are to use two spaces between sentences.

> +characters, and the value is truncated to 100.
> +
> +In order to restore the old display behavior, set
> +`gdb-locals-table-row-config' to '((type . 0)(name . 0)(value= . 0)).

That value is incorrect, because the value was truncated at 100, due
to gdb-locals-value-limit, right?

> +Additionally, this behavior encompasses the actions of the old
> +`gdb-locals-value-limit' variable, which is no longer used and ma= rked
> +deprecated.

I hope we won't need this paragraph.

Thanks.
--000000000000712f3805ef556b0c-- --000000000000712f3905ef556b0e Content-Type: application/x-patch; name="0001-gdb-mi.el-Configure-variable-order-and-length.patch" Content-Disposition: attachment; filename="0001-gdb-mi.el-Configure-variable-order-and-length.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lbfdpael0 RnJvbSA2MDdjNzQxNWU1NzhmYzg5N2VmMmNiYmQ4NzIwZTYzNjkxYjgzNjVmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBHdXN0YWYgV2FsZGVtYXJzb24gPGd1c3RhZi53YWxkZW1hcnNv bkBnbWFpbC5jb20+CkRhdGU6IFR1ZSwgMjkgTm92IDIwMjIgMjM6NDA6MjMgKzAxMDAKU3ViamVj dDogW1BBVENIXSBnZGItbWkuZWw6IENvbmZpZ3VyZSB2YXJpYWJsZSBvcmRlciBhbmQgbGVuZ3Ro LgoKVGhpcyBjaGFuZ2VzIGFsbG93cyB1c2VycyB0byBjb25maWd1cmUgdGhlIG9yZGVyIG9mIHZh cmlvdXMgcHJvcGVydGllcwphcyB3ZWxsIGFzIHRydW5jYXRpbmcgdGhlaXIgbGVuZ3RoLiAgVGhl IGZ1bGwgZGVzY3JpcHRpb24gb2YgZWFjaApwcm9wZXJ0eSBpcyBhdmFpbGFibGUgYXMgYSBoZWxw LXRleHQgKHRvb2x0aXApLgotLS0KIGV0Yy9ORVdTICAgICAgICAgICAgICAgICB8IDE0ICsrKysr KysrKysrCiBsaXNwL3Byb2dtb2Rlcy9nZGItbWkuZWwgfCA1MyArKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKy0tLS0tLS0tCiAyIGZpbGVzIGNoYW5nZWQsIDU3IGluc2VydGlvbnMoKyks IDEwIGR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ldCogKChuby1ubCAocmVwbGFjZS1yZWdleHAtaW4tc3Ry aW5nICJcbiIgIiAiIChvciB2YWx1ZSAiPFVua25vd24+IikpKQorICAgICAgICAgKHN0ciAocmVw bGFjZS1yZWdleHAtaW4tc3RyaW5nICJbWzpzcGFjZTpdXSsiICIgIiBuby1ubCkpKQorICAgIHN0 cikpCiAKIChkZWZ1biBnZGItZWRpdC1sb2NhbHMtdmFsdWUgKCZvcHRpb25hbCBldmVudCkKICAg IkFzc2lnbiBhIHZhbHVlIHRvIGEgdmFyaWFibGUgZGlzcGxheWVkIGluIHRoZSBsb2NhbHMgYnVm ZmVyLiIKQEAgLTQ0MDMsNiArNDQxOCwyMiBAQCBnZGItZWRpdC1sb2NhbHMtdmFsdWUKICAgICAg IChndWQtYmFzaWMtY2FsbAogICAgICAgIChjb25jYXQgICItZ2RiLXNldCB2YXJpYWJsZSAiIHZh ciAiID0gIiB2YWx1ZSkpKSkpCiAKKworKGRlZnVuIGdkYi1sb2NhbHMtdGFibGUtY29sdW1ucy1s aXN0IChhbGlzdCkKKyAgIkZvcm1hdCBhbmQgYXJyYW5nZSB0aGUgY29sdW1ucyBpbiBsb2NhbHMg ZGlzcGxheSBiYXNlZCBvbiBBTElTVC4iCisgIChsZXQgKGNvbHVtbnMpCisgICAgKGRvbGlzdCAo Y29uZmlnIGdkYi1sb2NhbHMtdGFibGUtcm93LWNvbmZpZyBjb2x1bW5zKQorICAgICAgKGxldCog KChrZXkgIChjYXIgY29uZmlnKSkKKyAgICAgICAgICAgICAobWF4ICAoY2RyIGNvbmZpZykpCisg ICAgICAgICAgICAgKHByb3AgKGFsaXN0LWdldCBrZXkgYWxpc3QpKSkKKyAgICAgICAgKHdoZW4g cHJvcAorICAgICAgICAgIChpZiAoYW5kICg+IG1heCAwKSAobGVuZ3RoPiBwcm9wIG1heCkpCisg ICAgICAgICAgICAgIChwdXNoIChwcm9wZXJ0aXplIChzdHJpbmctdHJ1bmNhdGUtbGVmdCBwcm9w IG1heCkgJ2hlbHAtZWNobyBwcm9wKQorICAgICAgICAgICAgICAgICAgICBjb2x1bW5zKQorICAg ICAgICAgICAgKHB1c2ggcHJvcCBjb2x1bW5zKSkpKSkKKyAgICAobnJldmVyc2UgY29sdW1ucykp KQorCisKIDs7IENvbXBsZXggZGF0YSB0eXBlcyBhcmUgbG9va2VkIHVwIGluIGBnZGItbG9jYWxz LXZhbHVlcy10YWJsZScuCiAoZGVmdW4gZ2RiLWxvY2Fscy1oYW5kbGVyLWN1c3RvbSAoKQogICAi SGFuZGxlciB0byByZWJ1aWxkIHRoZSBsb2NhbCB2YXJpYWJsZXMgdGFibGUgYnVmZmVyLiIKQEAg LTQ0MzEsMTIgKzQ0NjIsMTQgQEAgZ2RiLWxvY2Fscy1oYW5kbGVyLWN1c3RvbQogICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZWxwLWVjaG8gIm1vdXNlLTI6IGVk aXQgdmFsdWUiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxv Y2FsLW1hcCAsZ2RiLWVkaXQtbG9jYWxzLW1hcC0xKQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIHZhbHVlKSkKKyAgICAgICAgKHNldGYgKGdkYi10YWJsZS1yaWdodC1hbGlnbiB0YWJs ZSkgdCkKKyAgICAgICAgKHNldHEgbmFtZSAocHJvcGVydGl6ZSBuYW1lICdmb250LWxvY2stZmFj ZSBmb250LWxvY2stdmFyaWFibGUtbmFtZS1mYWNlKSkKKyAgICAgICAgKHNldHEgdHlwZSAocHJv cGVydGl6ZSB0eXBlICdmb250LWxvY2stZmFjZSBmb250LWxvY2stdHlwZS1mYWNlKSkKICAgICAg ICAgKGdkYi10YWJsZS1hZGQtcm93CiAgICAgICAgICB0YWJsZQotICAgICAgICAgKGxpc3QKLSAg ICAgICAgICAocHJvcGVydGl6ZSB0eXBlICdmb250LWxvY2stZmFjZSBmb250LWxvY2stdHlwZS1m YWNlKQotICAgICAgICAgIChwcm9wZXJ0aXplIG5hbWUgJ2ZvbnQtbG9jay1mYWNlIGZvbnQtbG9j ay12YXJpYWJsZS1uYW1lLWZhY2UpCi0gICAgICAgICAgdmFsdWUpCisgICAgICAgICAoZ2RiLWxv Y2Fscy10YWJsZS1jb2x1bW5zLWxpc3QgYCgobmFtZSAgLiAsbmFtZSkKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICh0eXBlICAuICx0eXBlKQorICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHZhbHVlIC4gLHZhbHVlKSkpCiAgICAgICAg ICBgKGdkYi1sb2NhbC12YXJpYWJsZSAsbG9jYWwpKSkpCiAgICAgKGluc2VydCAoZ2RiLXRhYmxl LXN0cmluZyB0YWJsZSAiICIpKQogICAgIChzZXRxIG1vZGUtbmFtZQotLSAKMi4zNC4xCgo= --000000000000712f3905ef556b0e-- From unknown Sat Aug 16 23:49:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Gustaf Waldemarson Subject: bug#59730: closed (Re: bug#59730: gdb-mi.el: Local variables reordering) Message-ID: References: <83zgbvwfo5.fsf@gnu.org> X-Gnu-PR-Message: they-closed 59730 X-Gnu-PR-Package: emacs Reply-To: 59730@debbugs.gnu.org Date: Sat, 10 Dec 2022 13:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1670679003-18302-1" This is a multi-part message in MIME format... ------------=_1670679003-18302-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #59730: gdb-mi.el: Local variables reordering which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 59730@debbugs.gnu.org. --=20 59730: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59730 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1670679003-18302-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 59730-done) by debbugs.gnu.org; 10 Dec 2022 13:29:30 +0000 Received: from localhost ([127.0.0.1]:42766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3zv0-0004kZ-5J for submit@debbugs.gnu.org; Sat, 10 Dec 2022 08:29:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3zuv-0004kS-Dx for 59730-done@debbugs.gnu.org; Sat, 10 Dec 2022 08:29:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3zup-0001py-Ot; Sat, 10 Dec 2022 08:29:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=4Vo9DF9KQMqb0YYgaNz2QMMcnZPS9X9voRzEDtnwGhU=; b=qUD26SjzCCfK Icvd70D5blmK91PFkyHYjugct5b2Wj2pCmu9+Jz9xWxgvf/PGi+J9Blmck9waUsqE2NtJ11tCWHcN 1j1fyX2Cu7Xwkdxp076NDJ0v3s0O390cgZkB/qUn4jV7lG3hIsrqEJU9TJRs8s0HBPf0YIeiZ9RVr wKkkh/jE74e+WmMwzk21vgssZIHxW7qlJaRJnaZlqoIC0w/TWt0BV3LCkf00Fjw5w7FfXwP/WG2Up kVqbrc5VMG9ATDW2nHH8Q/YP1Evefu4fgrMVT6g90lIcSJcYQjqC7KiLaTS/OEO5jK/Z0/67Y2TDD VlXH9Jdd04fGwgxHyhIcPA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3zup-0005Jr-3m; Sat, 10 Dec 2022 08:29:19 -0500 Date: Sat, 10 Dec 2022 15:29:14 +0200 Message-Id: <83zgbvwfo5.fsf@gnu.org> From: Eli Zaretskii To: Gustaf Waldemarson In-Reply-To: (message from Gustaf Waldemarson on Thu, 8 Dec 2022 19:43:46 +0100) Subject: Re: bug#59730: gdb-mi.el: Local variables reordering References: <83y1rrgmc3.fsf@gnu.org> <83fsdwcl8u.fsf@gnu.org> <83bkof3xxn.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59730-done Cc: 59730-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: Gustaf Waldemarson > Date: Thu, 8 Dec 2022 19:43:46 +0100 > Cc: 59730@debbugs.gnu.org > > > I don't like making backwards-incompatible changes such as removing a > > user option. How about if the default value of > > gdb-locals-table-row-config used the value of gdb-locals-value-limit > > instead of a literal 100? > > Done > > > "frame or window", right? > > I had to do a double take on this to make sure I was using the right terminology, > at least according to the Emacs GDB documentation > (https://www.gnu.org/software/emacs/manual/html_node/emacs/GDB-User-Interface-Layout.html) > it seems like it should be the "local variables buffer", so I changed the news entry > to match that, hope that's alright. > > > Our conventions are to use two spaces between sentences. > > Should be fixed now as well > > > That value is incorrect, because the value was truncated at 100, due > > to gdb-locals-value-limit, right? > > Indeed, that was my bad and should be fixed now > > > I hope we won't need this paragraph. > > Indeed, it is removed as requested > > That should be everything I think, if there's anything else, please just say so, > and thanks again for the feedback! Thanks, I installed the changes on the master branch. In the future please accompany the changes with a ChangeLog-style description of actual changes in the changeset; see CONTRIBUTE for the details and "git log" for examples. ------------=_1670679003-18302-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Nov 2022 22:09:39 +0000 Received: from localhost ([127.0.0.1]:35393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0VGr-0004be-Gg for submit@debbugs.gnu.org; Wed, 30 Nov 2022 17:09:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:54920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0VGm-0004bY-94 for submit@debbugs.gnu.org; Wed, 30 Nov 2022 17:09:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0VGm-0002uk-1D for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 17:09:32 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0VGh-0002B6-T7 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 17:09:31 -0500 Received: by mail-ed1-x535.google.com with SMTP id r26so23808142edc.10 for ; Wed, 30 Nov 2022 14:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=kEdxe/Fwt2e2mQkPHZ3mTltyzHRmls5QTARax5NMlU8=; b=hFL/5KiRDkQ81sH2dp3cVRTYmR0gjnP7mE8RbKWtS+ZuaY3OO0XuGDwtTONRYhnd99 Q7kMs+80No7sbfYTbxe0ZHyQ16GyCApeup7nNJJQ2m2yzPRuiOBvFQ32eO8txY72Vyxg cPJOKO+wUiHf/SxcPXfmUQlThuikyHKF24Y/qgFLpHXdkosGxQfQfRq8sfa6Px3jNaUe mQiAoCTfESPUkIle+e/XU6QvEMHWIKsQl+0mr4KpmWzEq8XbN9hZGx2E6Muip80WWmF+ K1aoHVrCel7Th93WGW9w1aYBPZXtZuZA0kqmOP3FKihfo8oNR5fW7mB9PZFQmrRtNSrv IcDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kEdxe/Fwt2e2mQkPHZ3mTltyzHRmls5QTARax5NMlU8=; b=gu1EfQVlJgEDFfueAbiz+MmZLDdxqLqJDk7p9U+mJyZHEQDkSM9b+vUJ2TQuhkyAr9 jWZ+whuQXgotr/09jc/ca8N27RM6qhcgdow3T9nqpoxbasUvcgqQAMdFKsoh/fc1/mKj xoI/louqOnrbF/gxqCvaaM/aZe25ExvaZn4qqEuByw/PDpn1iZN/4bsX2/gESCdYm2dC RL6lAjavLmc5tQcRd2KDqnN0cRUqJVFxR7/sqD24hB35+nkUbTONVktS0Ak3e973Zadk VWSt1HsBGBC6bqp7Ndk2bmGI5dhXMbTORfw8J6CSUZ/xLewTFC1zFpbqYCBv/1bBh9tX 6xzA== X-Gm-Message-State: ANoB5plwM6CXt4/sSp398l3zMLs1de4Q8p3PxIFKPAIkGLB1nZJ8z/Fx Yk4hqqhmji7W5RctYK+Y/jLOIdp6GuVtJ6U76i35WXgpNLQ= X-Google-Smtp-Source: AA0mqf7zeUPX6eLR3sUZCgV54SxCbuwQ110BsD106Fi5YyVCuv0JYoZfzZ9hghc6HpseKgFswjnKbjugXD1XBiRspig= X-Received: by 2002:aa7:c690:0:b0:46a:e2b8:1be9 with SMTP id n16-20020aa7c690000000b0046ae2b81be9mr21617584edq.182.1669846165878; Wed, 30 Nov 2022 14:09:25 -0800 (PST) MIME-Version: 1.0 From: Gustaf Waldemarson Date: Wed, 30 Nov 2022 23:09:14 +0100 Message-ID: Subject: gdb-mi.el: Local variables reordering To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary="0000000000008c13a205eeb75bdc" Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=gustaf.waldemarson@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 (--) --0000000000008c13a205eeb75bdc Content-Type: multipart/alternative; boundary="0000000000008c13a005eeb75bda" --0000000000008c13a005eeb75bda Content-Type: text/plain; charset="UTF-8" Hello, After about 3 years, I finally spent some time to actually change the order of local variables as I had originally suggest in an old feature (bug#34589). In summary, this patch does this: In gdb-mi.el mode, for local C/C++ variables that were previously written out: - | type | name | value| Now write them out as: - | name | type | value | Additionally, cap the string length of the name and type to `gdb-locals-max-name-length` and `gdb-locals-max-type-length` respectively (new custom variables with a default set to 20). I also changed the table to always left-align the values when we're printing the locals. Turns out it was really easy to fix, but I may have missed some subtleties, so feel free to give it a look or start a discussion whether this is a good idea or not. I personally prefer it this way since it is much easier and faster to see the values of individual variables, especially when the type-info get very long. Best regards, Gustaf In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-11-30 built on ShadowX Repository revision: ec759e82b39f6ee54e9187acc9525cd65d704c59 Repository branch: master System Description: Ubuntu 22.04.1 LTS Configured using: 'configure --prefix=/home/xaldew/.local '--program-transform-name=s/^ctags$/ctags.emacs/' --without-makeinfo --with-xpm=ifavailable --with-jpeg=ifavailable --with-gif=ifavailable --with-tiff=ifavailable' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: sv_SE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C++//l Minor modes in effect: lsp-diagnostics-mode: t lsp-headerline-breadcrumb-mode: t lsp-modeline-workspace-status-mode: t lsp-modeline-diagnostics-mode: t lsp-modeline-code-actions-mode: t dap-tooltip-mode: t dap-ui-many-windows-mode: t dap-ui-controls-mode: t dap-ui-mode: t gdb-many-windows: t beacon-mode: t modern-c++-font-lock-mode: t lsp-completion-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: t treemacs-fringe-indicator-mode: t dap-auto-configure-mode: t dap-mode: t flyspell-mode: t whitespace-mode: t rainbow-delimiters-mode: t hes-mode: t projectile-mode: t lsp-ui-mode: t lsp-ui-sideline-mode: t flycheck-mode: t lsp-managed-mode: t lsp-mode: t yas-global-mode: t yas-minor-mode: t global-company-mode: t company-mode: t global-undo-tree-mode: t undo-tree-mode: t global-anzu-mode: t anzu-mode: t perspeen-mode: t windmove-mode: t which-key-mode: t anyclip-mode: t override-global-mode: t cwarn-mode: t electric-pair-mode: t save-place-mode: t global-subword-mode: t subword-mode: t winner-mode: t global-auto-revert-mode: t xterm-mouse-mode: t savehist-mode: t ido-everywhere: t gud-tooltip-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t auto-fill-function: yas--auto-fill transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: /home/xaldew/.config/emacs/elpa/transient-20221130.1823/transient hides /home/xaldew/.local/share/emacs/30.0.50/lisp/transient Features: (shadow sort bbdb-message guess-language mail-extr warnings emacsbug message yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils display-line-numbers server pinentry files-x lsp-diagnostics lsp-headerline lsp-icons lsp-modeline dap-mouse dap-ui gdb-mi bui bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils lsp-lens beacon vc-git diff-mode vc-dispatcher modern-cpp-font-lock .yas-setup.el cc-mode/.yas-setup.el view lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-ruby-syntax-tree lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-volar lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3 lsp-toml lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-remark lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-pls lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-magik lsp-nix lsp-nim lsp-nginx lsp-mint lsp-marksman lsp-markdown lsp-lua lsp-ltex lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-gleam lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp gnutls lsp-crystal lsp-cmake lsp-clojure lsp-treemacs lsp-treemacs-generic lsp-treemacs-themes treemacs-treelib treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-interface treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-annotations treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture hl-line treemacs-logging treemacs-customization treemacs-macros lsp-semantic-tokens lsp-clangd lsp-beancount lsp-bash lsp-astro lsp-ansible lsp-angular lsp-ada lsp-actionscript dap-gdb-lldb dap-utils dom xml dap-mode dap-tasks dap-launch lsp-docker yaml posframe dap-overlays term/tmux term/xterm xterm form-feed paredit nameless flyspell ispell whitespace rainbow-delimiters highlight-escape-sequences projectile lisp-mnt grep ibuf-ext ibuffer ibuffer-loaddefs lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck lsp-mode tree-widget spinner network-stream puny nsm markdown-mode noutline outline inline imenu f f-shortdoc shortdoc ewoc epg rfc6068 epg-config compile text-property-search lsp-ui-util face-remap find-func lsp-protocol s ht dash py-snippets yasnippet-radical-snippets yasnippet-snippets yasnippet company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company undo-tree diff queue anzu thingatpt atomic-chrome websocket bindat let-alist color-theme-approximate perspeen perspeen-tab powerline advice powerline-separators color powerline-themes delim-col hydra-examples windmove rect hydra lv bbdb bbdb-site timezone cus-edit pp cus-load icons wid-edit ace-link avy pcase which-key anyclip-mode cl-extra help-mode edmacro kmacro diminish use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf local-autoloads cwarn cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs elec-pair saveplace cap-words superword subword winner autorevert filenotify xt-mouse tango-dark-theme savehist ido gud comint ansi-osc ansi-color ring keybinds terminals ace-link-autoloads unfill-autoloads company-auctex-autoloads gl-conf-mode-autoloads spacemacs-theme-autoloads css-eldoc-autoloads beacon-autoloads emms-autoloads paredit-autoloads glsl-mode-autoloads highlight-escape-sequences-autoloads evil-autoloads powershell-autoloads gnuplot-mode-autoloads cuda-mode-autoloads ein-autoloads debbugs-autoloads ssh-config-mode-autoloads gnuplot-autoloads perspeen-autoloads cider-autoloads sesman-autoloads clojure-mode-autoloads dart-mode-autoloads sublime-themes-autoloads coffee-mode-autoloads opencl-mode-autoloads json-mode-autoloads rx company-anaconda-autoloads pinentry-autoloads rainbow-mode-autoloads htmlize-autoloads flycheck-rust-autoloads kotlin-mode-autoloads lsp-ltex-autoloads bbdb-vcard-autoloads ebdb-autoloads projectile-autoloads jira-markup-mode-autoloads browse-kill-ring-autoloads slime-autoloads macrostep-autoloads helm-dash-autoloads dap-mode-autoloads lsp-docker-autoloads yaml-autoloads lsp-treemacs-autoloads treemacs-autoloads cfrs-autoloads pfuture-autoloads bui-autoloads sx-autoloads jenkins-autoloads smart-jump-autoloads bbdb-autoloads parseedn-autoloads delight-autoloads anzu-autoloads x86-lookup-autoloads undo-tree-autoloads queue-autoloads langtool-autoloads parseclj-autoloads plantuml-mode-autoloads git-modes-autoloads ace-window-autoloads go-mode-autoloads powerline-autoloads lsp-ui-autoloads deferred-autoloads iedit-autoloads csv-mode-autoloads srefactor-autoloads abc-mode-autoloads autoinsert atomic-chrome-autoloads solarized-theme-autoloads anaconda-mode-autoloads web-mode-autoloads flycheck-kotlin-autoloads lua-mode-autoloads nov-autoloads dash-docs-autoloads rainbow-delimiters-autoloads form-feed-autoloads yasnippet-radical-snippets-autoloads cmake-mode-autoloads powerthesaurus-autoloads request-autoloads pyimport-autoloads shut-up-autoloads json-snatcher-autoloads helm-lsp-autoloads lsp-mode-autoloads spinner-autoloads ht-autoloads cargo-autoloads clang-format-autoloads toml-mode-autoloads diminish-autoloads websocket-autoloads yasnippet-snippets-autoloads nameless-autoloads cdlatex-autoloads eclim-autoloads anaphora-autoloads rust-mode-autoloads py-snippets-autoloads magit-gerrit-autoloads rmsbolt-autoloads magit-svn-autoloads pythonic-autoloads company-quickhelp-autoloads magit-annex-autoloads goto-chg-autoloads poly-markdown-autoloads markdown-mode-autoloads polymode-autoloads alert-autoloads gntp-autoloads log4e-autoloads color-theme-approximate-autoloads use-package-autoloads bind-key-autoloads calfw-autoloads graphviz-dot-mode-autoloads flycheck-package-autoloads package-lint-autoloads flycheck-autoloads pkg-info-autoloads epl-autoloads ecb-autoloads avy-autoloads modern-cpp-font-lock-autoloads dts-mode-autoloads zenburn-theme-autoloads yaml-mode-autoloads esxml-autoloads kv-autoloads elpy-autoloads pyvenv-autoloads highlight-indentation-autoloads ob-ipython-autoloads f-autoloads dash-functional-autoloads hydra-autoloads lv-autoloads auto-complete-auctex-autoloads auto-complete-autoloads yasnippet-autoloads auctex-latexmk-autoloads auctex-autoloads tex-site ahk-mode-autoloads magit-autoloads magit-section-autoloads git-commit-autoloads with-editor-autoloads transient-autoloads compat-autoloads cask-mode-autoloads company-c-headers-autoloads pos-tip-autoloads zerodark-theme-autoloads all-the-icons-autoloads image+-autoloads expand-region-autoloads gnus-desktop-notify-autoloads helm-autoloads helm-core-autoloads async-autoloads ggtags-autoloads mmm-mode-autoloads posframe-autoloads company-math-autoloads math-symbol-lists-autoloads company-autoloads ivy-autoloads uimage-autoloads guess-language-autoloads dumb-jump-autoloads popup-autoloads info dash-autoloads s-autoloads google-c-style-autoloads which-key-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 465686 22927) (symbols 48 41605 1) (strings 32 144416 7236) (string-bytes 1 5047896) (vectors 16 74684) (vector-slots 8 1033911 12667) (floats 8 419 1011) (intervals 56 2262 292) (buffers 984 17)) --0000000000008c13a005eeb75bda Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

After about 3 years, I finally s= pent some time to actually change the order of local variables as I had ori= ginally suggest in an old feature (bug#34589).

In= summary, this patch does this: In gdb-mi.el mode, for local C/C++ variable= s that were previously written out:

- | type | nam= e | value|

Now write them out as:
- | name | type | value |

Additionall= y, cap the string length of the name and type to `gdb-locals-max-name-lengt= h` and `gdb-locals-max-type-length` respectively (new custom variables with= a default set to 20). I also changed the table to always left-align the va= lues when we're printing the locals.

Turns= out it was really easy to fix, but I may have missed some subtleties, so f= eel free to give it a look or start a discussion whether this is a good ide= a or not. I personally prefer it this way since it is much easier and faste= r to see the values of individual variables, especially when the type-info = get very long.

Best regards,
Gustaf<= br>

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux= -gnu, GTK+ Version
=C2=A03.24.33, cairo version 1.16.0) of 2022-11-30 bu= ilt on ShadowX
Repository revision: ec759e82b39f6ee54e9187acc9525cd65d70= 4c59
Repository branch: master
System Description: Ubuntu 22.04.1 LTS=

Configured using:
=C2=A0'configure --prefix=3D/home/xaldew/.= local
=C2=A0'--program-transform-name=3Ds/^ctags$/ctags.emacs/' = --without-makeinfo
=C2=A0--with-xpm=3Difavailable --with-jpeg=3Difavaila= ble --with-gif=3Difavailable
=C2=A0--with-tiff=3Difavailable'
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS = HARFBUZZ JPEG LCMS2
LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PN= G RSVG SECCOMP SOUND
THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM = XINPUT2 XPM GTK3 ZLIB

Important settings:
=C2=A0 value of $LANG: = sv_SE.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-cod= ing-system: utf-8-unix

Major mode: C++//l

Minor modes in effe= ct:
=C2=A0 lsp-diagnostics-mode: t
=C2=A0 lsp-headerline-breadcrumb-m= ode: t
=C2=A0 lsp-modeline-workspace-status-mode: t
=C2=A0 lsp-modeli= ne-diagnostics-mode: t
=C2=A0 lsp-modeline-code-actions-mode: t
=C2= =A0 dap-tooltip-mode: t
=C2=A0 dap-ui-many-windows-mode: t
=C2=A0 dap= -ui-controls-mode: t
=C2=A0 dap-ui-mode: t
=C2=A0 gdb-many-windows: t=
=C2=A0 beacon-mode: t
=C2=A0 modern-c++-font-lock-mode: t
=C2=A0 = lsp-completion-mode: t
=C2=A0 treemacs-filewatch-mode: t
=C2=A0 treem= acs-follow-mode: t
=C2=A0 treemacs-git-mode: t
=C2=A0 treemacs-fringe= -indicator-mode: t
=C2=A0 dap-auto-configure-mode: t
=C2=A0 dap-mode:= t
=C2=A0 flyspell-mode: t
=C2=A0 whitespace-mode: t
=C2=A0 rainbo= w-delimiters-mode: t
=C2=A0 hes-mode: t
=C2=A0 projectile-mode: t
= =C2=A0 lsp-ui-mode: t
=C2=A0 lsp-ui-sideline-mode: t
=C2=A0 flycheck-= mode: t
=C2=A0 lsp-managed-mode: t
=C2=A0 lsp-mode: t
=C2=A0 yas-g= lobal-mode: t
=C2=A0 yas-minor-mode: t
=C2=A0 global-company-mode: t<= br>=C2=A0 company-mode: t
=C2=A0 global-undo-tree-mode: t
=C2=A0 undo= -tree-mode: t
=C2=A0 global-anzu-mode: t
=C2=A0 anzu-mode: t
=C2= =A0 perspeen-mode: t
=C2=A0 windmove-mode: t
=C2=A0 which-key-mode: t=
=C2=A0 anyclip-mode: t
=C2=A0 override-global-mode: t
=C2=A0 cwar= n-mode: t
=C2=A0 electric-pair-mode: t
=C2=A0 save-place-mode: t
= =C2=A0 global-subword-mode: t
=C2=A0 subword-mode: t
=C2=A0 winner-mo= de: t
=C2=A0 global-auto-revert-mode: t
=C2=A0 xterm-mouse-mode: t=C2=A0 savehist-mode: t
=C2=A0 ido-everywhere: t
=C2=A0 gud-tooltip-= mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 = eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: = t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 file-n= ame-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-m= ode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-number-mode: t
=C2= =A0 auto-fill-function: yas--auto-fill
=C2=A0 transient-mark-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 abbrev-mode: t

Load-path shadows= :
/home/xaldew/.config/emacs/elpa/transient-20221130.1823/transient hide= s /home/xaldew/.local/share/emacs/30.0.50/lisp/transient

Features:(shadow sort bbdb-message guess-language mail-extr warnings emacsbug
m= essage yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived
gn= us-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231
maila= bbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util m= ail-prsvr mail-utils display-line-numbers server pinentry
files-x lsp-di= agnostics lsp-headerline lsp-icons lsp-modeline dap-mouse
dap-ui gdb-mi = bui bui-list bui-info bui-entry bui-core bui-history
bui-button bui-util= s lsp-lens beacon vc-git diff-mode vc-dispatcher
modern-cpp-font-lock .y= as-setup.el cc-mode/.yas-setup.el view lsp-zig
lsp-steep lsp-svelte lsp-= sqls lsp-ruby-syntax-tree lsp-yaml lsp-xml
lsp-vimscript lsp-vhdl lsp-vo= lar lsp-vetur lsp-html lsp-verilog lsp-vala
lsp-v lsp-typeprof lsp-ttcn3= lsp-toml lsp-terraform lsp-tex lsp-sorbet
lsp-solargraph lsp-rust lsp-r= f lsp-remark lsp-racket lsp-r
lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh= lsp-php lsp-pls
lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-m= agik lsp-nix
lsp-nim lsp-nginx lsp-mint lsp-marksman lsp-markdown lsp-lu= a lsp-ltex
lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-gro= ovy
lsp-hack lsp-graphql lsp-gleam lsp-go lsp-completion lsp-gdscriptlsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elixir
lsp-e= lm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp gnutls
lsp-crystal = lsp-cmake lsp-clojure lsp-treemacs lsp-treemacs-generic
lsp-treemacs-the= mes treemacs-treelib treemacs treemacs-header-line
treemacs-compatibilit= y treemacs-mode treemacs-interface
treemacs-persistence treemacs-filewat= ch-mode treemacs-follow-mode
treemacs-rendering treemacs-annotations tre= emacs-async
treemacs-workspaces treemacs-dom treemacs-visuals
treemac= s-fringe-indicator treemacs-scope pulse treemacs-faces
treemacs-icons tr= eemacs-themes treemacs-core-utils pfuture hl-line
treemacs-logging treem= acs-customization treemacs-macros
lsp-semantic-tokens lsp-clangd lsp-bea= ncount lsp-bash lsp-astro
lsp-ansible lsp-angular lsp-ada lsp-actionscri= pt dap-gdb-lldb dap-utils
dom xml dap-mode dap-tasks dap-launch lsp-dock= er yaml posframe
dap-overlays term/tmux term/xterm xterm form-feed pared= it nameless
flyspell ispell whitespace rainbow-delimiters highlight-esca= pe-sequences
projectile lisp-mnt grep ibuf-ext ibuffer ibuffer-loaddefs = lsp-ui
lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek
= lsp-ui-sideline flycheck lsp-mode tree-widget spinner network-stream
pun= y nsm markdown-mode noutline outline inline imenu f f-shortdoc
shortdoc = ewoc epg rfc6068 epg-config compile text-property-search
lsp-ui-util fac= e-remap find-func lsp-protocol s ht dash py-snippets
yasnippet-radical-s= nippets yasnippet-snippets yasnippet company-oddmuse
company-keywords co= mpany-etags etags fileloop generator xref project
company-gtags company-= dabbrev-code company-dabbrev company-files
company-clang company-capf co= mpany-cmake company-semantic
company-template company-bbdb company undo-= tree diff queue anzu
thingatpt atomic-chrome websocket bindat let-alist<= br>color-theme-approximate perspeen perspeen-tab powerline advice
powerl= ine-separators color powerline-themes delim-col hydra-examples
windmove = rect hydra lv bbdb bbdb-site timezone cus-edit pp cus-load
icons wid-edi= t ace-link avy pcase which-key anyclip-mode cl-extra
help-mode edmacro k= macro diminish use-package use-package-ensure
use-package-delight use-pa= ckage-diminish use-package-bind-key bind-key
easy-mmode use-package-core= finder-inf local-autoloads cwarn cc-mode
cc-fonts cc-guess cc-menus cc-= cmds cc-styles cc-align cc-engine cc-vars
cc-defs elec-pair saveplace ca= p-words superword subword winner
autorevert filenotify xt-mouse tango-da= rk-theme savehist ido gud comint
ansi-osc ansi-color ring keybinds termi= nals ace-link-autoloads
unfill-autoloads company-auctex-autoloads gl-con= f-mode-autoloads
spacemacs-theme-autoloads css-eldoc-autoloads beacon-au= toloads
emms-autoloads paredit-autoloads glsl-mode-autoloads
highligh= t-escape-sequences-autoloads evil-autoloads powershell-autoloads
gnuplot= -mode-autoloads cuda-mode-autoloads ein-autoloads
debbugs-autoloads ssh-= config-mode-autoloads gnuplot-autoloads
perspeen-autoloads cider-autoloa= ds sesman-autoloads
clojure-mode-autoloads dart-mode-autoloads sublime-t= hemes-autoloads
coffee-mode-autoloads opencl-mode-autoloads json-mode-au= toloads rx
company-anaconda-autoloads pinentry-autoloads rainbow-mode-au= toloads
htmlize-autoloads flycheck-rust-autoloads kotlin-mode-autoloads<= br>lsp-ltex-autoloads bbdb-vcard-autoloads ebdb-autoloads
projectile-aut= oloads jira-markup-mode-autoloads
browse-kill-ring-autoloads slime-autol= oads macrostep-autoloads
helm-dash-autoloads dap-mode-autoloads lsp-dock= er-autoloads
yaml-autoloads lsp-treemacs-autoloads treemacs-autoloads cf= rs-autoloads
pfuture-autoloads bui-autoloads sx-autoloads jenkins-autolo= ads
smart-jump-autoloads bbdb-autoloads parseedn-autoloads delight-autol= oads
anzu-autoloads x86-lookup-autoloads undo-tree-autoloads queue-autol= oads
langtool-autoloads parseclj-autoloads plantuml-mode-autoloads
gi= t-modes-autoloads ace-window-autoloads go-mode-autoloads
powerline-autol= oads lsp-ui-autoloads deferred-autoloads iedit-autoloads
csv-mode-autolo= ads srefactor-autoloads abc-mode-autoloads autoinsert
atomic-chrome-auto= loads solarized-theme-autoloads
anaconda-mode-autoloads web-mode-autoloa= ds flycheck-kotlin-autoloads
lua-mode-autoloads nov-autoloads dash-docs-= autoloads
rainbow-delimiters-autoloads form-feed-autoloads
yasnippet-= radical-snippets-autoloads cmake-mode-autoloads
powerthesaurus-autoloads= request-autoloads pyimport-autoloads
shut-up-autoloads json-snatcher-au= toloads helm-lsp-autoloads
lsp-mode-autoloads spinner-autoloads ht-autol= oads cargo-autoloads
clang-format-autoloads toml-mode-autoloads diminish= -autoloads
websocket-autoloads yasnippet-snippets-autoloads nameless-aut= oloads
cdlatex-autoloads eclim-autoloads anaphora-autoloads rust-mode-au= toloads
py-snippets-autoloads magit-gerrit-autoloads rmsbolt-autoloadsmagit-svn-autoloads pythonic-autoloads company-quickhelp-autoloads
mag= it-annex-autoloads goto-chg-autoloads poly-markdown-autoloads
markdown-m= ode-autoloads polymode-autoloads alert-autoloads
gntp-autoloads log4e-au= toloads color-theme-approximate-autoloads
use-package-autoloads bind-key= -autoloads calfw-autoloads
graphviz-dot-mode-autoloads flycheck-package-= autoloads
package-lint-autoloads flycheck-autoloads pkg-info-autoloadsepl-autoloads ecb-autoloads avy-autoloads modern-cpp-font-lock-autoloads<= br>dts-mode-autoloads zenburn-theme-autoloads yaml-mode-autoloads
esxml-= autoloads kv-autoloads elpy-autoloads pyvenv-autoloads
highlight-indenta= tion-autoloads ob-ipython-autoloads f-autoloads
dash-functional-autoload= s hydra-autoloads lv-autoloads
auto-complete-auctex-autoloads auto-compl= ete-autoloads
yasnippet-autoloads auctex-latexmk-autoloads auctex-autolo= ads tex-site
ahk-mode-autoloads magit-autoloads magit-section-autoloads<= br>git-commit-autoloads with-editor-autoloads transient-autoloads
compat= -autoloads cask-mode-autoloads company-c-headers-autoloads
pos-tip-autol= oads zerodark-theme-autoloads all-the-icons-autoloads
image+-autoloads e= xpand-region-autoloads gnus-desktop-notify-autoloads
helm-autoloads helm= -core-autoloads async-autoloads ggtags-autoloads
mmm-mode-autoloads posf= rame-autoloads company-math-autoloads
math-symbol-lists-autoloads compan= y-autoloads ivy-autoloads
uimage-autoloads guess-language-autoloads dumb= -jump-autoloads
popup-autoloads info dash-autoloads s-autoloads google-c= -style-autoloads
which-key-autoloads package browse-url url url-proxy ur= l-privacy
url-expand url-methods url-history url-cookie generate-lisp-fi= le
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq=
eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv
= bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltipcconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-typeelisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
f= ontset image regexp-opt fringe tabulated-list replace newcomment
text-mo= de lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearc= h easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-= core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indo= nesian philippine 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 emoji-= zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev ob= array oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-fac= e macroexp files window text-properties
overlay sha1 md5 base64 format e= nv code-pages mule custom widget keymap
hashtable-print-readable backquo= te threads dbusbind inotify lcms2
dynamic-setting system-font-setting fo= nt-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty m= ake-network-process
emacs)

Memory information:
((conses 16 465= 686 22927)
=C2=A0(symbols 48 41605 1)
=C2=A0(strings 32 144416 7236)<= br>=C2=A0(string-bytes 1 5047896)
=C2=A0(vectors 16 74684)
=C2=A0(vec= tor-slots 8 1033911 12667)
=C2=A0(floats 8 419 1011)
=C2=A0(intervals= 56 2262 292)
=C2=A0(buffers 984 17))

--0000000000008c13a005eeb75bda-- --0000000000008c13a205eeb75bdc Content-Type: application/x-patch; name="0001-gdb-mi.el-Swap-type-and-name-column-in-locals.patch" Content-Disposition: attachment; filename="0001-gdb-mi.el-Swap-type-and-name-column-in-locals.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lb2t4plo0 RnJvbSA3YTg0MzUxYTVhZDVlZTg3YTU5ODM5MmRjY2VhMDYwNGU2MmZhNTFiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBHdXN0YWYgV2FsZGVtYXJzb24gPGd1c3RhZi53YWxkZW1hcnNv bkBnbWFpbC5jb20+CkRhdGU6IFR1ZSwgMjkgTm92IDIwMjIgMjM6NDA6MjMgKzAxMDAKU3ViamVj dDogW1BBVENIXSBnZGItbWkuZWw6IFN3YXAgdHlwZSBhbmQgbmFtZSBjb2x1bW4gaW4gbG9jYWxz LgoKLS0tCiBsaXNwL3Byb2dtb2Rlcy9n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IHN0cmluZyB3aXRoIHRoZWlyIHZhbHVlLiIpCiAKQEAgLTQ0MzEs MTEgKzQ0NDQsMTQgQEAgZ2RiLWxvY2Fscy1oYW5kbGVyLWN1c3RvbQogICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZWxwLWVjaG8gIm1vdXNlLTI6IGVkaXQgdmFs dWUiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxvY2FsLW1h cCAsZ2RiLWVkaXQtbG9jYWxzLW1hcC0xKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IHZhbHVlKSkKKyAgICAgICAgKHNldHEgbmFtZSAoc3Vic3RyaW5nIG5hbWUgMCAobWluIChsZW5n dGggbmFtZSkgZ2RiLWxvY2Fscy1tYXgtbmFtZS1sZW5ndGgpKSkKKyAgICAgICAgKHNldHEgdHlw ZSAoc3Vic3RyaW5nIHR5cGUgMCAobWluIChsZW5ndGggdHlwZSkgZ2RiLWxvY2Fscy1tYXgtdHlw ZS1sZW5ndGgpKSkKKyAgICAgICAgKHNldGYgKGdkYi10YWJsZS1yaWdodC1hbGlnbiB0YWJsZSkg dCkKICAgICAgICAgKGdkYi10YWJsZS1hZGQtcm93CiAgICAgICAgICB0YWJsZQogICAgICAgICAg KGxpc3QKLSAgICAgICAgICAocHJvcGVydGl6ZSB0eXBlICdmb250LWxvY2stZmFjZSBmb250LWxv Y2stdHlwZS1mYWNlKQogICAgICAgICAgIChwcm9wZXJ0aXplIG5hbWUgJ2ZvbnQtbG9jay1mYWNl IGZvbnQtbG9jay12YXJpYWJsZS1uYW1lLWZhY2UpCisgICAgICAgICAgKHByb3BlcnRpemUgdHlw ZSAnZm9udC1sb2NrLWZhY2UgZm9udC1sb2NrLXR5cGUtZmFjZSkKICAgICAgICAgICB2YWx1ZSkK ICAgICAgICAgIGAoZ2RiLWxvY2FsLXZhcmlhYmxlICxsb2NhbCkpKSkKICAgICAoaW5zZXJ0IChn ZGItdGFibGUtc3RyaW5nIHRhYmxlICIgIikpCi0tIAoyLjM0LjEKCg== --0000000000008c13a205eeb75bdc-- ------------=_1670679003-18302-1--