1. 14 May, 2018 6 commits
  2. 11 May, 2018 2 commits
    • João Távora's avatar
      Fix filesystem littering by Flymake's legacy backend · 15fa8de1
      João Távora authored
      The Flymake legacy "proc" backend, which is active by default will try
      to syntax-check foo.c/foo.cpp and many other types of files, but on
      failing to find a suitable Makefile target, will fail.  There's
      nothing wrong with that except that it used to leave behind the
      foo_flymake.c and foo_flymake.cpp auxiliary files behind, littering
      the filesystem.
      * lisp/progmodes/flymake-proc.el (flymake-proc-legacy-flymake):
      Call init-function inside of the unwind-protect.
    • Michael Albinus's avatar
      Tramp updates · e3d115ae
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
      Parse multibyte symlinks correctly.
      * test/lisp/net/tramp/tramp-tests.el (tramp--test-utf8):
      Improve backward compatibility.
  3. 10 May, 2018 2 commits
    • Basil L. Contovounesios's avatar
      Rewrite scroll-other-window-down in C (bug#30207) · eabb6f6c
      Basil L. Contovounesios authored
      * lisp/window.el (scroll-other-window-down):
      Move to src/window.c as Fscroll_other_window_down.
      * src/window.c (scroll_command): Generalise for arbitrary windows.
      (Fscroll_up, Fscroll_down): Use scroll_command with selected_window.
      (Fscroll_other_window, Fscroll_other_window_down):
      Rewrite in terms of scroll_command.
      (syms_of_window): Add Sscroll_other_window_down.
    • Basil L. Contovounesios's avatar
      Simplify "other window" bob/eob motion commands · ae92f52c
      Basil L. Contovounesios authored
      * lisp/window.el (beginning-of-buffer-other-window)
      Simplify via with-selected-window. (bug#30207)
  4. 06 May, 2018 3 commits
    • Xu Chunyang's avatar
      Fix gud-statement for pdb · 1d732d69
      Xu Chunyang authored
      * lisp/progmodes/gud.el (pdb): Fix the gud-print implementation.
    • Eli Zaretskii's avatar
      Don't remove highlight of misspelled word on pdict save · 91e582a3
      Eli Zaretskii authored
      * lisp/textmodes/ispell.el (ispell-pdict-save): Don't restart
      flyspell-mode, as bug#11963, which this was supposed to fix, is
      fixed better by ispell-command-loop, when the user types 'i' or
      'a'.  Restarting Flyspell mode when the personal dictionary is
      saved caused bug#31372 as side effect.
      (ispell-command-loop): Test 'flyspell-mode', not whether
      flyspell-unhighlight-at is fboundp, to determine whether Flyspell
      mode is turned on in the current buffer.
      (flyspell-unhighlight-at): Add declare-function form for it.
    • Michael Albinus's avatar
      Fix Bug#31272 · 6464a8d7
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls)
      (tramp-sh-handle-insert-directory): Use "--show-control-chars".
      (tramp-convert-file-attributes): Decode multibyte strings,
      produced by "stat".  (Bug#31272)
      * test/lisp/net/tramp-tests.el (tramp--test-utf8): Extend test.
  5. 05 May, 2018 2 commits
  6. 04 May, 2018 2 commits
  7. 03 May, 2018 4 commits
    • Eli Zaretskii's avatar
      Fix report-emacs-bug via mailclient on MS-Windows · 91de88bf
      Eli Zaretskii authored
      * lisp/net/browse-url.el (browse-url-default-windows-browser):
      On MS-Windows, call url-unhex-string only for file:// URLs.
    • Marco Wahl's avatar
      Fix next-page for dired (Bug#31061) · 8a652126
      Marco Wahl authored
      * lisp/textmodes/page-ext.el (next-page): Don't go back any pages if
      COUNT is 0.  For negative COUNT, end with point just after the last
      Co-authored-by: default avatarNoam Postavsky <npostavs@gmail.com>
    • Basil L. Contovounesios's avatar
      Minor simple.el simplifications (Bug#31211) · 74ff5ade
      Basil L. Contovounesios authored
      * lisp/simple.el (kill-append, push-mark, pop-mark):
      Simplify conditionals and surrounding code.
    • Basil L. Contovounesios's avatar
      Fix off-by-one history pruning (bug#31211) · f2c74543
      Basil L. Contovounesios authored
      * lisp/subr.el (add-to-history): Clarify docstring.
      Protect against negative history-length and unnecessary variable
      modification, as per read_minibuf.
      * lisp/ido.el (ido-record-command):
      * lisp/international/mule-cmds.el (deactivate-input-method):
      * lisp/isearch.el (isearch-done):
      * lisp/minibuffer.el (read-file-name-default):
      * lisp/net/eww.el (eww-save-history):
      * lisp/simple.el (edit-and-eval-command, repeat-complex-command):
      (command-execute, kill-new, push-mark):
      * src/callint.c (Fcall_interactively):
      * src/minibuf.c (read_minibuf): Delegate to add-to-history.
      * test/lisp/simple-tests.el (command-execute-prune-command-history):
      * test/src/callint-tests.el
      (call-interactively-prune-command-history): New tests.
  8. 02 May, 2018 4 commits
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Michael Albinus's avatar
      Adapt Tramp for auth-source · a5246dc0
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-read-passwd): auth-source could return
      cascaded functions.
    • Michael Albinus's avatar
      Fix some edge cases of tramp-smb · 8ae7c424
      Michael Albinus authored
      * lisp/net/tramp-smb.el (tramp-smb-errors):
      (tramp-smb-handle-delete-directory): Check, that the directory
      has been removed indeed.
      (tramp-smb-get-localname): Add further checks on filename syntax.
      * lisp/net/tramp.el (tramp-localname-regexp): Do not allow linefeeds.
      * test/lisp/net/tramp-tests.el (tramp-smb-get-localname): Declare.
      (auth-source-save-behavior): Set it to nil.
      (tramp-test01-file-name-syntax): Extend, checking for linefeeds.
      (tramp-test03-file-name-host-rules, tramp--test-utf8): Refine tests.
      (tramp-test03-file-name-method-rules): New test.
      (tramp--test-ignore-add-name-to-file-error): New defmacro.
      (tramp-test21-file-links): Use it.
  9. 01 May, 2018 3 commits
  10. 30 Apr, 2018 1 commit
    • Stefan Monnier's avatar
      * lisp/net/socks.el: Use lexical-binding and process properties · bca6c434
      Stefan Monnier authored
      Remove unneeded requires.  Better following commenting conventions.
      (socks-connections): Remove (use process properties instead).
      (socks-wait-for-state-change): Make it a function.
      (open-network-stream): Use an advice when overriding.
      (socks-send-command): Avoid string-make-unibyte.
      (socks--open-network-stream): New function (extracted from
      (socks-open-network-stream): Rewrite using it.
  11. 29 Apr, 2018 1 commit
  12. 28 Apr, 2018 2 commits
  13. 27 Apr, 2018 1 commit
  14. 26 Apr, 2018 4 commits
    • Lars Ingebrigtsen's avatar
      Strip most headers when forwarding messages · 5a5e4eb7
      Lars Ingebrigtsen authored
      * lisp/gnus/message.el (message-forward-included-headers): Change
      the default to exclude most messages.
      (message-remove-ignored-headers): Make
      message-forward-included-headers actually work -- it's a list of
      regexps, not a list of strings.
    • Noam Postavsky's avatar
      Add missing calendar-dlet* (Bug#31267) · 1d75604e
      Noam Postavsky authored
      * lisp/calendar/calendar.el (calendar-generate-month): Use
      calendar-dlet* around evaluation of calendar-date-echo-text.
    • Ivan Shmakov's avatar
      Ensure woman2-roff-buffer restores functions on error (Bug#30908) · 66dbb787
      Ivan Shmakov authored
      * lisp/woman.el (woman2-roff-buffer): Put the fallback paragraph
      processing inside the protected part of the unwind-protect form,
      rather than the cleanup forms.  Attempting to format paragraphs again
      after an error has been signaled is unlikely to be helpful.  The
      fallback processing should be triggered only in case the loop
      terminated normally, but did not reach the end of the buffer for some
    • Noam Postavsky's avatar
      Fix cl-print for circular sublists (Bug#31146) · b8aa7ecf
      Noam Postavsky authored
      * lisp/emacs-lisp/cl-print.el (cl-print-object) <cons>: Push each
      element of list being printed onto cl-print--currently-printing.
      * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-circle-2): New
  15. 25 Apr, 2018 3 commits