1. 06 Jul, 2019 1 commit
  2. 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
  3. 20 May, 2019 1 commit
  4. 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
  5. 08 May, 2019 1 commit
  6. 01 May, 2019 1 commit
  7. 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
  8. 01 Jan, 2019 1 commit
  9. 25 Oct, 2018 1 commit
  10. 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
  11. 24 May, 2018 1 commit
  12. 05 May, 2018 1 commit
  13. 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
  14. 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
  15. 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
  16. 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
  17. 24 Feb, 2018 1 commit
  18. 22 Feb, 2018 1 commit
  19. 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
  20. 01 Jan, 2018 1 commit
  21. 29 Dec, 2017 1 commit
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 01 Jul, 2017 2 commits
    • Noam Postavsky's avatar
      Ignore mouse-movement for describe-key-briefly (Bug#12204) · e620bbe3
      Noam Postavsky authored
      * lisp/help.el (help-read-key-sequence): Add optional argument ot
      ignore `mouse-movement' events.
      (describe-key-briefly): Use it.
      * doc/emacs/help.texi (Key Help):
      * etc/NEWS: Mention that mouse movement is ignored.
      e620bbe3
    • Noam Postavsky's avatar
      Refactor key describing commands · 2bd32ede
      Noam Postavsky authored
      * lisp/help.el (help-read-key-sequence, help--analyze-key): New
      functions, extracted from `describe-key' and `describe-key-briefly'.
      (describe-key, describe-key-briefly): Use them.
      2bd32ede
  29. 20 May, 2017 1 commit
    • Philipp Stephani's avatar
      Reimplement module functions · 31fded03
      Philipp Stephani authored
      Instead of a lambda, create a new type containing all data required to
      call the function, and support it in the evaluator.  Because this type
      now also needs to store the function documentation, it is too big for
      Lisp_Misc; use a pseudovector instead.  That also has the nice benefit
      that we don't have to add special support to the garbage collector.
      
      Since the new type is user-visible, give it a predicate.
      
      Now we can easily support 'help-function-args' and 'func-arity'; add
      unit tests for these.
      
      * src/lisp.h (allocate_module_function, MODULE_FUNCTIONP)
      (XMODULE_FUNCTION): New pseudovector type 'module function'.
      
      * src/eval.c (FUNCTIONP): Also treat module functions as functions.
      (funcall_lambda, Ffuncall, eval_sub): Add support for calling module
      functions.
      (Ffunc_arity): Add support for detecting the arity of module
      functions.
      
      * src/emacs-module.c (module_make_function): Adapt to new structure.
      Return module function object directly instead of wrapping it in a
      lambda; remove FIXME.
      (funcall_module): New function to call module functions.  Replaces
      `internal--module-call' and is called directly from eval.c.
      (syms_of_module): Remove internal helper function, which is no longer
      needed.
      (module_function_arity): New helper function.
      
      * src/data.c (Ftype_of): Adapt to new implementation.
      (Fmodule_function_p, syms_of_data): New user-visible function.  Now
      that module functions are first-class objects, they deserve a
      predicate.  Define it even if not compiled with --enable-modules so
      that Lisp code doesn't have to check for the function's existence.
      
      * src/doc.c (Fdocumentation): Support module functions.
      
      * src/print.c (print_object): Adapt to new implementation.
      
      * src/alloc.c (mark_object): Specialized garbage collector support is
      no longer needed.
      
      * lisp/help.el (help-function-arglist): Support module functions.
      While there, simplify the arity calculation by using `func-arity',
      which does the right thing for all kinds of functions.
      
      * test/data/emacs-module/mod-test.c: Amend docstring so we can test
      the argument list.
      
      * test/src/emacs-module-tests.el (mod-test-sum-docstring): Adapt to
      new docstring.
      (mod-test-non-local-exit-signal-test): Because `internal--module-call'
      is gone, the backtrace has changed and no longer leaks the
      implementation.
      (module--func-arity): New test for `func-arity'.
      (module--help-function-arglist): New test for `help-function-arglist'.
      31fded03
  30. 02 Apr, 2017 1 commit
  31. 01 Jan, 2017 1 commit
  32. 11 May, 2016 1 commit
    • Dmitry Gutov's avatar
      Redo the fix for bug#21839 · f79c3523
      Dmitry Gutov authored
      * lisp/help.el (help-add-fundoc-usage): Undo the previous change.
      (help--make-usage-docstring): Escape newlines when printing.
      
      * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
      Ditto (bug#21839).
      f79c3523
  33. 09 May, 2016 1 commit
  34. 27 Apr, 2016 1 commit
  35. 04 Mar, 2016 1 commit
  36. 19 Feb, 2016 1 commit
  37. 01 Jan, 2016 1 commit
  38. 18 Dec, 2015 1 commit
  39. 28 Oct, 2015 1 commit