1. 27 Dec, 2019 1 commit
  2. 24 Dec, 2019 1 commit
  3. 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.
      3aa8f4d4
    • 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-search-collection)
      (auth-source-secrets-listify-pattern)
      (auth-source--decode-octal-string, auth-source-plstore-search):
      * lisp/registry.el (registry-lookup)
      (registry-lookup-breaks-before-lexbind)
      (registry-lookup-secondary, registry-lookup-secondary-value)
      (registry-search, registry-delete, registry-size, registry-full)
      (registry-insert, registry-reindex, registry-prune)
      (registry-collect-prune-candidates):
      * 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)
      (nnmail-fancy-expiry-target):
      * 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)
      (zeroconf-get-host-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)
      (org-babel--variable-assignments:bash_array)
      (org-babel--variable-assignments:bash_assoc)
      (org-babel--variable-assignments:bash):
      * 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--get-cell-justify-property)
      (table--get-cell-valign-property)
      (table--put-cell-justify-property)
      (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-function)
      (tramp-completion-dissect-file-name)
      (tramp-completion-dissect-file-name1)
      (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.
      41ba8231
  4. 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).
      1071dfe1
  5. 14 Aug, 2019 1 commit
  6. 25 Jul, 2019 1 commit
  7. 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.
      d590b27e
  8. 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
      235ca1b4
  9. 16 Jun, 2019 1 commit
  10. 10 Jun, 2019 1 commit
  11. 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.
      4f479aeb
    • 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).
      (xref--show-common-initialize):
      Extract from xref--show-xref-buffer.
      (xref--show-defs-buffer-at-bottom): New function.
      ec563971
  12. 30 May, 2019 2 commits
  13. 25 May, 2019 3 commits
  14. 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).
      157d506d
    • 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.
      e309818e
    • 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.
      62349fe8
  15. 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
      customizable.
      (xref--push-markers): New function, extracted from
      xref--show-xrefs.
      (xref-show-definitions-function): Set to the new function.
      1cadab78
    • 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.
      49a363c8
  16. 02 May, 2019 3 commits
  17. 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.
      ed2b0bdf
  18. 24 Mar, 2019 1 commit
  19. 23 Feb, 2019 1 commit
  20. 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.
      94b32084
  21. 01 Jan, 2019 1 commit
  22. 24 Dec, 2018 2 commits
  23. 10 Nov, 2018 1 commit
  24. 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)
      b9c60200
  25. 19 Sep, 2018 1 commit
  26. 07 Aug, 2018 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of M-? · cd903253
      Eli Zaretskii authored
      * doc/emacs/maintaining.texi (Identifier Search):
      * lisp/progmodes/xref.el (xref-find-references): Improve
      documentation of xref-find-references and
      xref-prompt-for-identifier.  (Bug#32389)
      cd903253
  27. 07 Jul, 2018 1 commit
  28. 17 Apr, 2018 1 commit
    • Juri Linkov's avatar
      Use next-error-found to set next-error-last-buffer. · 0c9e3df3
      Juri Linkov authored
      https://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00207.html
      
      * lisp/simple.el (next-error-buffer): New buffer-local variable
      instead of making buffer-local next-error-last-buffer.  (Bug#20489)
      (next-error-found-function): New defcustom.
      (next-error-buffer-on-selected-frame): Use t for avoid-current arg
      of next-error-buffer-p.
      (next-error-find-buffer): Add second rule for using the current
      next-error-buffer if it's not visited by other navigation.
      (next-error, next-error-internal): Call next-error-found.
      (next-error-found): New function with body extracted mostly from
      next-error.
      
      * lisp/vc/add-log.el (change-log-goto-source-internal): New function
      with body from change-log-goto-source.
      (change-log-goto-source): Call change-log-goto-source-internal and
      next-error-found.
      (change-log-next-error): Call change-log-goto-source-internal
      instead of change-log-goto-source.
      (change-log-mode): Don't set next-error-last-buffer.  (Bug#28864)
      
      * lisp/vc/diff-mode.el (diff-goto-source): Call next-error-found.
      
      * lisp/progmodes/xref.el (xref-goto-xref): Call next-error-found.
      
      * lisp/replace.el (occur-mode-goto-occurrence)
      (occur-mode-goto-occurrence-other-window)
      (occur-mode-display-occurrence): Call next-error-found.
      (occur-next-error): Remove unnecessary with-current-buffer.
      (Bug#27362, bug#30646)
      0c9e3df3
  29. 03 Mar, 2018 1 commit