1. 29 Dec, 2019 1 commit
    • Dmitry Gutov's avatar
      Improve docstrings · c190e91a
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-collect-matches)
      (xref-collect-references): Improve docstrings.
  2. 28 Dec, 2019 2 commits
    • Dmitry Gutov's avatar
      Don't require semantic/fw · d915b8c3
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-collect-matches): Don't require
      semantic/fw, we haven't been using semantic-find-file-noselect
      here for a while.
    • Dmitry Gutov's avatar
      Do some renames for clarity · 50a01264
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--last-file-buffer):
      Rename from xref--last-visiting-buffer.  Update users.
      (xref--find-file-buffer): Rename from xref--find-buffer-visiting
      to match the standard function that gets called inside.  Ditto.
  3. 27 Dec, 2019 2 commits
  4. 24 Dec, 2019 1 commit
  5. 20 Oct, 2019 2 commits
    • Stephen Leake's avatar
      In xref-location-marker, handle deleted file or outdated xref location nicely · 3aa8f4d4
      Stephen Leake authored
      * lisp/progmodes/xref.el (xref-location-marker): Add ignore-errors.
    • Juanma Barranquero's avatar
      lisp/*.el: Fix typos and improve some docstrings · 41ba8231
      Juanma Barranquero authored
      * lisp/auth-source.el (auth-source-backend-parse-parameters)
      (auth-source--decode-octal-string, auth-source-plstore-search):
      * lisp/registry.el (registry-lookup)
      (registry-lookup-secondary, registry-lookup-secondary-value)
      (registry-search, registry-delete, registry-size, registry-full)
      (registry-insert, registry-reindex, registry-prune)
      * lisp/subr.el (nbutlast, process-live-p):
      * lisp/tab-bar.el (tab-bar-list):
      * lisp/cedet/ede/linux.el (ede-linux--get-archs)
      (ede-linux--include-path, ede-linux-load):
      * lisp/erc/erc-log.el (erc-log-all-but-server-buffers):
      * lisp/erc/erc-pcomplete.el (pcomplete-erc-commands)
      (pcomplete-erc-ops, pcomplete-erc-not-ops, pcomplete-erc-nicks)
      (pcomplete-erc-all-nicks, pcomplete-erc-channels)
      (pcomplete-erc-command-name, pcomplete-erc-parse-arguments):
      * lisp/eshell/em-term.el (eshell-visual-command-p):
      * lisp/gnus/gnus-cache.el (gnus-cache-fully-p):
      * lisp/gnus/nnmail.el (nnmail-get-active)
      * lisp/mail/mail-utils.el (mail-string-delete):
      * lisp/mail/supercite.el (sc-hdr, sc-valid-index-p):
      * lisp/net/ange-ftp.el (ange-ftp-use-smart-gateway-p):
      * lisp/net/nsm.el (nsm-save-fingerprint-maybe)
      (nsm-network-same-subnet, nsm-should-check):
      * lisp/net/rcirc.el (rcirc-looking-at-input):
      * lisp/net/tramp-cache.el (tramp-get-hash-table):
      * lisp/net/tramp-compat.el (tramp-compat-process-running-p):
      * lisp/net/tramp-smb.el (tramp-smb-get-share)
      (tramp-smb-get-localname, tramp-smb-read-file-entry)
      (tramp-smb-get-cifs-capabilities, tramp-smb-get-stat-capability):
      * lisp/net/zeroconf.el (zeroconf-list-service-names)
      (zeroconf-list-service-types, zeroconf-list-services)
      (zeroconf-get-host, zeroconf-get-domain)
      * lisp/nxml/rng-xsd.el (rng-xsd-compile)
      (rng-xsd-make-date-time-regexp, rng-xsd-convert-date-time):
      * lisp/obsolete/erc-hecomplete.el (erc-hecomplete)
      (erc-command-list, erc-complete-at-prompt):
      * lisp/org/ob-scheme.el (org-babel-scheme-get-buffer-impl):
      * lisp/org/ob-shell.el (org-babel--variable-assignments:sh-generic)
      * lisp/org/org-clock.el (org-day-of-week):
      * lisp/progmodes/cperl-mode.el (cperl-char-ends-sub-keyword-p):
      * lisp/progmodes/gud.el (gud-find-c-expr, gud-innermost-expr)
      (gud-prev-expr, gud-next-expr):
      * lisp/textmodes/table.el (table--at-cell-p, table--probe-cell)
      (table--put-cell-valign-property): Fix typos.
      * lisp/so-long.el (fboundp): Doc fix.
      (so-long-mode-line-info, so-long-mode)
      (so-long--check-header-modes): Fix typos.
      * lisp/emulation/viper-mous.el (viper-surrounding-word)
      (viper-mouse-click-get-word): Fix typos.
      (viper-mouse-click-search-word): Doc fix.
      * lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
      (erc-bounds-of-word-at-point): Fix typos.
      (erc-decode-string-from-target, define-erc-response-handler):
      Refill docstring.
      * lisp/erc/erc-dcc.el (pcomplete/erc-mode/DCC): Fix typo.
      (erc-dcc-get-host, erc-dcc-auto-mask-p, erc-dcc-get-file):
      Doc fixes.
      * lisp/erc/erc-networks.el (erc-network-name): Fix typo.
      (erc-determine-network): Refill docstring.
      * lisp/net/dbus.el (dbus-list-hash-table)
      (dbus-string-to-byte-array, dbus-byte-array-to-string)
      (dbus-check-event): Fix typos.
      (dbus-introspect-get-property): Doc fix.
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler):
      Rename ARGS to ARGUMENTS.  Doc fix.
      (tramp-adb-sh-fix-ls-output, tramp-adb-execute-adb-command)
      (tramp-adb-find-test-command): Fix typos.
      * lisp/net/tramp.el (tramp-set-completion-function)
      (tramp-get-completion-methods, tramp-get-completion-user-host)
      (tramp-get-inode, tramp-get-device, tramp-mode-string-to-int)
      (tramp-call-process, tramp-call-process-region)
      (tramp-process-lines): Fix typos.
      (tramp-interrupt-process): Doc fix.
      * lisp/org/ob-core.el (org-babel-named-src-block-regexp-for-name)
      (org-babel-named-data-regexp-for-name): Doc fix.
      (org-babel-src-block-names, org-babel-result-names): Fix typos.
      * lisp/progmodes/inf-lisp.el (lisp-input-filter): Doc fix.
      (lisp-fn-called-at-pt): Fix typo.
      * lisp/progmodes/xref.el (xref-backend-identifier-at-point):
      Doc fix.
      (xref-backend-identifier-completion-table): Fix typo.
  6. 23 Aug, 2019 1 commit
    • Damien Cassou's avatar
      Add imenu support to xref · 1071dfe1
      Damien Cassou authored
      * lisp/progmodes/xref.el (xref--imenu-prev-index-position)
      (xref--imenu-extract-index-name): Add functions to get imenu support.
      (xref--xref-buffer-mode): Set imenu variables to the new functions.
      * etc/NEWS: Add corresponding entry (bug#36974).
  7. 14 Aug, 2019 1 commit
  8. 25 Jul, 2019 1 commit
  9. 17 Jul, 2019 1 commit
    • Stephen Leake's avatar
      Add xref-file-name-display · d590b27e
      Stephen Leake authored
      * lisp/progmodes/xref.el (xref-file-name-display): New user variable.
      (xref-location-group): Use it.
      * etc/NEWS: Mention it.
  10. 25 Jun, 2019 1 commit
    • Fritz Stelzer's avatar
      Make xref-show-xrefs-function a defcustom · 235ca1b4
      Fritz Stelzer authored
      * lisp/progmodes/xref.el (xref-show-xrefs-function): Make into a
      defcustome (bug#29206).
      * lisp/progmodes/xref.el (xref-show-definitions-function): Ditto.
      Copyright-paperwork-exempt: yes
  11. 16 Jun, 2019 1 commit
  12. 10 Jun, 2019 1 commit
  13. 09 Jun, 2019 2 commits
    • Dmitry Gutov's avatar
      Rename xref--pop-to-location to xref-pop-to-location · 4f479aeb
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-pop-to-location):
      Rename from xref-pop-to-location.  So that third-party
      xref-show-definitions-function implementations can use it safely
      (bug#36144).  Update all callers.
    • Dmitry Gutov's avatar
      Add a built-in alternative for xref-show-definitions-function · ec563971
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--transient-buffer-mode-map):
      New variable.
      (xref--transient-buffer-mode): New major mode.
      (xref--button-map): Remove the RET binding (it was unnecessary in
      the first place).
      Extract from xref--show-xref-buffer.
      (xref--show-defs-buffer-at-bottom): New function.
  14. 30 May, 2019 2 commits
  15. 25 May, 2019 3 commits
  16. 24 May, 2019 3 commits
    • Dmitry Gutov's avatar
      Rename xref--revert-xref-buffer to xref-refresh-results · 157d506d
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-refresh-results):
      Rename from xref--revert-xref-buffer (bug#35702).
    • Dmitry Gutov's avatar
      Support reverting in xref-find-definitions results as well · e309818e
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--show-xref-buffer): Expect the
      first argument to always be a function (bug#35702).  Handle a
      FETCHED-XREFS entry in ALIST.
      (xref--show-defs-buffer): Update accordingly.
      (xref--create-fetcher): Extract from xref--find-xrefs.
      (xref--find-definitions): Use it.
    • Dmitry Gutov's avatar
      Support "reverting" Xref buffers (bug#35702) · 62349fe8
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--fetcher): New variable.
      (xref--xref-buffer-mode-map): Add binding for 'g'.
      (xref--revert-xref-buffer): New command.
      (xref--show-xref-buffer): Accept a function as the first argument.
      (xref--show-xrefs): Same.
      (xref--find-xrefs): Pass the above a fetcher function.
      * lisp/progmodes/project.el (project-find-regexp)
      (project-or-external-find-regexp): Same.
      * lisp/dired-aux.el (dired-do-find-regexp): Same.
  17. 22 May, 2019 2 commits
    • Dmitry Gutov's avatar
      Make xref-find-definitions more customizable · 1cadab78
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--show-defs-buffer): New function.
      Move a bit of logic from xref--show-defs to make it more
      (xref--push-markers): New function, extracted from
      (xref-show-definitions-function): Set to the new function.
    • Dmitry Gutov's avatar
      Separate xref-find-definitions' behavior from other commands · 49a363c8
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-show-definitions-function):
      New variable.
      (xref--show-defs): Split off from xref--show-xrefs.
      (xref--find-definitions): Use it.
      (xref--not-found-error): New function.
      (xref--show-xrefs): Simplify.  Show the list buffer even when
      there is just one item in the list.  Remove the last argument.
      * lisp/dired-aux.el (dired-do-find-regexp): Update accordingly.
  18. 02 May, 2019 3 commits
  19. 13 Apr, 2019 1 commit
    • Juri Linkov's avatar
      New faces in xref (bug#23179) · ed2b0bdf
      Juri Linkov authored
      * lisp/progmodes/xref.el (xref-file-header, xref-line-number)
      (xref-match):  New faces.
      (xref--insert-xrefs, xref--collect-matches-1): Use them.
  20. 24 Mar, 2019 1 commit
  21. 23 Feb, 2019 1 commit
  22. 06 Feb, 2019 1 commit
    • Juri Linkov's avatar
      Make window choice in xref commands configurable · 94b32084
      Juri Linkov authored
      Previously, it wasn't easy to tell xref.el commands like
      xref-find-definitions or xref-find-definitions-other-window how to
      choose a window for the *xref* buffer or how to find windows for
      displaying the results after choosing a candidate.  This patch makes
      that task easier, but keeps the current behaviour intact.
      Co-authored-by: default avatarJoão Távora <joaotavora@gmail.com>
      * lisp/progmodes/xref.el (xref--show-pos-in-buf): Simplify.
  23. 01 Jan, 2019 1 commit
  24. 24 Dec, 2018 2 commits
  25. 10 Nov, 2018 1 commit
  26. 29 Oct, 2018 1 commit
    • Michael Albinus's avatar
      Fix Bug#33006 · b9c60200
      Michael Albinus authored
      * lisp/cedet/semantic/symref/grep.el (semantic-symref-perform-search):
      * lisp/progmodes/xref.el (xref-collect-matches)
      (xref--collect-matches): Handle remote files.  (Bug#33006)
  27. 19 Sep, 2018 1 commit