1. 28 Feb, 2017 7 commits
  2. 27 Feb, 2017 8 commits
  3. 26 Feb, 2017 5 commits
    • Paul Eggert's avatar
      Remove a few unused C functions · d83c75ec
      Paul Eggert authored
      * src/eval.c (let_shadows_global_binding_p):
      * src/print.c (write_string):
      * src/systhread.c (sys_mutex_destroy, sys_thread_equal):
      Remove.
      * src/print.c (write_string): Rename from write_string_1.
      All uses changed.
      d83c75ec
    • Eli Zaretskii's avatar
      Avoid segfault in overlay_arrows_changed_p · d8899b9d
      Eli Zaretskii authored
      * src/xdisp.c (overlay_arrows_changed_p): Fix recent change
      to avoid a segfault.
      d8899b9d
    • Noam Postavsky's avatar
      Don't call package--ensure-init-file if initialized during startup · 6b6cc56e
      Noam Postavsky authored
      * lisp/emacs-lisp/package.el (package-initialize): Check
      `after-init-time' rather than `load-file-name' to decide if
      `package--ensure-init-file' should be called.  Depending on
      `load-file-name' will fail if the user calls `pacakge-initialize' in
      file which is loaded from the init file (Bug#24643, Bug#25819).
      6b6cc56e
    • Eli Zaretskii's avatar
      Fix display of before- and after-strings at invisible text · 2bb467a2
      Eli Zaretskii authored
      * src/xdisp.c (next_overlay_string): Don't raise the
      ignore_overlay_strings_at_pos_p flag if the iterator is already
      set to continue at a buffer position different from the one
      where the overlay strings we just processed were loaded.  (Bug#25856)
      2bb467a2
    • Michael Albinus's avatar
      Work on `tramp-completion-mode-p' · 618310c2
      Michael Albinus authored
      * etc/NEWS: Say that `tramp-completion-mode' is obsolete.
      
      * lisp/net/tramp.el (tramp-completion-mode): Make it obsolete.
      (tramp-completion-mode-p): Reintroduce the check for 'tab.
      618310c2
  4. 25 Feb, 2017 9 commits
    • Tom Tromey's avatar
      Use font-lock-doc-face in js-mode · 8db75f0e
      Tom Tromey authored
      Bug#25858:
      * lisp/progmodes/js.el (js-font-lock-syntactic-face-function): New
      defun.
      (js-mode): Use it.
      * test/lisp/progmodes/js-tests.el (js-mode-doc-comment-face): New
      test.
      8db75f0e
    • Noam Postavsky's avatar
      Don't use IP 0.0.0.0 for package test server (Bug#22582) · 546d30ed
      Noam Postavsky authored
      * test/lisp/emacs-lisp/package-resources/package-test-server.py: Set
      'server_address' when port number is given on the command line.  Print
      IP and port number as a URL, and flush it after printing.
      * test/lisp/emacs-lisp/package-tests.el:
      (package-test-update-archives-async): Grab the whole URL from server
      output.
      546d30ed
    • Tom Tromey's avatar
      Add more branch support to vc-dir · 9e9d381f
      Tom Tromey authored
      Bug#25859:
      * lisp/vc/vc-dir.el (vc-dir-mode-map) Add "B" bindings.
      * lisp/vc/vc.el (vc-revision-history): New defvar.
      (vc-read-revision): Use vc-revision-history.
      (vc-print-branch-log): New function.
      * doc/emacs/maintaining.texi (VC Directory Commands): Document new
      bindings.
      * etc/NEWS: Mention new vc-dir bindings.
      9e9d381f
    • Alan Mackenzie's avatar
      Allow for the :: operator in C++ "enum class" declarations. · 54319e7a
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-backward-typed-enum-colon): Check for
      "::".
      54319e7a
    • Michael Albinus's avatar
      Fix bug#25854 · d79fd6c9
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
      Simplify error handling for huge inodes.
      (tramp-convert-file-attributes): Handle very huge inodes.  (Bug#25854)
      d79fd6c9
    • Eli Zaretskii's avatar
      Avoid leaving garbage on screen when using 'raise' display property · a3c9a554
      Eli Zaretskii authored
      * src/xdisp.c (display_line): Reset voffset value of the iterator
      when it hits ZV, to avoid "inheriting" it to glyph rows past ZV,
      which then leaves stuff on screen that needs to be cleared by
      redisplay.  (Bug#25855)
      a3c9a554
    • Peder O. Klingenberg's avatar
      New option -u / --suppress-output to emacsclient · ecbd5f9a
      Peder O. Klingenberg authored
      * lib-src/emacsclient.c (print_help_and_exit, longopts)
      (decode_options, main): Implement new option --suppress-output / -u to
      suppress printing of eval-results.
      * doc/emacs/misc.texi (emacsclient Options): Document the new
      "--suppress-output/-u" options.
      * etc/NEWS: Mention the new options.
      ecbd5f9a
    • Noam Postavsky's avatar
      Fix scrolling with partial line corner case (Bug#25792) · f0e7f39e
      Noam Postavsky authored
      Also fix up the scrolling tests so that they don't make so many
      assumptions about the current window configuration.
      
      * src/xdisp.c (try_window): Take partial line height into account when
      comparing cursor position against scroll margin.
      
      * test/manual/scroll-tests.el (scroll-tests-with-buffer-window): Add
      HEIGHT argument, to allow setting up window with exact height and
      partial line.
      (scroll-tests-display-buffer-with-height): New display-buffer action
      function.
      (scroll-tests-scroll-margin-over-max):
      (scroll-tests--scroll-margin-whole-window): Pass HEIGHT to
      `scroll-tests--scroll-margin-whole-window'.
      (scroll-tests-conservative-show-trailing-whitespace): New test.
      (scroll-tests-scroll-margin-negative): Fix line counting.
      (scroll-tests--point-in-middle-of-window-p): Set window height
      properly.
      f0e7f39e
    • Tom Tromey's avatar
      Fix indentation error in js.el · e52287ca
      Tom Tromey authored
      * lisp/progmodes/js.el (js--indent-in-array-comp): Wrap forward-sexp
      call in condition-case.
      * test/lisp/progmodes/js-tests.el (js-mode-indentation-error): New
      test.
      e52287ca
  5. 24 Feb, 2017 8 commits
    • Tom Tromey's avatar
      add "async" and "await" keywords · 7b49bd44
      Tom Tromey authored
      * lisp/progmodes/js.el (js--keyword-re): Add async, await.
      7b49bd44
    • Stefan Monnier's avatar
      Use cl-print for Edebug and EIEIO · 91932fff
      Stefan Monnier authored
      * lisp/emacs-lisp/edebug.el (edebug-prin1-to-string): Use cl-print.
      (edebug-prin1, edebug-print): Remove.
      
      * lisp/emacs-lisp/eieio.el (object-print): Declare obsolete.
      (cl-print-object): Add a method for EIEIO objects.
      (eieio-edebug-prin1-to-string): Delete.
      (edebug-prin1-to-string): Don't advise any more.
      
      * lisp/emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
      Replace `object-print' -> `cl-prin1-to-string'.
      91932fff
    • Stefan Monnier's avatar
      Fix left over uses of `call-next-method' · f1f17265
      Stefan Monnier authored
      * lisp/cedet/semantic/db-global.el (object-print):
      * lisp/cedet/semantic/db.el (object-print): Use `cl-call-next-method'.
      f1f17265
    • Stefan Monnier's avatar
      Minor redisplay optimisations · dee86744
      Stefan Monnier authored
      * src/frame.c (Ficonify_frame): No need to redisplay everything.
      
      * src/xdisp.c (overlay_arrows_changed_p): Add `set_redisplay' argument.
      (redisplay_internal): Use it to avoid redisplaying everything.
      (try_window_id): Use it keep the same behavior as before.
      dee86744
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-print.el: New file · 407e6504
      Stefan Monnier authored
      * lisp/emacs-lisp/nadvice.el (advice--where): New function.
      (advice--make-docstring): Use it.
      
      * src/print.c (print_number_index): Don't declare here any more.
      (Fprint_preprocess): New function.
      
      * test/lisp/emacs-lisp/cl-print-tests.el: New file.
      407e6504
    • Peder O. Klingenberg's avatar
      Make calc's least common multiple positive (bug#25255) · f6d2ba74
      Peder O. Klingenberg authored
      * lisp/calc/calc-comb.el (calcFunc-lcm): Return absolute value.
      * doc/misc/calc.texi (Combinatorial Functions): Update for the above.
      f6d2ba74
    • Gemini Lasswell's avatar
      Support read syntax for circular objects in Edebug (Bug#23660) · 8b912ab4
      Gemini Lasswell authored
      * lisp/emacs-lisp/edebug.el (edebug-read-special): New name
      for edebug-read-function. Handle the read syntax for circular
      objects.
      (edebug-read-objects): New variable.
      (edebug-read-and-maybe-wrap-form1): Reset edebug-read-objects.
      
      * src/lread.c (Fsubstitute_object_in_subtree): Make
      substitute_object_in_subtree into a Lisp primitive.
      8b912ab4
    • Lixin Chin's avatar
      Add Conference to the list of valid bibtex entry types · ba6c3824
      Lixin Chin authored
      * lisp/textmodes/bibtex.el (bibtex-BibTeX-entry-alist):
      Add Conference as a duplicate of InProceedings.  (Bug#25143)
      
      Copyright-paperwork-exempt: yes
      ba6c3824
  6. 23 Feb, 2017 3 commits