Package: emacs;
Reported by: Dave Abrahams <dave <at> boostpro.com>
Date: Sun, 17 Dec 2023 19:40:02 UTC
Severity: normal
Found in version 29.1
Done: João Távora <joaotavora <at> gmail.com>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: help-debbugs <at> gnu.org (GNU bug Tracking System) To: João Távora <joaotavora <at> gmail.com> Cc: tracker <at> debbugs.gnu.org Subject: bug#67870: closed (29.1; Eglot missing or un-findable advertised feature) Date: Mon, 18 Dec 2023 20:01:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 18 Dec 2023 19:59:54 +0000 with message-id <CALDnm52v9Mh2eGGopxEi=cyV23Nmc2Njrjns7AvGB9Bk-noXTQ <at> mail.gmail.com> and subject line Re: bug#67870: 29.1; Eglot missing or un-findable advertised feature has caused the debbugs.gnu.org bug report #67870, regarding 29.1; Eglot missing or un-findable advertised feature to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs <at> gnu.org.) -- 67870: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67870 GNU Bug Tracking System Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dave Abrahams <dave <at> boostpro.com> To: bug-gnu-emacs <at> gnu.org Subject: 29.1; Eglot missing or un-findable advertised feature Date: Sun, 17 Dec 2023 11:38:40 -0800The info page for Eglot says: 3.1 Eglot features: • On-the-fly diagnostic annotations with server-suggested fixes, via the Flymake package (*note (flymake)Top::). But I can find no evidence of the support for server-suggested fixes either in flymake or in eglot itself. I am working with an LSP server that offers fix-its but can't find any way to apply them. Either what's meant by this should be clarified, leading to discoverable instructions for exploiting the feature, or the text should be removed. In GNU Emacs 29.1 (build 1, x86_64-apple-darwin23.1.0, Carbon Version 170 AppKit 2487.2) of 2023-12-13 built on DaveMBP16.localdomain Windowing system distributor 'Apple Inc.', version 14.2.0 System Description: macOS 14.2 Configured using: 'configure --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/info --mandir=/usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/man --prefix=/usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0 --with-mac --enable-mac-app=/usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0 --with-gnutls --with-modules --with-native-compilation --with-tree-sitter 'CFLAGS=-I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include' 'LDFLAGS=-L/usr/local/lib/gcc/13 -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include'' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE PDUMPER SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: annotate-mode: t magit-wip-initial-backup-mode: t magit-wip-before-change-mode: t magit-wip-after-apply-mode: t magit-wip-after-save-mode: t which-function-mode: t global-git-commit-mode: t shell-dirtrack-mode: t server-mode: t ws-butler-global-mode: t ws-butler-mode: t global-auto-revert-mode: t savehist-mode: t delete-selection-mode: t override-global-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mac-mouse-wheel-mode: t file-name-shadow-mode: t isearch-fold-quotes-mode: t global-font-lock-mode: t font-lock-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /Users/dave/.emacs.d.default/straight/build/transient/transient hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/transient /Users/dave/.emacs.d.default/straight/build/use-package/use-package-jump hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/use-package/use-package-jump /Users/dave/.emacs.d.default/straight/build/use-package/use-package-ensure hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/use-package/use-package-ensure /Users/dave/.emacs.d.default/straight/build/use-package/use-package-core hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/use-package/use-package-core /Users/dave/.emacs.d.default/straight/build/use-package/use-package-delight hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/use-package/use-package-delight /Users/dave/.emacs.d.default/straight/build/use-package/use-package-diminish hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/use-package/use-package-diminish /Users/dave/.emacs.d.default/straight/build/use-package/use-package hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/use-package/use-package /Users/dave/.emacs.d.default/straight/build/use-package/use-package-bind-key hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/use-package/use-package-bind-key /Users/dave/.emacs.d.default/straight/build/bind-key/bind-key hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/use-package/bind-key /Users/dave/.emacs.d.default/straight/build/use-package/use-package-lint hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/use-package/use-package-lint /Users/dave/.emacs.d.default/straight/build/seq/seq hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/emacs-lisp/seq /Users/dave/.emacs.d.default/straight/build/let-alist/let-alist hides /usr/local/Cellar/emacs-mac/emacs-29.1-mac-10.0/share/emacs/29.1/lisp/emacs-lisp/let-alist Features: (shadow sort emacsbug find-dired annotate annotate-autoloads loaddefs-gen poly-markdown apropos grep cus-start shortdoc dabbrev display-line-numbers checkdoc lisp-mnt help-fns radix-tree mail-extr goto-addr vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view vc bug-reference magit-extras magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply mule-util misearch multi-isearch markdown-mode pulse eglot external-completion array jsonrpc ert pp ewoc debug backtrace flymake-proc flymake vc-git vc-dispatcher swift-mode swift-mode-imenu swift-mode-repl swift-mode-font-lock swift-mode-standard-types swift-mode-fill swift-mode-beginning-of-defun swift-mode-indent swift-mode-lexer find-file-in-repository dired-aux ffap jka-compr pcase dwa-init editorconfig-generate-autoloads editorconfig-autoloads noccur noccur-autoloads focus focus-autoloads darkroom face-remap darkroom-autoloads org-modern org-modern-autoloads poly-org org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-version org-compat org-macs polymode poly-lock polymode-base polymode-weave polymode-export polymode-compat advice polymode-methods polymode-core polymode-classes eieio-custom wid-edit eieio-base color poly-org-autoloads poly-markdown-autoloads markdown-mode-autoloads polymode-autoloads find-file-in-repository-autoloads magit-imerge-autoloads magit-wip magit-log which-func magit-diff smerge-mode diff git-commit log-edit message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor comp comp-cstr warnings icons shell pcomplete server magit-mode transient magit-git magit-base magit-section format-spec crm compat magit-autoloads magit-section-autoloads git-commit-autoloads with-editor-autoloads transient-autoloads compat-autoloads dwa-progmodes yaml-mode yaml-mode-autoloads tide tide-lv thingatpt imenu flycheck find-func s dash etags fileloop generator xref tide-autoloads flycheck-autoloads let-alist-autoloads pkg-info-autoloads epl-autoloads s-autoloads dash-autoloads typescript-mode rx cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs typescript-mode-autoloads hylo-mode-autoloads swift-mode-autoloads seq-autoloads dwa-global-config compile text-property-search comint ansi-osc ansi-color ring skeleton modus-operandi-tinted-theme modus-themes modus-themes-autoloads use-package-bind-key ws-butler ws-butler-autoloads use-package-diminish diminish diminish-autoloads ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util diff-mode descr-text 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 eieio eieio-core password-cache json map url-vars finder-inf ido autorevert filenotify savehist delsel cus-load use-package-core dwa-global-keybindings edmacro kmacro bind-key easy-mmode dwa-folding disp-table dwa-compile project byte-opt dwa-buffers dwa-navigation use-package-autoloads info bind-key-autoloads files-x straight-autoloads cl-seq cl-extra help-mode straight subr-x cl-macs cl-loaddefs cl-lib bytecomp byte-compile chemacs gv rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/mac-win mac-win term/common-win 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 kqueue mac multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 695883 110397) (symbols 48 37327 0) (strings 32 164145 11005) (string-bytes 1 6507733) (vectors 16 86991) (vector-slots 8 2269285 196895) (floats 8 547 976) (intervals 56 12010 83) (buffers 984 74))
[Message part 3 (message/rfc822, inline)]
From: João Távora <joaotavora <at> gmail.com> To: Dave Abrahams <dave <at> boostpro.com> Cc: 67870 <at> debbugs.gnu.org, 67870-done <at> debbugs.gnu.org Subject: Re: bug#67870: 29.1; Eglot missing or un-findable advertised feature Date: Mon, 18 Dec 2023 19:59:54 +0000On Mon, Dec 18, 2023 at 7:10 PM Dave Abrahams <dave <at> boostpro.com> wrote: > > Of course it's easy for *you* to find; Well, yes. That's why I wrote "IMO" which abbreviates "in my opinion". I don't have control over your _opinion_ it's just, like, your opinion. > I wouldn't have filed a bug if I wasn't having trouble, I hope you are out of trouble now :-) > in the eglot manual around these commands (e.g. quickfix, action, > rewrite), I wouldn't have had any trouble. "fix" by itself is a bit too short and common to be a good search keyword. No need to justify yourself so much, but I find this odd. For example, a simple text search within the Eglot manual for "action" yields this as the second result in the end of the very section you were reading. • In addition to enabling and enhancing other features and packages, Eglot also provides a number of user commands based on the capabilities of language servers. Examples include renaming symbols with ‘eglot-rename’ and asking to automatically correct problems with ‘eglot-code-actions’. *Note Eglot Commands::. And "code actions" and "quickfix" and "rename" are easily found in the manual's index, also just a C-s (isearch) away. It's very good that you are using Eglot's manual, but IMO glancing through a high-level overview of features is not sufficient to learn how to use it. You need at least skim the remainder of the manual. Packages in Emacs are controlled via commands, and so the "Eglot Commands" section is very relevant to use Eglot. That section is amply referenced through the manual. Maybe I'll add something to the existing "For the impatient" section. Until then, I consider this bug report solved, so I'm closing it. João
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.