summaryrefslogtreecommitdiff
path: root/lisp/progmodes/xref.el
Commit message (Collapse)AuthorAge
* Have Xref inherit input method when reading identifiersPhilip Kaludercic2023-03-27
| | | | | * lisp/progmodes/xref.el (xref--read-identifier): Set INHERIT-INPUT-METHOD flag to non-nil. (Bug#61299)
* ; Fix xref-match's :version since the default value did changeDmitry Gutov2023-03-23
|
* Fix the documentation of various aspects of adding Xref historyEli Zaretskii2023-03-17
| | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-marker-ring-length) (xref-set-marker-ring-length): * lisp/progmodes/etags.el (tags-location-ring-length) (find-tag-marker-ring): Add doc strings saying the variables are unused. * etc/NEWS: Enhance the description of the change which made Xref marker stack unlimited in its length. * doc/emacs/maintaining.texi (Looking Up Identifiers): Add back text lost when xref forward history was added in bug#38797. Explain the difference between 'C-M-,' and 'M-.'. Improve wording (Bug#62229)
* * lisp/progmodes/xref.el: Bump the version.Juri Linkov2023-03-13
|
* * lisp/progmodes/xref.el (xref--xref-buffer-mode): Split up 'setq-local'.Juri Linkov2023-03-13
| | | | | xref.el needs to support 26.1, but an arbitrary number of variables in 'setq-local' was added in Emacs 27.1 (bug#62162).
* * lisp/progmodes/xref.el: Bump the version.Dmitry Gutov2023-02-19
|
* xref--insert-xrefs: Use 'shadow' for the line number colonDmitry Gutov2023-02-19
| | | | | | | * lisp/progmodes/xref.el (xref--insert-xrefs): Use face 'shadow' for the line number colon instead of continuing it face (bug#61340). (cherry picked from commit d6d25a3c221e566de4df5319181e9ba9a8df285e)
* * lisp/progmodes/xref.el (xref--insert-xrefs): Remove extra space (bug#61340).Juri Linkov2023-02-19
| | | | (cherry picked from commit 643a11c6e5defc0a34da1a53b64aa1e097298923)
* Backport: Fix xref-clear-marker-stack refactoring mistakeMattias Engdegård2023-02-19
| | | | | | | * lisp/progmodes/xref.el (xref-clear-marker-stack): Clear the history correctly. Changing a lexical variable has no effect. (cherry picked from commit dfdc0f5fb7b10e737c3c8e2bdb1eb873a1e91bd7)
* ; xref.el: Bump versionDmitry Gutov2023-01-10
|
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-01
|
* * lisp/outline.el: Fix the value 'insert' of outline-minor-mode-use-buttons.Juri Linkov2022-12-12
| | | | | | | | | (outline--insert-button): Keep text properties around point on the inserted whitespace placeholder. * lisp/apropos.el (apropos-mode): * lisp/progmodes/xref.el (xref--xref-buffer-mode): Change outline-minor-mode-use-buttons from t to 'insert'.
* * lisp/progmodes/xref.el (xref--outdated-p): Fix broken docstring.Dmitry Gutov2022-11-28
|
* ; * lisp/progmodes/xref.el: Fix some typosJuanma Barranquero2022-11-27
|
* Fix xref interaction with which-func (bug#59575)Juanma Barranquero2022-11-27
| | | | | | | * lisp/progmodes/xref.el (xref--add-log-current-defun): New function. (xref--xref-buffer-mode): Assign it buffer-locally to `add-log-current-defun-function'.
* Fix xref to correctly display Windows absolute filenamesJuanma Barranquero2022-11-27
| | | | | | * lisp/progmodes/xref.el (xref--group-name-for-display): Use `file-name-absolute-p' instead of faking it. (Discussed in bug#59628.)
* ; Fix doc strings in xref.elEli Zaretskii2022-11-25
| | | | | * lisp/progmodes/xref.el (xref-history-storage) (xref-global-history, xref-window-local-history): Doc fixes.
* Add support for window-local xref historyAckerley Tng2022-11-25
| | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-history-storage): New user option (bug#59381). (xref--make-xref-history): New function. (xref--history): Use it. (xref-global-history, xref-window-local-history): New function. (xref--get-history): New function. (xref--push-backward, xref--push-forward) (xref-push-marker-stack, xref-go-back, xref-go-forward) (xref-clear-marker-stack, xref-marker-stack-empty-p) (xref-forward-history-empty-p): Use it.
* xref--search-property: Jump over entries hidden by outline-minor-modeDmitry Gutov2022-11-23
| | | | | * lisp/progmodes/xref.el (xref--search-property): Jump over entries hidden by e.g. outline-minor-mode (bug#49731).
* * lisp/progmodes/xref.el: Support outline-minor-mode (bug#49731)Juri Linkov2022-11-23
| | | | | | | | (xref--xref-buffer-mode): Set buffer-local variables outline-minor-mode-cycle, outline-minor-mode-use-buttons, outline-search-function, outline-level as settings for enabling outline-minor-mode in xref output buffers where outline headings are xref groups, and their lines can be hidden by outline commands.
* Call xref--analyze with correct projectStephen Leake2022-11-16
| | | | | * lisp/progmodes/xref.el (xref-show-definitions-buffer-at-bottom): Call xref--analyze with correct project.
* ; Improve message text in xref.elEli Zaretskii2022-10-15
| | | | | * lisp/progmodes/xref.el (xref--query-replace-1): Improve text of user-error.
* ; Fix last change.Eli Zaretskii2022-10-10
|
* ; Clarify correct use of 'xref-query-replace-in-results'Eli Zaretskii2022-10-10
| | | | | | | | | | * lisp/progmodes/xref.el (xref--query-replace-1): Improve the user-error message. (xref-query-replace-in-results): Clarify restrictions in the doc string. * doc/emacs/maintaining.texi (Xref Commands, Identifier Search): Clarify the correct usage of 'xref-query-replace-in-results'.
* * lisp/progmodes/xref.el: Bump the version.Dmitry Gutov2022-09-12
|
* xref-matches-in-files: Use with-connection-local-variablesDmitry Gutov2022-08-27
| | | | | * lisp/progmodes/xref.el (xref-matches-in-files): Use with-connection-local-variables (bug#57385).
* * lisp/progmodes/xref.el: Bump the version.Dmitry Gutov2022-07-23
|
* Support new "binary file matches" format in Ripgrep 13Dmitry Gutov2022-07-23
| | | | | | * lisp/progmodes/xref.el (xref-matches-in-files): Support new "binary file matches" format in Ripgrep 13 (bug#56624).
* xref-goto-xref: Set input focus in addition to selecting windowMiha Rihtaršič2022-06-20
| | | | | * lisp/progmodes/xref.el (xref--show-location): Set input focus in addition to selecting displayed window (Bug#55983).
* ; Fix mistakes in 'declare function' formsEli Zaretskii2022-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (tooltip-show): * lisp/vc/vc-git.el (grep-expand-template): * lisp/cedet/semantic/imenu.el (pulse-momentary-highlight-one-line): * lisp/mail/feedmail.el (smtpmail-via-smtp): * lisp/mail/rmail.el (rmail-mime-entity-truncated): * lisp/mail/rmailsum.el (rmail-cease-edit): * lisp/progmodes/gud.el (speedbar-toggle-line-expansion) (speedbar-edit-line): * lisp/autoinsert.el (sgml-tag): * lisp/comint.el (url-host, url-type, url-filename): * lisp/progmodes/elisp-mode.el (xref-make, xref-item-location): * lisp/vc/vc-hooks.el (vc-responsible-backend): * lisp/cedet/semantic/complete.el (tooltip-show): * lisp/doc-view.el (tooltip-show): * lisp/follow.el (mwheel-scroll): * lisp/term/pgtk-win.el (pgtk-set-resource): * lisp/progmodes/cperl-mode.el (Info-find-node): * lisp/lpr.el (print-region-function): * lisp/w32-fns.el (w32-version, w32-read-registry): * lisp/emacs-lisp/checkdoc.el (ispell-correct-p, checkdoc-dired): * lisp/progmodes/xref.el (apropos-parse-pattern): * lisp/cus-edit.el (apropos-parse-pattern): * lisp/obsolete/gs.el (x-change-window-property): * lisp/x-dnd.el (x-change-window-property): * lisp/xwidget.el (make-xwidget): * lisp/transient.el (info, Man-find-section, Man-next-section) (Man-getpage-in-background): * lisp/frame.el (x-device-class, pgtk-device-class): * lisp/textmodes/texinfo.el (flymake--log-1): * lisp/term/x-win.el (x-internal-focus-input-context): Fix 'declare function' errors uncovered by 'check-declare'.
* Use xref-goto-xref as the xref mouse bindingLars Ingebrigtsen2022-05-02
| | | | | | * lisp/progmodes/xref.el (xref--button-map): Keep the xref-goto-xref binding instead of select-and-show to be more similar to grep buffers.
* Make the xref--button-map more regularLars Ingebrigtsen2022-04-30
| | | | | * lisp/progmodes/xref.el (xref--button-map): Remove the mouse-1 binding (bug#35353).
* Avoid binding mouse-1 in xref when mouse-1 doesn't follow linksLars Ingebrigtsen2022-04-29
| | | | | * lisp/progmodes/xref.el (xref--button-map): Avoid binding mouse-1 when `mouse-1-click-follows-link' is nil (bug#35353).
* ; * lisp/progmodes/xref.el (xref-query-replace-in-results): Fix last change.Eli Zaretskii2022-04-28
|
* Merge from origin/emacs-28Eli Zaretskii2022-04-28
|\ | | | | | | | | # Conflicts: # lisp/progmodes/xref.el
| * Add minimum instructions to 'query-replace' commandsEli Zaretskii2022-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-dir.el (vc-dir-query-replace-regexp): * lisp/textmodes/reftex-global.el (reftex-query-replace-document): * lisp/progmodes/project.el (project-query-replace-regexp): * lisp/progmodes/etags.el (tags-query-replace): * lisp/progmodes/ebrowse.el (ebrowse-tags-query-replace): * lisp/isearch.el (isearch-query-replace, isearch-occur): * lisp/emulation/viper-cmd.el (viper-query-replace): * lisp/dired-aux.el (dired-do-query-replace-regexp) (dired-do-find-regexp-and-replace): * lisp/progmodes/xref.el (xref-query-replace-in-results): * lisp/replace.el (query-replace, query-replace-regexp) (query-replace-regexp-eval, map-query-replace-regexp): Add minimal instructions for dealing with matches, with a link to the command that shows the full instructions. (Bug#55050)
* | Audit quoting the quote character in doc stringsLars Ingebrigtsen2022-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/src/regex-emacs-tests.el (regex-tests-compare): (regex-tests-compare): (regex-tests-match): * test/lisp/xml-tests.el (xml-parse-tests--qnames): * test/lisp/mh-e/mh-thread-tests.el (mh-thread-tests-before-from): * test/lisp/cedet/srecode-utest-template.el (srecode-utest-map-reset): * test/lisp/calc/calc-tests.el (calc-tests-equal): * lisp/window.el (get-lru-window): (get-mru-window): (get-largest-window): (quit-restore-window): (display-buffer): * lisp/vc/vc-rcs.el (vc-rcs-consult-headers): * lisp/url/url-auth.el (url-digest-auth-build-response): * lisp/tutorial.el (tutorial--find-changed-keys): * lisp/transient.el (transient-suffix-object): * lisp/textmodes/rst.el (rst-insert-list-new-item): * lisp/textmodes/bibtex.el (bibtex-clean-entry): * lisp/tab-bar.el (tab-bar--key-to-number): (toggle-frame-tab-bar): * lisp/ses.el (ses-recalculate-cell): (ses-define-local-printer): (ses-prin1): * lisp/progmodes/xref.el (xref--find-ignores-arguments): * lisp/progmodes/verilog-mode.el (verilog-single-declaration-end): * lisp/progmodes/tcl.el (tcl-mode-hook): * lisp/progmodes/gdb-mi.el (gdb-get-buffer-create): * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref): * lisp/play/dunnet.el (dun-room-objects): * lisp/outline.el (outline--cycle-state): * lisp/org/ox-publish.el (org-publish-find-property): * lisp/org/ox-html.el (org-html--unlabel-latex-environment): * lisp/org/org-table.el (org-table-collapse-header): * lisp/org/org-plot.el (org--plot/prime-factors): * lisp/org/org-agenda.el (org-agenda--mark-blocked-entry): (org-agenda-set-restriction-lock): * lisp/org/ob-lua.el (org-babel-lua-read-string): * lisp/org/ob-julia.el (org-babel-julia-evaluate-external-process): (org-babel-julia-evaluate-session): * lisp/org/ob-core.el (org-babel-default-header-args): * lisp/obsolete/mouse-sel.el (mouse-select): (mouse-select-secondary): * lisp/net/tramp.el (tramp-methods): * lisp/net/eww.el (eww-accept-content-types): * lisp/net/dictionary-connection.el (dictionary-connection-status): * lisp/minibuffer.el (completion-flex--make-flex-pattern): * lisp/mh-e/mh-mime.el (mh-have-file-command): * lisp/mh-e/mh-limit.el (mh-subject-to-sequence): (mh-subject-to-sequence-threaded): (mh-subject-to-sequence-unthreaded): * lisp/mail/feedmail.el (feedmail-queue-buffer-file-name): (feedmail-vm-mail-mode): * lisp/ls-lisp.el (ls-lisp--sanitize-switches): * lisp/keymap.el (key-valid-p): * lisp/international/ccl.el (ccl-compile-branch-blocks): * lisp/image/image-converter.el (image-convert): * lisp/gnus/spam.el (spam-backend-check): * lisp/gnus/nnselect.el (nnselect-generate-artlist): * lisp/gnus/nnmairix.el (nnmairix-widget-other): * lisp/gnus/message.el (message-mailto): * lisp/gnus/gnus-sum.el (gnus-collect-urls-from-article): * lisp/gnus/gnus-search.el (gnus-search-prepare-query): * lisp/frame.el (frame-size-history): * lisp/eshell/esh-var.el (eshell-parse-variable-ref): * lisp/eshell/em-dirs.el (eshell-expand-multiple-dots): * lisp/erc/erc-backend.el (erc-bounds-of-word-at-point): * lisp/emulation/cua-rect.el (cua--rectangle-operation): * lisp/emacs-lisp/text-property-search.el (text-property-search-forward): * lisp/emacs-lisp/package.el (package-desc-suffix): * lisp/emacs-lisp/faceup.el (faceup-test-explain): * lisp/emacs-lisp/comp.el (comp-curr-allocation-class): (comp-alloc-class-to-container): (comp-add-cstrs): (comp-remove-type-hints-func): (batch-byte+native-compile): * lisp/emacs-lisp/cl-macs.el (cl--optimize): * lisp/elec-pair.el (electric-pair--syntax-ppss): * lisp/doc-view.el (doc-view-doc-type): * lisp/cedet/semantic/symref.el (semantic-symref-tool-alist): (semantic-symref-hit-to-tag-via-db): (semantic-symref-hit-to-tag-via-buffer): * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-get-overlay): * lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map): * lisp/cedet/semantic/find.el (semantic-brute-find-tag-by-function): * lisp/cedet/semantic/db.el (semanticdb-project-predicate-functions): * lisp/cedet/semantic.el (semantic-working-type): * lisp/cedet/ede/files.el (ede-flush-directory-hash): * lisp/calc/calc.el (calc--header-line): * lisp/auth-source.el (auth-source-pick-first-password): (auth-source--decode-octal-string): * etc/themes/modus-themes.el (modus-themes--paren): (modus-themes--agenda-habit): * admin/cus-test.el (cus-test-vars-with-changed-state): Fix quoting in doc strings. In code examples, the ' character is quoted with \\=, and regularize 'foo to `foo', and quote strings like "foo" instead of 'foo'.
* | Add a doc string to xref-current-itemLars Ingebrigtsen2022-04-17
| | | | | | | | | | * lisp/progmodes/xref.el (xref-after-jump-hook): Link to it. (xref-current-item): Add a doc string to the now-public variable.
* | * lisp/progmodes/xref.el (xref-search-program): Fix typo.Dmitry Gutov2022-04-02
| |
* | Support ugrep in xref-search-program-alistManuel Uberti2022-04-02
| | | | | | | | | | | | * lisp/progmodes/xref.el (xref-search-program-alist) (xref-search-program): Add entries for ugrep (bug#54608).
* | Fix a use of 'cl-defgeneric'.Philipp Stephani2022-03-17
| | | | | | | | | | * lisp/progmodes/xref.el (xref-match-length): Use 'cl-defmethod' instead of 'cl-defgeneric'.
* | * lisp/progmodes/xref.el: Bump the version.Dmitry Gutov2022-03-03
| |
* | Merge from origin/emacs-28Stefan Kangas2022-02-28
|\| | | | | | | | | | | e77fc8262a Update to Org 9.5.2-22-g33543d 9bce4b67f1 ; * lisp/help.el (with-help-window): Doc fix. (Bug#54170) 558b03a958 Add explicit '--no-heading' for ripgrep
| * Add explicit '--no-heading' for ripgrepDmitry Gutov2022-02-27
| | | | | | | | | | * lisp/progmodes/xref.el (xref-search-program-alist): Add explicit '--no-heading' for ripgrep (bug#54177).
* | Drop the visited file modtime check for remote xref hitsDmitry Gutov2022-02-26
| | | | | | | | | | | | * lisp/progmodes/xref.el (xref--hits-remote-id): New variable. (xref--convert-hits, xref--collect-matches) (xref--find-file-buffer): Use it (bug#54025).
* | xref--find-file-buffer: Check modified-p and modtimeDmitry Gutov2022-02-25
| | | | | | | | | | | | * lisp/progmodes/xref.el (xref--find-file-buffer): Check whether the buffer contents match what's on disk (bug#54025).
* | Unbreak project switcher when inside *xref* bufferDmitry Gutov2022-02-23
| | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref--ensure-default-directory): New function. (xref--show-xref-buffer, xref-show-definitions-buffer-at-bottom): Use it (bug#53626).
* | Bump xref.el version.Dmitry Gutov2022-02-21
| | | | | | | | * lisp/progmodes/xref.el: Bump version to 1.4.0.
* | Public-ize xref-show-xrefsDmitry Gutov2022-02-21
| | | | | | | | | | * lisp/progmodes/xref.el (xref-show-xrefs): New function (wrapper for an older, private one, bug#42967).
* | Public-ize xref-current-itemDmitry Gutov2022-02-21
| | | | | | | | | | * lisp/progmodes/xref.el (xref--current-item): Rename to 'xref-current-item' (bug#53956). Update all references.