1. 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
  2. 01 Jan, 2020 1 commit
  3. 13 Dec, 2019 1 commit
    • Noam Postavsky's avatar
      Add prefix to help.el uni-confusable* vars · 966abdba
      Noam Postavsky authored
      * lisp/help.el (help-uni-confusables, help-uni-confusables-regexp):
      Rename from uni-confusable and uni-confusables-regexp, respectively.
      (help-uni-confusable-suggestions): Use ngettext.  Use new variable
      name.
      * lisp/emacs-lisp/lisp-mode.el (lisp--match-confusable-symbol-character):
      Use new variable name.
      966abdba
  4. 28 Nov, 2019 1 commit
    • Noam Postavsky's avatar
      Improve errors & warnings due to fancy quoted vars (Bug#32939) · b2790db0
      Noam Postavsky authored
      Add some hints to the message for byte compiler free & unused variable
      warnings, and 'void-variable' errors where the variable has confusable
      quote characters in it.
      * lisp/help.el (uni-confusables), uni-confusables-regexp): New
      constants.
      (help-command-error-confusable-suggestions): New function, added to
      `command-error-function'.
      (help-uni-confusable-suggestions): New function.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-variable-ref):
      * lisp/emacs-lisp/cconv.el (cconv--analyze-use): Use it.
      
      * lisp/emacs-lisp/lisp-mode.el
      (lisp--match-confusable-symbol-character): New function.
      (lisp-fdefs): Use it to fontify confusable characters with
      font-lock-warning-face when they occur in symbol names.
      * doc/lispref/modes.texi (Faces for Font Lock):
      * doc/lispref/objects.texi (Basic Char Syntax): Recommend backslash
      escaping of confusable characters, and mention new fontification.
      * etc/NEWS: Announce the new fontification behavior.
      * test/lisp/emacs-lisp/lisp-mode-tests.el (lisp-fontify-confusables):
      New test.
      b2790db0
  5. 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
  6. 23 Nov, 2019 2 commits
  7. 19 Nov, 2019 1 commit
  8. 09 Oct, 2019 1 commit
  9. 20 Sep, 2019 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el: Fix typos and other trivial doc fixes · 11432322
      Juanma Barranquero authored
      * lisp/allout-widgets.el (allout-widgets-auto-activation)
      (allout-current-decorated-p):
      * lisp/auth-source.el (auth-source-protocols):
      * lisp/autorevert.el (auto-revert-set-timer):
      * lisp/battery.el (battery-mode-line-limit):
      * lisp/calc/calcalg3.el (math-map-binop):
      * lisp/calendar/cal-dst.el (calendar-dst-find-startend):
      * lisp/calendar/cal-mayan.el (calendar-mayan-long-count-to-absolute):
      * lisp/calendar/calendar.el (calendar-date-echo-text)
      (calendar-generate-month, calendar-string-spread)
      (calendar-cursor-to-date, calendar-read, calendar-read-date)
      (calendar-mark-visible-date, calendar-dayname-on-or-before):
      * lisp/calendar/diary-lib.el (diary-ordinal-suffix):
      * lisp/cedet/ede/autoconf-edit.el (autoconf-new-program)
      (autoconf-find-last-macro, autoconf-parameter-strip):
      * lisp/cedet/ede/config.el (ede-target-with-config-build):
      * lisp/cedet/ede/linux.el (ede-linux--detect-architecture)
      (ede-linux--get-architecture):
      * lisp/cedet/semantic/complete.el (semantic-collector-calculate-cache)
      (semantic-displayer-abstract, semantic-displayer-point-position):
      * lisp/cedet/semantic/format.el (semantic-format-face-alist)
      (semantic-format-tag-short-doc):
      * lisp/cedet/semantic/fw.el (semantic-find-file-noselect):
      * lisp/cedet/semantic/idle.el (semantic-idle-scheduler-work-idle-time)
      (semantic-idle-breadcrumbs-display-function)
      (semantic-idle-breadcrumbs-format-tag-list-function):
      * lisp/cedet/semantic/lex.el (semantic-lex-map-types)
      (define-lex, define-lex-block-type-analyzer):
      * lisp/cedet/semantic/senator.el (senator-search-default-tag-filter):
      * lisp/cedet/semantic/symref.el (semantic-symref-result)
      (semantic-symref-hit-to-tag-via-db):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
      * lisp/cedet/semantic/tag.el (semantic-tag-new-variable)
      (semantic-tag-new-include, semantic-tag-new-package)
      (semantic-tag-set-faux, semantic-create-tag-proxy)
      (semantic-tag-function-parent)
      (semantic-tag-components-with-overlays):
      * lisp/cedet/srecode/cpp.el (srecode-cpp-namespaces)
      (srecode-semantic-handle-:c, srecode-semantic-apply-tag-to-dict):
      * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary)
      (srecode-dictionary-add-entries, srecode-dictionary-lookup-name)
      (srecode-create-dictionaries-from-tags):
      * lisp/cmuscheme.el (scheme-compile-region):
      * lisp/color.el (color-lab-to-lch):
      * lisp/doc-view.el (doc-view-image-width)
      (doc-view-set-up-single-converter):
      * lisp/dynamic-setting.el (font-setting-change-default-font)
      (dynamic-setting-handle-config-changed-event):
      * lisp/elec-pair.el (electric-pair-text-pairs)
      (electric-pair-skip-whitespace-function)
      (electric-pair-string-bound-function):
      * lisp/emacs-lisp/avl-tree.el (avl-tree--del-balance)
      (avl-tree-member, avl-tree-mapcar, avl-tree-iter):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-generate-call-tree):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-autofix-flag)
      (checkdoc-spellcheck-documentation-flag, checkdoc-ispell)
      (checkdoc-ispell-current-buffer, checkdoc-ispell-interactive)
      (checkdoc-ispell-message-interactive)
      (checkdoc-ispell-message-text, checkdoc-ispell-start)
      (checkdoc-ispell-continue, checkdoc-ispell-comments)
      (checkdoc-ispell-defun):
      * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
      * lisp/emacs-lisp/eieio-custom.el (eieio-read-customization-group):
      * lisp/emacs-lisp/lisp.el (forward-sexp, up-list):
      * lisp/emacs-lisp/package-x.el (package--archive-contents-from-file):
      * lisp/emacs-lisp/package.el (package-desc)
      (package--make-autoloads-and-stuff, package-hidden-regexps):
      * lisp/emacs-lisp/tcover-ses.el (ses-exercise-startup):
      * lisp/emacs-lisp/testcover.el (testcover-nohits)
      (testcover-1value):
      * lisp/epg.el (epg-receive-keys, epg-start-edit-key):
      * lisp/erc/erc-backend.el (erc-server-processing-p)
      (erc-split-line-length, erc-server-coding-system)
      (erc-server-send, erc-message):
      * lisp/erc/erc-button.el (erc-button-face, erc-button-alist)
      (erc-browse-emacswiki):
      * lisp/erc/erc-ezbounce.el (erc-ezbounce, erc-ezb-get-login):
      * lisp/erc/erc-fill.el (erc-fill-variable-maximum-indentation):
      * lisp/erc/erc-log.el (erc-current-logfile):
      * lisp/erc/erc-match.el (erc-log-match-format)
      (erc-text-matched-hook):
      * lisp/erc/erc-netsplit.el (erc-netsplit, erc-netsplit-debug):
      * lisp/erc/erc-networks.el (erc-server-alist)
      (erc-networks-alist, erc-current-network):
      * lisp/erc/erc-ring.el (erc-input-ring-index):
      * lisp/erc/erc-speedbar.el (erc-speedbar)
      (erc-speedbar-update-channel):
      * lisp/erc/erc-stamp.el (erc-timestamp-only-if-changed-flag):
      * lisp/erc/erc-track.el (erc-track-position-in-mode-line)
      (erc-track-remove-from-mode-line, erc-modified-channels-update)
      (erc-track-last-non-erc-buffer, erc-track-sort-by-importance)
      (erc-track-get-active-buffer):
      * lisp/erc/erc.el (erc-get-channel-user-list)
      (erc-echo-notice-hook, erc-echo-notice-always-hook)
      (erc-wash-quit-reason, erc-format-@nick):
      * lisp/ffap.el (ffap-latex-mode):
      * lisp/files.el (abort-if-file-too-large)
      (dir-locals--get-sort-score, buffer-stale--default-function):
      * lisp/filesets.el (filesets-tree-max-level, filesets-data)
      (filesets-update-pre010505):
      * lisp/gnus/gnus-agent.el (gnus-agent-flush-cache):
      * lisp/gnus/gnus-art.el (gnus-article-encrypt-protocol)
      (gnus-button-prefer-mid-or-mail):
      * lisp/gnus/gnus-cus.el (gnus-group-parameters):
      * lisp/gnus/gnus-demon.el (gnus-demon-handlers)
      (gnus-demon-run-callback):
      * lisp/gnus/gnus-dired.el (gnus-dired-print):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event-from-buffer):
      * lisp/gnus/gnus-range.el (gnus-range-normalize):
      * lisp/gnus/gnus-spec.el (gnus-pad-form):
      * lisp/gnus/gnus-srvr.el (gnus-server-agent, gnus-server-cloud)
      (gnus-server-opened, gnus-server-closed, gnus-server-denied)
      (gnus-server-offline):
      * lisp/gnus/gnus-sum.el (gnus-refer-thread-use-nnir)
      (gnus-refer-thread-limit-to-thread)
      (gnus-summary-limit-include-thread, gnus-summary-refer-thread)
      (gnus-summary-find-matching):
      * lisp/gnus/gnus-util.el (gnus-rescale-image):
      * lisp/gnus/gnus.el (gnus-summary-line-format, gnus-no-server):
      * lisp/gnus/mail-source.el (mail-source-incoming-file-prefix):
      * lisp/gnus/message.el (message-cite-reply-position)
      (message-cite-style-outlook, message-cite-style-thunderbird)
      (message-cite-style-gmail, message--send-mail-maybe-partially):
      * lisp/gnus/mm-extern.el (mm-inline-external-body):
      * lisp/gnus/mm-partial.el (mm-inline-partial):
      * lisp/gnus/mml-sec.el (mml-secure-message-sign)
      (mml-secure-message-sign-encrypt, mml-secure-message-encrypt):
      * lisp/gnus/mml2015.el (mml2015-epg-key-image)
      (mml2015-epg-key-image-to-string):
      * lisp/gnus/nndiary.el (nndiary-reminders, nndiary-get-new-mail):
      * lisp/gnus/nnheader.el (nnheader-directory-files-is-safe):
      * lisp/gnus/nnir.el (nnir-search-history)
      (nnir-imap-search-other, nnir-artlist-length)
      (nnir-artlist-article, nnir-artitem-group, nnir-artitem-number)
      (nnir-artitem-rsv, nnir-article-group, nnir-article-number)
      (nnir-article-rsv, nnir-article-ids, nnir-categorize)
      (nnir-retrieve-headers-override-function)
      (nnir-imap-default-search-key, nnir-hyrex-additional-switches)
      (gnus-group-make-nnir-group, nnir-run-namazu, nnir-read-parms)
      (nnir-read-parm, nnir-read-server-parm, nnir-search-thread):
      * lisp/gnus/nnmairix.el (nnmairix-default-group)
      (nnmairix-propagate-marks):
      * lisp/gnus/smime.el (smime-keys, smime-crl-check)
      (smime-verify-buffer, smime-noverify-buffer):
      * lisp/gnus/spam-report.el (spam-report-url-ping-mm-url):
      * lisp/gnus/spam.el (spam-spamassassin-positive-spam-flag-header)
      (spam-spamassassin-spam-status-header, spam-sa-learn-rebuild)
      (spam-classifications, spam-check-stat, spam-spamassassin-score):
      * lisp/help.el (describe-minor-mode-from-symbol):
      * lisp/hippie-exp.el (hippie-expand-ignore-buffers):
      * lisp/htmlfontify.el (hfy-optimizations, hfy-face-resolve-face)
      (hfy-begin-span):
      * lisp/ibuf-ext.el (ibuffer-update-saved-filters-format)
      (ibuffer-saved-filters, ibuffer-old-saved-filters-warning)
      (ibuffer-filtering-qualifiers, ibuffer-repair-saved-filters)
      (eval, ibuffer-unary-operand, file-extension, directory):
      * lisp/image-dired.el (image-dired-cmd-pngcrush-options):
      * lisp/image-mode.el (image-toggle-display):
      * lisp/international/ccl.el (ccl-compile-read-multibyte-character)
      (ccl-compile-write-multibyte-character):
      * lisp/international/kkc.el (kkc-save-init-file):
      * lisp/international/latin1-disp.el (latin1-display):
      * lisp/international/ogonek.el (ogonek-name-encoding-alist)
      (ogonek-information, ogonek-lookup-encoding)
      (ogonek-deprefixify-region):
      * lisp/isearch.el (isearch-filter-predicate)
      (isearch--momentary-message):
      * lisp/jsonrpc.el (jsonrpc-connection-send)
      (jsonrpc-process-connection, jsonrpc-shutdown)
      (jsonrpc--async-request-1):
      * lisp/language/tibet-util.el (tibetan-char-p):
      * lisp/mail/feedmail.el (feedmail-queue-use-send-time-for-date)
      (feedmail-last-chance-hook, feedmail-before-fcc-hook)
      (feedmail-send-it-immediately-wrapper, feedmail-find-eoh):
      * lisp/mail/hashcash.el (hashcash-generate-payment)
      (hashcash-generate-payment-async, hashcash-insert-payment)
      (hashcash-verify-payment):
      * lisp/mail/rmail.el (rmail-movemail-variant-in-use)
      (rmail-get-attr-value):
      * lisp/mail/rmailmm.el (rmail-mime-prefer-html, rmail-mime):
      * lisp/mail/rmailsum.el (rmail-summary-show-message):
      * lisp/mail/supercite.el (sc-raw-mode-toggle):
      * lisp/man.el (Man-start-calling):
      * lisp/mh-e/mh-acros.el (mh-do-at-event-location)
      (mh-iterate-on-messages-in-region, mh-iterate-on-range):
      * lisp/mh-e/mh-alias.el (mh-alias-system-aliases)
      (mh-alias-reload, mh-alias-ali)
      (mh-alias-canonicalize-suggestion, mh-alias-add-alias-to-file)
      (mh-alias-add-alias):
      * lisp/mouse.el (mouse-save-then-kill):
      * lisp/net/browse-url.el (browse-url-default-macosx-browser):
      * lisp/net/eudc.el (eudc-set, eudc-variable-protocol-value)
      (eudc-variable-server-value, eudc-update-variable)
      (eudc-expand-inline):
      * lisp/net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
      * lisp/net/eudcb-ldap.el (eudc-ldap-get-field-list):
      * lisp/net/pop3.el (pop3-list):
      * lisp/net/soap-client.el (soap-namespace-put)
      (soap-xs-parse-sequence, soap-parse-envelope):
      * lisp/net/soap-inspect.el (soap-inspect-xs-complex-type):
      * lisp/nxml/rng-xsd.el (rng-xsd-date-to-days):
      * lisp/org/ob-C.el (org-babel-prep-session:C)
      (org-babel-load-session:C):
      * lisp/org/ob-J.el (org-babel-execute:J):
      * lisp/org/ob-asymptote.el (org-babel-prep-session:asymptote):
      * lisp/org/ob-awk.el (org-babel-execute:awk):
      * lisp/org/ob-core.el (org-babel-process-file-name):
      * lisp/org/ob-ebnf.el (org-babel-execute:ebnf):
      * lisp/org/ob-forth.el (org-babel-execute:forth):
      * lisp/org/ob-fortran.el (org-babel-execute:fortran)
      (org-babel-prep-session:fortran, org-babel-load-session:fortran):
      * lisp/org/ob-groovy.el (org-babel-execute:groovy):
      * lisp/org/ob-io.el (org-babel-execute:io):
      * lisp/org/ob-js.el (org-babel-execute:js):
      * lisp/org/ob-lilypond.el (org-babel-default-header-args:lilypond)
      (org-babel-lilypond-compile-post-tangle)
      (org-babel-lilypond-display-pdf-post-tangle)
      (org-babel-lilypond-tangle)
      (org-babel-lilypond-execute-tangled-ly)
      (org-babel-lilypond-compile-lilyfile)
      (org-babel-lilypond-check-for-compile-error)
      (org-babel-lilypond-process-compile-error)
      (org-babel-lilypond-mark-error-line)
      (org-babel-lilypond-parse-error-line)
      (org-babel-lilypond-attempt-to-open-pdf)
      (org-babel-lilypond-attempt-to-play-midi)
      (org-babel-lilypond-switch-extension)
      (org-babel-lilypond-set-header-args):
      * lisp/org/ob-lua.el (org-babel-prep-session:lua):
      * lisp/org/ob-picolisp.el (org-babel-execute:picolisp):
      * lisp/org/ob-processing.el (org-babel-prep-session:processing):
      * lisp/org/ob-python.el (org-babel-prep-session:python):
      * lisp/org/ob-scheme.el (org-babel-scheme-capture-current-message)
      (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
      * lisp/org/ob-shen.el (org-babel-execute:shen):
      * lisp/org/org-agenda.el (org-agenda-entry-types)
      (org-agenda-move-date-from-past-immediately-to-today)
      (org-agenda-time-grid, org-agenda-sorting-strategy)
      (org-agenda-filter-by-category, org-agenda-forward-block):
      * lisp/org/org-colview.el (org-columns--overlay-text):
      * lisp/org/org-faces.el (org-verbatim, org-cycle-level-faces):
      * lisp/org/org-indent.el (org-indent-set-line-properties):
      * lisp/org/org-macs.el (org-get-limited-outline-regexp):
      * lisp/org/org-mobile.el (org-mobile-files):
      * lisp/org/org.el (org-use-fast-todo-selection)
      (org-extend-today-until, org-use-property-inheritance)
      (org-refresh-effort-properties, org-open-at-point-global)
      (org-track-ordered-property-with-tag, org-shiftright):
      * lisp/org/ox-html.el (org-html-checkbox-type):
      * lisp/org/ox-man.el (org-man-source-highlight)
      (org-man-verse-block):
      * lisp/org/ox-publish.el (org-publish-sitemap-default):
      * lisp/outline.el (outline-head-from-level):
      * lisp/progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-calc-command-indent, dcl-indent-to):
      * lisp/progmodes/flymake.el (flymake-make-diagnostic)
      (flymake--overlays, flymake-diagnostic-functions)
      (flymake-diagnostic-types-alist, flymake--backend-state)
      (flymake-is-running, flymake--collect, flymake-mode):
      * lisp/progmodes/gdb-mi.el (gdb-threads-list, gdb, gdb-non-stop)
      (gdb-buffers, gdb-gud-context-call, gdb-jsonify-buffer):
      * lisp/progmodes/grep.el (grep-error-screen-columns):
      * lisp/progmodes/gud.el (gud-prev-expr):
      * lisp/progmodes/ps-mode.el (ps-mode, ps-mode-target-column)
      (ps-run-goto-error):
      * lisp/progmodes/python.el (python-eldoc-get-doc)
      (python-eldoc-function-timeout-permanent, python-eldoc-function):
      * lisp/shadowfile.el (shadow-make-group):
      * lisp/speedbar.el (speedbar-obj-do-check):
      * lisp/textmodes/flyspell.el (flyspell-auto-correct-previous-hook):
      * lisp/textmodes/reftex-cite.el (reftex-bib-or-thebib):
      * lisp/textmodes/reftex-index.el (reftex-index-goto-entry)
      (reftex-index-kill, reftex-index-undo):
      * lisp/textmodes/reftex-parse.el (reftex-context-substring):
      * lisp/textmodes/reftex.el (reftex-TeX-master-file):
      * lisp/textmodes/rst.el (rst-next-hdr, rst-toc)
      (rst-uncomment-region, rst-font-lock-extend-region-internal):
      * lisp/thumbs.el (thumbs-mode):
      * lisp/vc/ediff-util.el (ediff-restore-diff):
      * lisp/vc/pcvs-defs.el (cvs-cvsroot, cvs-force-dir-tag):
      * lisp/vc/vc-hg.el (vc-hg--ignore-patterns-valid-p):
      * lisp/wid-edit.el (widget-field-value-set, string):
      * lisp/x-dnd.el (x-dnd-version-from-flags)
      (x-dnd-more-than-3-from-flags): Assorted docfixes.
      11432322
  10. 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
  11. 05 Aug, 2019 2 commits
  12. 06 Jul, 2019 1 commit
  13. 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
  14. 20 May, 2019 1 commit
  15. 10 May, 2019 1 commit
    • Stefan Monnier's avatar
      * lisp/help.el (help--read-key-sequence): Handle `switch-frame' events · 65563480
      Stefan Monnier authored
      If you do `C-h k ... mouse-1 in other frame` (at least if you have a focus
      that follows the mouse), then additionally to the down-mouse-1 and mouse-1
      events, a `switch-frame` event (and `select-window` event as well sometimes)
      is generated.  When `read-key-sequence` is called with nil for
      `can-return-switch-frame`, this event is not returned but kept for later,
      which causes a subsequent `sit-for` to return nil immediately.
      This interfered without our "wait for double-click" which in turn prevented
      us from stopping after the mouse-1 click, getting stuck waiting for something
      else instead.
      
      (help--read-key-sequence): Pass a non-nil `can-return-switch-frame`, so the
      subsequent `sit-for` returns more trustworthy information.
      65563480
  16. 08 May, 2019 1 commit
  17. 01 May, 2019 1 commit
  18. 11 Jan, 2019 1 commit
    • Glenn Morris's avatar
      Remove some obsolete stub files from etc/ · 8fe21b03
      Glenn Morris authored
      * etc/CENSORSHIP, etc/FTP, etc/GNU, etc/LINUX-GNU, etc/MORE.STUFF:
      * etc/ORDERS, etc/THE-GNU-PROJECT, etc/WHY-FREE:
      Remove stub files that were marked obsolete 5 years ago.
      8fe21b03
  19. 01 Jan, 2019 1 commit
  20. 25 Oct, 2018 1 commit
  21. 02 Jul, 2018 1 commit
    • John Shahid's avatar
      Optionally add argument description in minor mode DOC (bug#10754) · ee3e4323
      John Shahid authored
      Add a paragraph to minor mode's docstring documenting the mode's ARG
      usage if the supplied docstring doesn't already contain the word "ARG".
      
      * easy-mmode.el (easy-mmode--arg-docstring): New const.
      (easy-mmode--arg-docstring): New function.
      (define-minor-mode): Use them.
      
      Remove argument documentation from all minor modes.
      ee3e4323
  22. 24 May, 2018 1 commit
  23. 05 May, 2018 1 commit
  24. 02 Apr, 2018 1 commit
    • Simona Arizanova's avatar
      Make help-for-help window searchable (Bug#19655) · 956c39d1
      Simona Arizanova authored
      * lisp/help.el (help-map): Map C-s to new function
      search-forward-help-for-help.
      (help-for-help-internal): In doc-string add entry for C-s.
      (search-forward-help-for-help): New function.
      
      Copyright-paperwork-exempt: yes
      956c39d1
  25. 20 Mar, 2018 1 commit
    • Nick Helm's avatar
      Improve documentation of 'with-help-window' · 2fb52abd
      Nick Helm authored
      * doc/lispref/help.texi (Help Functions): Change variable name
      to 'buffer-or-name'.
      
      * lisp/help.el (with-help-window): Change variable name to
      'buffer-or-name' and rewrite the doc string, adding reference
      to 'help-window-setup'.  (Bug#30792)
      2fb52abd
  26. 11 Mar, 2018 1 commit
    • Glenn Morris's avatar
      Remove many items obsolete since Emacs 22.1 · f1c48b0e
      Glenn Morris authored
      Emacs 22.1 was five major releases and over decade ago.
      In bug reporting statistics, it's been absent for around 5 years.
      Ref: https://debbugs.gnu.org/stats/emacs.html
      This list can be reviewed before to the next release, but for
      now hopefully this motivates any needed external updates.
      * lisp/arc-mode.el (archive-mouse-extract):
      * lisp/bookmark.el (bookmark-exit-hooks):
      * lisp/comint.el (comint-use-prompt-regexp-instead-of-fields):
      * lisp/cus-edit.el (custom-face-save-command):
      * lisp/descr-text.el (describe-char-after):
      * lisp/desktop.el (desktop-enable, desktop-basefilename)
      (desktop-buffer-modes-to-save, desktop-buffer-misc-functions)
      (desktop-buffer-handlers, desktop-load-default):
      * lisp/dired-x.el (dired-omit-files-p):
      * lisp/frame.el (new-frame, set-default-font, delete-frame-hook)
      (blink-cursor):
      * lisp/generic-x.el (generic-define-mswindows-modes)
      (generic-define-unix-modes):
      * lisp/help.el (describe-project, view-todo):
      * lisp/hilit-chg.el (highlight-changes-colours):
      * lisp/ibuffer.el (ibuffer-elide-long-columns, ibuffer-hooks)
      (ibuffer-mode-hooks):
      * lisp/imenu.el (imenu-always-use-completion-buffer-p):
      * lisp/isearch.el (isearch-lazy-highlight-cleanup)
      (isearch-lazy-highlight-initial-delay)
      (isearch-lazy-highlight-interval)
      (isearch-lazy-highlight-max-at-a-time)
      (isearch-lazy-highlight-cleanup):
      * lisp/mwheel.el (mouse-wheel-down-button)
      (mouse-wheel-up-button, mouse-wheel-click-button):
      * lisp/novice.el (disabled-command-hook):
      * lisp/recentf.el (recentf-menu-append-commands-p):
      * lisp/savehist.el (savehist-load):
      * lisp/speedbar.el (speedbar-ignored-path-expressions)
      (speedbar-ignored-path-regexp, speedbar-add-ignored-path-regexp)
      (speedbar-line-path, speedbar-buffers-line-path, speedbar-path-line):
      * lisp/subr.el (assoc-ignore-case, assoc-ignore-representation)
      (x-lost-selection-hooks, x-sent-selection-hooks)
      (process-kill-without-query):
      * lisp/calendar/icalendar.el (icalendar-convert-diary-to-ical)
      (icalendar-extract-ical-from-buffer):
      * lisp/emacs-lisp/autoload.el (update-autoloads-from-directories):
      * lisp/emacs-lisp/derived.el (derived-mode-class):
      * lisp/emacs-lisp/generic.el (generic-font-lock-defaults):
      * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
      * lisp/gnus/spam.el (spam-list-of-processors):
      * lisp/international/latin1-disp.el (latin1-char-displayable-p):
      * lisp/mail/rmail.el (rmail-pop-password, rmail-pop-password-required):
      * lisp/net/goto-addr.el (goto-address-at-mouse):
      * lisp/net/net-utils.el (ipconfig-program, ipconfig-program-options):
      * lisp/obsolete/iswitchb.el (iswitchb-use-fonts):
      * lisp/play/dunnet.el (dungeon-mode-map):
      * lisp/progmodes/compile.el (compilation-finish-function)
      * lisp/progmodes/cperl-mode.el (cperl-vc-header-alist)
      * lisp/progmodes/gud.el (tooltip-gud-modes, tooltip-gud-display)
      (tooltip-gud-toggle-dereference):
      * lisp/progmodes/pascal.el (pascal-outline):
      * lisp/progmodes/perl-mode.el (electric-perl-terminator):
      * lisp/textmodes/nroff-mode.el (count-text-lines)
      (forward-text-line, backward-text-line, electric-nroff-newline)
      (electric-nroff-mode):
      * lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index)
      (vc-previous-comment, vc-next-comment)
      (vc-comment-search-reverse, vc-comment-search-forward)
      (vc-comment-to-change-log):
      * lisp/vc/pcvs-info.el (cvs-display-full-path)
      (cvs-fileinfo->full-path):
      * lisp/vc/vc.el (vc-diff-switches-list):
      Remove items, obsolete since Emacs 22.1.
      * lisp/ibuffer.el (ibuffer-cached-elide-long-columns):
      Remove internal variable.
      (ibuffer-compile-make-eliding-form, ibuffer-check-formats):
      (ibuffer-mode): Remove support for ibuffer-elide-long-columns.
      * lisp/cedet/semantic/sb.el (semantic-sb-token-jump):
      Remove support for speedbar-line-path.
      * lisp/emacs-lisp/unsafep.el (assoc-ignore-case):
      Stop marking as side-effect-free.
      * lisp/gnus/spam.el (spam-group-processor-p):
      Remove support for spam-list-of-processors.
      * lisp/progmodes/compile.el (define-compilation-mode)
      (compilation-handle-exit):
      Remove support for compilation-finish-function.
      * lisp/progmodes/cperl-mode.el (cperl-mode):
      Remove support for cperl-vc-header-alist.
      ; * lisp/files.el: Comments.
      ; * etc/NEWS: List removed items.
      f1c48b0e
  27. 27 Feb, 2018 1 commit
    • Glenn Morris's avatar
      Quieten without-x, without-xml2 builds · ea2008ae
      Glenn Morris authored
      * lisp/help.el (x-display-pixel-height, x-display-pixel-width):
      * lisp/image.el (image-flush, image-size):
      * lisp/textmodes/sgml-mode.el (libxml-parse-html-region):
      Declare for compiler.
      ea2008ae
  28. 24 Feb, 2018 1 commit
  29. 22 Feb, 2018 1 commit
  30. 30 Jan, 2018 1 commit
    • Stefan Monnier's avatar
      * lisp/help.el: Rework describe-key's handling of up and double clicks · 9d4af3e6
      Stefan Monnier authored
      Use lexical-binding.
      (help--binding-undefined-p): New function, extracted from help--analyze-key.
      (help--analyze-key): Use it.
      (help--filter-info-list): New function.
      (describe-key-briefly): Change calling convention.
      Handle a list of key sequences now.
      (help--binding-locus): Remove unused var 'found'.
      (help--read-key-sequence): Rename from help-read-key-sequence.
      Almost complete rewrite, with a different return value.
      (help-downify-mouse-event-type): Remove.
      (describe-key): Change calling convention.
      Handle a list of key sequences now.
      9d4af3e6
  31. 01 Jan, 2018 1 commit
  32. 29 Dec, 2017 1 commit
  33. 24 Dec, 2017 1 commit
    • Alan Mackenzie's avatar
      In C-h k <mouse-n>, alert user to existence of any matching down-mouse-event · f3819ad1
      Alan Mackenzie authored
      , and instruct her to hold the mouse button to display its documentation.
      
      * lisp/help.el (help-downify-mouse-event-type): New function.
      (help-read-key-sequence, describe-key): handle double-click-time being nil or
      t.
      (describe-key): Print out instructions for displaying documentation of
      matching mouse down key sequence command when such exists.
      f3819ad1
  34. 23 Dec, 2017 1 commit
    • Alan Mackenzie's avatar
      Make C-h c/k S-mouse-1 display message for mouse-appearance-menu, etc. · de89c0b6
      Alan Mackenzie authored
      Currently, C-h c/k for S-mouse-1 reports that S-mouse-1 is unbound, ignoring
      that S-down-mouse-1 is bound.  We fix this by reporting on the "latest" mouse
      event of a sequence which is bound.
      
      * lisp/help.el (help-read-key-sequence): Save all encountered mouse events in
      a list.  Return the latest one which has a binding.
      de89c0b6
  35. 18 Nov, 2017 1 commit
    • Alan Mackenzie's avatar
      Filter obtrusive events in help-read-key-sequence. · e9dd580c
      Alan Mackenzie authored
      This fixes most of bug #29272.
      
      * lisp/help.el (help-read-key-sequence): After a mouse event, pause for 0.01s,
      discarding any events (such as <help-echo>) received in this time, before
      polling for the double-click (etc.) events which may follow.  This fixes the
      infinite loop which occurred whwn <help-echo> events triggered a sit-for
      whilst handling menu events.
      e9dd580c
  36. 11 Nov, 2017 1 commit
    • Olaf Rogalsky's avatar
      Fix "C-h k" in xterm-mouse-mode · 44340b47
      Olaf Rogalsky authored
      * lisp/help.el (help-read-key-sequence): Support "C-h k" for
      xterm-mouse-mode by calling read-key-sequence-vector instead of
      read-event.  (Bug#29150)
      44340b47
  37. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  38. 14 Jul, 2017 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el: Fix bug#14860. · 6e2d6d54
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile--function-signature): New fun.
      Dig into advice wrappers to find the "real" signature.
      (byte-compile-callargs-warn, byte-compile-arglist-warn): Use it.
      (byte-compile-arglist-signature): Don't bother with "new-style" arglists,
      since bytecode functions are now handled in byte-compile--function-signature.
      
      * lisp/files.el (create-file-buffer, insert-directory):
      Remove workaround introduced for (bug#14860).
      
      * lisp/help-fns.el (help-fns--analyse-function): `nadvice` is preloaded.
      
      * lisp/help.el (help-function-arglist):
      Dig into advice wrappers to find the "real" signature.
      6e2d6d54