1. 28 Apr, 2018 2 commits
    • Eli Zaretskii's avatar
      Fix documentation and tests for 'string-distance' · a7a3918a
      Eli Zaretskii authored
      * src/fns.c (Fstring_distance): Doc fix.
      
      * doc/lispref/strings.texi (Text Comparison): Document
      'string-distance'.
      
      * etc/NEWS: Fix wording and mark as documented in the manuals.
      
      * test/src/fns-tests.el (test-string-distance): Move from
      subr-tests.el and rename.
      a7a3918a
    • Chen Bin's avatar
      New function 'string-distance' · c6e65039
      Chen Bin authored
      * src/fns.c (Fstring_distance): New primitive.
      (syms_of_fns): Defsubr it.
      
      * test/lisp/subr-tests.el (subr-tests--string-distance): New test.
      
      * etc/NEWS: Mention 'string-distance'.
      c6e65039
  2. 27 Apr, 2018 3 commits
  3. 26 Apr, 2018 5 commits
  4. 25 Apr, 2018 7 commits
  5. 24 Apr, 2018 6 commits
  6. 23 Apr, 2018 5 commits
    • Eli Zaretskii's avatar
      Fix recent change in lread.c · fa3136e0
      Eli Zaretskii authored
      * src/lread.c (openp): Avoid assertion violations in XCDR when
      PATH is nil.  (Bug#31229)
      fa3136e0
    • Paul Eggert's avatar
      Backspace is not a paragraph separator in Texinfo files · 3c6b5991
      Paul Eggert authored
      * lisp/textmodes/texinfo.el (texinfo-mode): Omit backspace from
      paragraph separator and start.  Perhaps there was some confusion
      about .texi vs .info files long ago?
      3c6b5991
    • Eli Zaretskii's avatar
      d1ab86f2
    • Michael Albinus's avatar
      Let Tramp save passwords · 0ecc10a7
      Michael Albinus authored
      * lisp/auth-source.el (auth-source-secrets-saver): New defun.
      (auth-source-secrets-create): Use it.
      
      * lisp/net/secrets.el (secrets-struct-secret-content-type):
      (secrets-create-item): Do not hard-code :xdg:schema.
      
      * lisp/net/tramp.el (tramp-password-save-function): New defvar.
      (tramp-read-passwd): Set it properly.
      (tramp-process-actions):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
      Save password.
      
      * lisp/net/tramp-cmds.el (tramp-bug): Don't report
      `tramp-password-save-function'.
      
      * test/lisp/net/secrets-tests.el (secrets-test03-items):
      Extend test with another :xdg:schema.
      0ecc10a7
    • Michael Albinus's avatar
      Ensure proper EOL handling for Tramp on macOS · e7044d29
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
      Ensure proper EOL handling for Darwin.
      e7044d29
  7. 22 Apr, 2018 6 commits
  8. 21 Apr, 2018 1 commit
    • Juri Linkov's avatar
      Update documentation for more next-error features · 47d8e799
      Juri Linkov authored
      * doc/emacs/maintaining.texi (Change Log Commands): Mention
      change-log-goto-source.
      
      * doc/emacs/building.texi (Compilation Mode): Document
      next-error-find-buffer-function and next-error-select-buffer.
      
      * doc/emacs/building.texi (Grep Searching):
      * doc/emacs/files.texi (Diff Mode):
      * doc/emacs/search.texi (Other Repeating Search):
      * doc/emacs/windows.texi (Displaying Buffers):
      Prefer ‘M-g M-n’ over ‘C-x `’.
      
      * lisp/simple.el (next-error-find-buffer-function, next-error)
      (next-error-select-buffer): Elaborate docstrings.  (Bug#20493)
      47d8e799
  9. 20 Apr, 2018 5 commits
    • Glenn Morris's avatar
      Tweak recent bytecomp defvaralias change · 94e794c8
      Glenn Morris authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar-function):
      Respect with-no-warnings.
      94e794c8
    • Glenn Morris's avatar
      More alias-related tedium · 18de2ada
      Glenn Morris authored
      * lisp/comint.el (comint-scroll-to-bottom-on-output):
      * lisp/completion.el (cmpl-syntax-table):
      * lisp/erc/erc-button.el (erc-button-google-url):
      * lisp/font-lock.el (font-lock-reference-face):
      * lisp/hfy-cmap.el (hfy-fallback-colour-map, hfy-rgb-txt-colour-map):
      * lisp/isearch.el (isearch-regexp-function, isearch-new-word):
      * lisp/startup.el (argv):
      * lisp/version.el (emacs-bzr-version):
      * lisp/org/org.el (org-CUA-compatible)
      (org-popup-calendar-for-date-prompt):
      Move aliases before targets, to silence new compiler warning.
      18de2ada
    • Glenn Morris's avatar
      The tedious game of whack-a-mole with compiler warnings continues · 9c3eeba4
      Glenn Morris authored
      * lisp/abbrev.el (edit-abbrevs-map):
      * lisp/emacs-lock.el (emacs-lock-from-exiting):
      * lisp/htmlfontify.el (hfy-optimisations):
      * lisp/ielm.el (inferior-emacs-lisp-mode-hook)
      (inferior-emacs-lisp-mode-map):
      * lisp/isearch.el (isearch-lazy-highlight-word):
      * lisp/select.el (x-select-enable-clipboard, x-select-enable-primary):
      * lisp/shell.el (shell-dirtrack-mode):
      * lisp/skeleton.el (skeleton-transformation, skeleton-filter):
      * lisp/startup.el (inhibit-splash-screen, inhibit-startup-message):
      * lisp/window.el (even-window-heights):
      * lisp/calendar/timeclock.el (timeclock-modeline-display):
      * lisp/cedet/semantic/db-mode.el (semanticdb-mode-hook)
      (semanticdb-global-mode):
      * lisp/emacs-lisp/edebug.el (gud-inhibit-global-bindings):
      * lisp/emacs-lisp/warnings.el (display-warning-minimum-level)
      (log-warning-minimum-level):
      * lisp/erc/erc-dcc.el (erc-dcc-chat-filter-hook):
      * lisp/gnus/nnspool.el (news-path):
      * lisp/org/org-agenda.el (org-agenda-search-view-search-words-only)
      (org-agenda-remove-tags-when-in-prefix)
      (org-agenda-align-tags-to-column, org-agenda-keymap):
      * lisp/org/org.el (org-special-ctrl-a)
      (org-log-state-notes-into-drawer)
      (org-agenda-multi-occur-extra-files):
      * lisp/progmodes/flymake-proc.el (flymake-err-line-patterns)
      (flymake-check-file-limit):
      * lisp/progmodes/make-mode.el (makefile-query-one-target-method):
      * lisp/progmodes/octave.el (inferior-octave-startup-hook):
      * lisp/progmodes/python.el (python-buffer)
      (python-preoutput-result):
      * lisp/progmodes/sql.el (sql-dialect):
      * lisp/textmodes/artist.el (artist-text-renderer):
      * lisp/textmodes/bibtex.el (bibtex-autokey-name-case-convert)
      (bibtex-autokey-titleword-case-convert):
      * lisp/textmodes/flyspell.el (flyspell-generic-check-word-p):
      * lisp/textmodes/ispell.el (ispell-format-word):
      * lisp/textmodes/rst.el (rst-preferred-decorations):
      * lisp/textmodes/sgml-mode.el (sgml-transformation):
      Move aliases before targets, to silence new compiler warning.
      * lisp/term/ns-win.el (ns-option-modifier, ns-right-option-modifier):
      Silence warning.
      9c3eeba4
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar-function): · 495963cf
      Stefan Monnier authored
      Warn about defvaralias that follows instead of precedes its var.
      495963cf
    • Stefan Monnier's avatar
      71b108a5