1. 04 Jun, 2020 1 commit
  2. 05 May, 2020 1 commit
  3. 14 Apr, 2020 1 commit
    • Mattias Engdegård's avatar
      Fix edge case errors in filename-matching regexps · 4acdd7fe
      Mattias Engdegård authored
      These changes fix actual or latent bugs in regexps that match
      file names, such as PATTERN arguments to 'directory-files'.  See
      https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00265.html
      
      * admin/authors.el (authors-obsolete-files-regexps)
      (authors-renamed-files-regexps):
      * lisp/auth-source-pass.el (auth-source-pass-entries):
      * lisp/calendar/todo-mode.el (todo-show, todo-find-filtered-items-file)
      (todo-filter-items, todo-reset-nondiary-marker, todo-reset-done-string)
      (todo-reset-comment-string, todo-reset-highlight-item):
      * lisp/cedet/semantic/db-ebrowse.el (semanticdb-load-ebrowse-caches):
      * lisp/cedet/semantic/texi.el (semantic-texi-associated-files):
      * lisp/cedet/srecode/map.el (srecode-map-update-map):
      * lisp/dired.el (dired-re-no-dot):
      * lisp/emacs-lisp/autoload.el (update-directory-autoloads):
      * lisp/emacs-lisp/shadow.el (load-path-shadows-find):
      * lisp/files.el (auto-mode-alist, directory-files-no-dot-files-regexp):
      * lisp/finder.el (finder-compile-keywords):
      * lisp/generic-x.el (inetd-conf-generic-mode, named-boot-generic-mode)
      (resolve-conf-generic-mode, etc-modules-conf-generic-mode):
      * lisp/gnus/gnus-agent.el (gnus-agent-read-agentview)
      (gnus-agent-regenerate-group, gnus-agent-update-files-total-fetched-for):
      * lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group):
      * lisp/gnus/gnus-score.el (gnus-score-search-global-directories):
      * lisp/gnus/gnus-util.el (gnus-delete-directory):
      * lisp/gnus/gnus-uu.el (gnus-uu-dir-files):
      * lisp/gnus/nndraft.el (nndraft-request-group):
      * lisp/gnus/nnmh.el (nnmh-request-group, nnmh-request-create-group):
      (nnmh-request-delete-group, nnmh-active-number, nnmh-update-gnus-unreads):
      * lisp/gnus/nnspool.el (nnspool-request-group):
      * lisp/gnus/spam-stat.el (spam-stat-process-directory)
      (spam-stat-test-directory):
      * lisp/help-fns.el (help-fns--first-release):
      * lisp/help.el (view-emacs-news):
      * lisp/international/quail.el (quail-update-leim-list-file):
      * lisp/international/titdic-cnv.el (batch-titdic-convert):
      * lisp/mail/mspools.el (mspools-set-vm-spool-files)
      (mspools-get-spool-files):
      * lisp/mail/rmail.el (rmail-secondary-file-regexp)
      (rmail-speedbar-match-folder-regexp):
      * lisp/net/ange-ftp.el (ange-ftp-delete-directory):
      * lisp/net/tramp.el (tramp-use-absolute-autoload-file-names):
      * lisp/obsolete/gulp.el (gulp-send-requests):
      * lisp/obsolete/vc-arch.el (vc-arch-trim-revlib):
      * lisp/org/ob-core.el (org-babel-remove-temporary-directory):
      * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp, ebnf-style-database):
      * lisp/progmodes/executable.el (executable-command-find-posix-p):
      * lisp/startup.el (command-line):
      * lisp/textmodes/refer.el (refer-get-bib-files):
      * lisp/url/url-about.el (url-probe-protocols):
      * lisp/vc/vc-rcs.el (vc-rcs-register, vc-rcs-unregister):
      * test/lisp/net/tramp-archive-tests.el
      (tramp-archive-test19-directory-files-and-attributes):
      * test/lisp/net/tramp-tests.el (tramp-test19-directory-files-and-attributes):
      Replace ^ and $ with \` and \', respectively.
      Use (rx (or (not ".") "...")), translated into "[^.]\\|\\.\\.\\.",
      to match anything but "." and "..", instead of several incorrect
      regexps.
      4acdd7fe
  4. 06 Mar, 2020 1 commit
    • Juri Linkov's avatar
      Fix handling of empty input in describe-variable and describe-symbol · 7e8b8da9
      Juri Linkov authored
      * lisp/help-fns.el (describe-variable): Use 'user-error' like in
      'describe-function'.
      (describe-symbol): Use empty string for arg SYMBOL when input is empty
      and there is no default value.
      This allows to signal the error "You didn't specify a function or variable"
      instead of displaying help about the symbol 'nil' on empty input.
      OTOH, still allows to see help about 'nil' when the input is "nil".
      7e8b8da9
  5. 04 Mar, 2020 1 commit
  6. 03 Mar, 2020 1 commit
    • Štěpán Němec's avatar
      Use help-fns-short-filename in other describe- commands · 0f94f698
      Štěpán Němec authored
      The commit
      
      2015-01-16T22:52:15-05:00!monnier@iro.umontreal.ca
      24b7f775
      (Improve handling of doc-strings and describe-function for cl-generic)
      
      added 'help-fns-short-filename', which provides file name shortening
      smarter than a simple 'file-name-nondirectory' call, but besides the
      generic/eieio functions ('cl--generic-describe', 'cl--describe-class',
      'eieio-help-constructor'), it is currently only used by
      'describe-function' (via 'help-fns-function-description-header').
      
      Make the other help commands use it, too.
      
      (Other than the obvious consistency/maintenance argument, my immediate
      motivation for this change is the possibility to customize the file
      name abbreviation by advising the function.)
      
      * lisp/help.el (describe-mode): Move to help-fns.el.  The command was
      already depending on 'find-lisp-object-file-name' defined there.
      * lisp/help-fns.el (describe-variable) (describe-face) (describe-keymap)
      (describe-mode): Use 'help-fns-short-filename'.
      0f94f698
  7. 04 Feb, 2020 2 commits
    • Stefan Kangas's avatar
      Provide default for describe-keymap prompt · 330228d5
      Stefan Kangas authored
      * lisp/help-fns.el (describe-keymap): Provide a reasonable
      default for prompt.  (Bug#30660)
      (help-fns-find-keymap-name)
      (help-fns--most-relevant-active-keymap): New functions.
      
      * test/lisp/help-fns-tests.el
      (help-fns-test-find-keymap-name): New test.
      330228d5
    • Stefan Kangas's avatar
      Add new help command describe-keymap · 557b790e
      Stefan Kangas authored
      * lisp/help-fns.el (describe-keymap): New command to show key bindings
      for a given keymap.  (Bug#30660)
      * doc/emacs/help.texi (Misc Help): Document the new command.
      * doc/lispref/keymaps.texi (Scanning Keymaps): Add a cross-reference
      to the above documentation.
      * etc/NEWS: Announce the new command.
      
      * test/lisp/help-fns-tests.el (help-fns-test-describe-keymap/symbol)
      (help-fns-test-describe-keymap/value)
      (help-fns-test-describe-keymap/not-keymap)
      (help-fns-test-describe-keymap/let-bound)
      (help-fns-test-describe-keymap/dynamically-bound-no-file): New tests.
      Co-authored-by: default avatarDrew Adams <drew.adams@oracle.com>
      557b790e
  8. 01 Jan, 2020 1 commit
  9. 27 Nov, 2019 1 commit
    • Eli Zaretskii's avatar
      Make some anonymous faces extend to EOL · 2435f811
      Eli Zaretskii authored
      * lisp/vc/log-edit.el (log-edit-font-lock-keywords):
      * lisp/mpc.el (mpc-separator):
      * lisp/help.el (describe-key):
      * lisp/help-fns.el (describe-symbol): Make the anonymous faces
      extend to EOL.
      2435f811
  10. 03 Nov, 2019 1 commit
  11. 14 Oct, 2019 3 commits
  12. 09 Oct, 2019 1 commit
  13. 01 Oct, 2019 1 commit
  14. 22 Sep, 2019 1 commit
  15. 20 Sep, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Move describe-face to the new help-fns machinery · c56fabdf
      Lars Ingebrigtsen authored
      * lisp/help-fns.el (describe-face): Move to here from faces.el and
      split up (bug#36670).
      (help-fns--face-custom-version-info):
      (help-fns--face-attributes): Factored out into own functions.
      (help-fns-describe-face-functions): New variable.
      
      * lisp/emacs-lisp/subr-x.el (when-let): Add autoload cookie.
      c56fabdf
  16. 17 Aug, 2019 1 commit
  17. 15 Aug, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Rename variables and functions with "auto-load" in their names · b3713265
      Lars Ingebrigtsen authored
      * doc/emacs/building.texi (Lisp Libraries): Adjust documentation.
      
      * lisp/help-fns.el (help--symbol-completion-table): Adjust usage.
      
      * lisp/help-fns.el (help-enable-completion-autoload): Change name
      from auto-load and declare an obsolete alias (bug#13418).
      
      * lisp/help.el (help-enable-autoload): Ditto.
      
      * lisp/progmodes/vhdl-mode.el: Ditto.
      (vhdl-create-mode-menu, vhdl-mode): Adjust usage.
      (vhdl-autoload-project): Rename from auto-load and declare an
      obsolete alias.
      b3713265
  18. 14 Jul, 2019 3 commits
  19. 26 Jun, 2019 3 commits
  20. 03 Jun, 2019 1 commit
  21. 02 Jun, 2019 1 commit
  22. 25 May, 2019 1 commit
    • Paul Eggert's avatar
      Go back to "Maintainer: emacs-devel@gnu.org" · f744797a
      Paul Eggert authored
      Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is
      no special maintainer for a file.  Although this wasn't documented
      it was common practice and removing the lines didn't have consensus.
      f744797a
  23. 21 May, 2019 1 commit
    • Noam Postavsky's avatar
      Add option to disable help completion autoloading (Bug#28607) · 400907b3
      Noam Postavsky authored
      * lisp/help-fns.el (help-enable-completion-auto-load): New option.
      (help--symbol-completion-table): Consult it.
      * doc/emacs/building.texi (Lisp Libraries): Document it.
      * etc/NEWS: Announce it.
      * doc/lispref/loading.texi (Autoload by Prefix): New section.
      (Autoload): Reference it.
      400907b3
  24. 20 May, 2019 1 commit
  25. 12 Apr, 2019 1 commit
    • Stefan Monnier's avatar
      * lisp/help-fns.el (help-fns-describe-variable-functions): New hook · 896e5802
      Stefan Monnier authored
      (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete)
      (help-fns--interactive-only): Indent output by 2 spaces.
      (help-fns--side-effects): New function extracted from
      describe-function-1.
      (help-fns-describe-function-functions): Use it.
      (help-fns--first-release, help-fns--mention-first-release): New functions.
      (help-fns-function-description-header): Keymaps and macros can't
      be interactive.
      (help-fns--ensure-empty-line): New function.
      (describe-function-1): Use it.
      (help-fns--var-safe-local, help-fns--var-risky)
      (help-fns--var-ignored-local, help-fns--var-file-local)
      (help-fns--var-watchpoints, help-fns--var-obsolete)
      (help-fns--var-alias, help-fns--var-bufferlocal): New functions,
      extacted from describe-variable.
      (describe-variable): Run help-fns-describe-variable-functions instead.
      896e5802
  26. 01 Mar, 2019 1 commit
    • Eli Zaretskii's avatar
      Be more defensive regarding elements of 'load-history' · 8eb94161
      Eli Zaretskii authored
      * lisp/loadhist.el (file-dependents):
      * lisp/apropos.el (apropos-library):
      * lisp/help-fns.el (help-fns--autoloaded-p, help--loaded-p):
      * lisp/emacs-lisp/package.el (package--list-loaded-files):
      Don't assume 'load-history' elements must have a string as their
      'car'.  (Bug#34462)
      8eb94161
  27. 08 Jan, 2019 1 commit
  28. 01 Jan, 2019 1 commit
  29. 02 Nov, 2018 1 commit
  30. 30 Mar, 2018 1 commit
  31. 02 Feb, 2018 1 commit
  32. 01 Jan, 2018 1 commit
  33. 19 Nov, 2017 1 commit
    • Paul Eggert's avatar
      Spelling fixes · b2518ac7
      Paul Eggert authored
      * lisp/help-fns.el (help-fns--analyze-function):
      Rename from help-fns--analyse-function.
      All uses changed.
      b2518ac7