From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Christian Tietze" Newsgroups: gmane.emacs.bugs Subject: bug#49208: 28.0.50; project-find-regexp's xref-mode result buffer is not editable Date: Thu, 24 Jun 2021 15:49:10 +0200 Message-ID: <5bafbeba-90f2-4352-91c9-7f895cb05c30@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27243"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-530-gd0c265785f-fm-20210616.002-gd0c26578 To: 49208@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 24 15:50:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwPkA-0006sG-FE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Jun 2021 15:50:10 +0200 Original-Received: from localhost ([::1]:37504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwPk9-00039f-Do for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Jun 2021 09:50:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwPk2-00039X-D8 for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 09:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwPk2-0008Ou-3q for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 09:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwPk1-0001wX-W7 for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 09:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Christian Tietze" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 13:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49208 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16245425857436 (code B ref -1); Thu, 24 Jun 2021 13:50:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jun 2021 13:49:45 +0000 Original-Received: from localhost ([127.0.0.1]:42638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwPjk-0001vr-DJ for submit@debbugs.gnu.org; Thu, 24 Jun 2021 09:49:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwPjh-0001vg-92 for submit@debbugs.gnu.org; Thu, 24 Jun 2021 09:49:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwPjh-00039B-0H for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 09:49:41 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:46955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwPjc-00082N-ML for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 09:49:40 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 2814832008FB for ; Thu, 24 Jun 2021 09:49:33 -0400 (EDT) Original-Received: from imap9 ([10.202.2.59]) by compute6.internal (MEProxy); Thu, 24 Jun 2021 09:49:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= christiantietze.de; h=mime-version:message-id:date:from:to :subject:content-type; s=fm1; bh=HGL6IybO+8sBbrUHIzQPxqjAOcXIavU j759b/pHBTT4=; b=Kzw23SZKrVsJA/Z1L5RcG8Ga1W6PiUBNzJ8ZjMJyPuoDpDZ BaaB4hO/ueFVBc1adT9ZJNdc3HhftMT2ouoDtHRepFwGqkBWcac42Hyt+KWpweT4 vN43WpJa/HAfQeJ+RbP5gF/rdknS8NioJHLjuEHz3NFj0ZVwTd9Q5IAC0SavLdxY rBlyGDcn0m2epUsuhDCXHuuq06BQND0z7T4OtKonTXdvlXeQXIaAele7GqPxV8Iy gvoyJM+9IjLNAod5DV05N8EK5A+9xEeG0vptlJxNf6VFzvTD5b+2TebCgHDtuagp oowb/J6H7VNdWwY1LrxFcr/DIP/gd5tbM9V820Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=HGL6IybO+8sBbrUHIzQPxqjAOcXIa vUj759b/pHBTT4=; b=QCEOo407uxQM2B9nTNDMQW89YIbaSyGiOzh+N/cWBsfTW RTtIMM0oXvITsCP5oSTX+PFF4dbk7xB4KG6M/bomdWs5mcAYCNTdUGx+Rtlbwore AlTEIAebnN9m1SabMV8nRC9GiKzyGZ3TP1d4nCy9FROaCs8KQYp8nPxXyA1/hhmL GlyHBTzpaju2yiSoGeBajjwYoa4804HGqEnouzlxY2c3ZZnu9usuIQ9McdrTEFwr 7J3EglGo5CzTgtbZKn3VPO5qJ12nBw2LxwaF2gTNkZk4FCjXyVQz7bwyJW7M6Uu1 gIsAcB/7iW+SGUkteCMWOdB03H4a3enu6rbEc2lVg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeghedgjeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erreejnecuhfhrohhmpedfvehhrhhishhtihgrnhcuvfhivghtiigvfdcuoehmvgestghh rhhishhtihgrnhhtihgvthiivgdruggvqeenucggtffrrghtthgvrhhnpeegvedvvefgje elfeeifeeffeehgedtvdelvdegffdutdefvefhvddutdfhudefleenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmvgestghhrhhishhtihgrnh htihgvthiivgdruggv X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 611122E02C3; Thu, 24 Jun 2021 09:49:32 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Received-SPF: pass client-ip=64.147.123.19; envelope-from=me@christiantietze.de; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208925 Archived-At: TL;DR: The `xref-mode' results of `project-find-regexp' are not editable. Something like `occur-edit-mode' is missing. 1) Open a project via C-x p p 2) Select 'g' to find in project (project-find-regexp) 3) Search for a phrase that produces results 4) In the resulting Xref buffer, try to edit the results Invoking `occur-edit-mode' manually doesn't do the trick. There appears to be no way to use this Xref facility to edit around search results in-place. Other packages like `wgrep' or `ag' support this. The fantastic-looking Xref results of `project-find-regexp' don't. Would be great if that was added. Cheers, Christian ---- In GNU Emacs 28.0.50 (build 2, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H524)) of 2021-03-15 built on mbp20.local Repository revision: f2b0cfff93afeeb1b6d84bfce4bde83dbe4862cb Repository branch: master Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.4 Configured using: 'configure --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-head@28/28.0.50_1/share/info/emacs --prefix=/usr/local/Cellar/emacs-head@28/28.0.50_1 --without-x --with-dbus --with-imagemagick --with-modules --without-pop --with-gnutls --with-rsvg --with-xml2 --with-xwidgets --with-ns --disable-ns-self-contained' Configured features: ACL DBUS GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XWIDGETS ZLIB Important settings: value of $LANG: en_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Occur Minor modes in effect: TeX-PDF-mode: t treemacs-filewatch-mode: t treemacs-git-mode: deferred treemacs-fringe-indicator-mode: t global-git-commit-mode: t magit-auto-revert-mode: t show-paren-mode: t marginalia-mode: t global-edit-server-edit-mode: t xah-fly-keys: t delete-selection-mode: t which-key-mode: t selectrum-prescient-mode: t real-auto-save-mode: t global-real-auto-save-mode: t popup-buffers-mode: t all-the-icons-ibuffer-mode: t doom-modeline-mode: t override-global-mode: t shell-dirtrack-mode: t projectile-mode: t global-emojify-mode: t emojify-mode: t auto-dim-other-buffers-mode: t selectrum-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Load-path shadows: (here was a list of 'hides' about org-mode checked out from git) Features: (shadow emacsbug calc-map calc-stat calc-vec calc-ext calc-menu calc-aent calc calc-loaddefs calc-macs consult-imenu repeat tramp-cmds tramp-cache highlight-indent-guides timezone texinfo toolbar-x reporter context plain-tex tex-buf latex-mode-expansions latex latex-flymake tex-ispell tex-style tex texmathp ispell consult-icomplete icomplete let-alist lsp-icons git-rebase ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util benchmark skeleton ibuf-macs thunk autoload lisp-mnt url-cache mouse-copy mouse-drag gnus-cite so-long xt-mouse display-fill-column-indicator ob-eukleides org-checklist org-collector org-invoice org-learn org-mac-link org-mairix org-toc ox-extra ob-ditaa ob-plantuml org-colview org-crypt org-habit org-goto debug backtrace scheme view ox-org ox-odt ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox company-php ac-php-core popup xcscope lsp-ivy ivy ivy-faces ivy-overlay colir lsp-ui lsp-ui-flycheck lsp-ui-doc xwidget lsp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-ui-util tex-mode hl-todo markdown-mode+ goto-last-change neotree treemacs-projectile treemacs-all-the-icons treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-bookmarks treemacs-interface treemacs-extensions treemacs-mouse-interface treemacs-tags treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture treemacs-logging treemacs-customization treemacs-macros ranger diranged revbufs zoom-window vterm term ehelp vterm-module term/xterm xterm shortdoc cl-print completion dos-w32 find-cmd cus-edit help-fns radix-tree org-clock misearch multi-isearch bug-reference magit-extras magit-bookmark magit-submodule magit-obsolete 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 magit-wip magit-log which-func magit-diff smerge-mode diff git-commit log-edit pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode transient magit-git magit-section magit-utils web-mode-expansions web-mode dired-aux gnus-dired vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-cvs vc-rcs vc lsp-zig lsp-steep lsp-svelte lsp-sqls lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-perl lsp-ocaml lsp-nix lsp-nim lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript lsp-haxe lsp-groovy lsp-hack lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp lsp-crystal lsp-cmake lsp-clojure lsp-clangd lsp-bash lsp-angular lsp-ada lsp-actionscript lsp-sourcekit lsp lsp-mode lsp-protocol spinner lv inline ewoc cal-move conf-mode sh-script executable js-mode-expansions js swift-mode swift-mode-imenu swift-mode-repl swift-mode-beginning-of-defun swift-mode-font-lock swift-mode-standard-types swift-mode-indent swift-mode-lexer char-fold yaml-mode vc-git vc-dispatcher rng-xsd xsd-regexp rng-cmpct two-column hideshow paren subword-mode-expansions cap-words superword subword shr-color mm-archive marginalia consult-flycheck flycheck consult-selectrum consult recentf tree-widget bookmark posframe pp gnutls network-stream mailalias qp sort company-box company-box-doc frame-local company-box-icons dash-functional company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company-robe mail-extr server modus-vivendi-theme modus-operandi-theme cal-iso olivetti goggles pulse init company-ledger ledger-mode ledger-check ledger-texi ledger-test ledger-sort ledger-report ledger-reconcile ledger-occur ledger-fonts ledger-fontify ledger-state ledger-complete ledger-schedule ledger-init ledger-xact ledger-post ledger-exec ledger-navigate eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util ledger-context ledger-commodities ledger-regex mu4e desktop frameset mu4e-org mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions rfc2368 smtpmail sendmail mu4e-mark mu4e-message flow-fill mu4e-proc mu4e-utils doc-view jka-compr image-mode exif mu4e-lists mu4e-vars mu4e-meta notmuch notmuch-tree notmuch-jump notmuch-hello notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-message notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar notmuch-tag notmuch-lib notmuch-compat epa-file edit-server php-mode mode-local imenu cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs php-face php php-project flymake-proc flymake warnings emmet-mode cl company-anaconda anaconda-mode pythonic robe etags fileloop xref project inf-ruby ruby-electric ruby-mode-expansions ruby-mode smie company centered-cursor-mode yasnippet-snippets yasnippet undo-fu expand-region text-mode-expansions the-org-mode-expansions python-el-fgallina-expansions nxml-mode-expansions html-mode-expansions er-basic-expansions expand-region-core expand-region-custom xah-fly-keys ido dired-x wgrep-ag wgrep ag vc-svn find-dired rect unfill delsel define-word rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode nxml-util nxml-enc xmltok url-http url-auth url-gw nsm command-log-mode which-key linum-relative linum display-line-numbers org-autolist org-duration autorevert filenotify org-eldoc org-indent image-file image-converter org-element avl-tree generator disp-table ol-notmuch org-tempo tempo org-protocol ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr wid-edit ol-bibtex bibtex ol-bbdb org-agenda org-refile appt diary-lib diary-loaddefs ob-shell ob-python python tramp-sh ob-markdown markdown-mode color ob-ruby ob-dot org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs embark ffap selectrum-prescient prescient selectrum minibuf-eldef crm real-auto-save rotate popup-buffers all-the-icons-ibuffer all-the-icons-dired delight use-package-delight doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path rx f s all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons hl-line modus-themes use-package-bind-key bind-key sudo-edit tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete parse-time iso8601 time-date ls-lisp format-spec edmacro kmacro reveal-in-osx-finder dired dired-loaddefs rvm exec-path-from-shell try cl-extra help-mode use-package-ensure use-package-core projectile grep compile text-property-search comint ansi-color ring ibuf-ext ibuffer ibuffer-loaddefs thingatpt emojify advice apropos tar-mode arc-mode archive-mode pcase ht dash auto-dim-other-buffers face-remap cus-start cus-load finder-inf tex-site easy-mmode info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 3752285 1433331) (symbols 48 107327 9) (strings 32 644861 119971) (string-bytes 1 18012918) (vectors 16 239340) (vector-slots 8 5836611 554933) (floats 8 3416 2117) (intervals 56 215672 23898) (buffers 992 287))