1. 04 Sep, 2017 4 commits
    • Glenn Morris's avatar
      emacsclient-tests: add some debug statements · 514e147d
      Glenn Morris authored
      * test/lib-src/emacsclient-tests.el
      (emacsclient-test-call-emacsclient): Add debug statements.
      514e147d
    • Michael Albinus's avatar
      Work on Tramp's (symbolic) links · 8a65d7a7
      Michael Albinus authored
      * doc/misc/tramp.texi (Traces and Profiles): Mention the
      backtrace when tramp-verbose is greater than or equal to 10.
      
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      Use `tramp-handle-add-name-to-file'.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Use
      `tramp-handle-add-name-to-file' and `tramp-handle-file-truename'.
      
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link): Improve.
      
      * lisp/net/tramp-smb.el (tramp-smb-errors):
      Add "NT_STATUS_CONNECTION_DISCONNECTED" and
      "NT_STATUS_OBJECT_PATH_SYNTAX_BAD".
      (tramp-smb-file-name-handler-alist): Use `tramp-handle-file-truename'.
      (tramp-smb-do-file-attributes-with-stat): Return non-nil only
      if one of the attributes is non-nil.
      (tramp-smb-handle-file-local-copy): Use `file-truename'.
      (tramp-smb-handle-file-truename): Move to tramp.el.
      (tramp-smb-handle-insert-directory): Show symlinks.
      (tramp-smb-handle-make-symbolic-link): Improve.
      (tramp-smb-read-file-entry): Handle extended file modes in Samba.
      
      * lisp/net/tramp.el (tramp-handle-add-name-to-file)
      (tramp-handle-file-truename): New defuns.
      
      * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Extend test.
      (tramp--test-check-files): Make check for "smb".
      8a65d7a7
    • Mark Oteiza's avatar
      Embed JSON readtable into json-read · 9314e6c5
      Mark Oteiza authored
      Also unroll dispatch into a cond.
      * lisp/json.el (json-readtable): Remove.
      (json-readtable-dispatch): New macro.  Assimilate json-readtable.
      (json-read): Use the macro.
      9314e6c5
    • Mark Oteiza's avatar
      Hexify strings in EWW search queries · 132f4472
      Mark Oteiza authored
      Previously, inputting "cats & dogs" would lose dogs because the
      ampersand signifies a query parameter.  Instead, hexify each word while
      preserving quotes with split-string.
      * lisp/net/eww.el (eww--dwim-expand-url): Join hexified words together
      with + separators, instead of replacing whitespace with +.
      132f4472
  2. 03 Sep, 2017 7 commits
  3. 02 Sep, 2017 4 commits
    • Philipp Stephani's avatar
      Improve error messages for improper plists (Bug#27726) · 71766a45
      Philipp Stephani authored
      * src/fns.c (Fplist_put, Flax_plist_get, Flax_plist_put)
      (Fplist_member, syms_of_fns): Use ‘plistp’ as pseudo-predicate for
      improper plists instead of ‘listp.’
      
      * test/src/fns-tests.el (plist-get/odd-number-of-elements)
      (lax-plist-get/odd-number-of-elements)
      (plist-put/odd-number-of-elements)
      (lax-plist-put/odd-number-of-elements)
      (plist-member/improper-list): Add unit tests.
      71766a45
    • Eli Zaretskii's avatar
      Fix decrypting in plstore.el on MS-Windows · dbe1e55d
      Eli Zaretskii authored
      * lisp/plstore.el (plstore-open): Bind coding-system-for-read to
      raw-text, instead of using insert-file-contents-literally.
      (Bug#28114)
      dbe1e55d
    • Eli Zaretskii's avatar
      f529fc15
    • Eli Zaretskii's avatar
      Rewrite Antinews for Emacs 26 · c89f3ff3
      Eli Zaretskii authored
      * doc/lispref/anti.texi (Antinews): Rewrite for Emacs 26.
      * doc/lispref/elisp.texi (Top): Update the top-level menu's
      Antinews entry.
      * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 26.
      * doc/emacs/emacs.texi (Top): Update the top-level menu's Antinews
      entry.
      
      * etc/NEWS: Rearrange some entries in a more reasonable order.
      c89f3ff3
  4. 01 Sep, 2017 9 commits
  5. 31 Aug, 2017 11 commits
    • Mark Oteiza's avatar
      ; Escape some character literals · c5c9f5d7
      Mark Oteiza authored
      * lisp/leim/quail/latin-ltx.el: Escape some fancy brackets.
      c5c9f5d7
    • Mark Oteiza's avatar
      Make ucs-names a hash table (Bug#28302) · 96c2c098
      Mark Oteiza authored
      * etc/NEWS: Mention the type change.
      * lisp/descr-text.el (describe-char): Use gethash to access ucs-names.
      Hardcode BEL's name into the function instead of needlessly mapping
      over the hash table in the spirit of rassoc.
      * lisp/international/mule-cmds.el (ucs-names): Fix variable and
      function docstrings.  Initialize a hash table for ucs-names--the
      number of entries is 42845 here.  Switch to hash-table
      getters/setters.
      (mule--ucs-names-annotation): Use hash-table getter.
      (char-from-name): Upcase the string if ignore-case is truthy.
      * lisp/leim/quail/latin-ltx.el: Use maphash instead of dolist.
      96c2c098
    • Alan Third's avatar
      Remove unneeded version checks (bug#28222) · e6a2b4c2
      Alan Third authored
      * src/macfont.h (CGContextSetFontSmoothingStyle): Remove version
      check.
      * src/macfont.m (macfont_draw): Remove version check, and test for
      existence of CGContextSetFontSmoothingStyle.
      e6a2b4c2
    • Alan Mackenzie's avatar
      Fix a glitch in CC Mode's syntactic whitespace cache. · 5fe41a23
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-forward-sws): Deal correctly with a block
      comment close at the end of a macro.
      5fe41a23
    • Alan Mackenzie's avatar
      Correct the fontification of C++ Mode enclosed declarations. · 201f950e
      Alan Mackenzie authored
      * lisp/progmodes/cc-fonts.el (c-font-lock-enclosing-decls): abolish the
      spurious check that the character before the start of an enclosed declaration
      must be ; or }.  It might also be {.
      201f950e
    • Martin Rudalics's avatar
      In xterm.c fix some recently introduced compiler warnings · 7bb75e3d
      Martin Rudalics authored
      * src/xterm.c (xaw_jump_callback)
      (x_set_toolkit_scroll_bar_thumb): Fix some recently introduced
      -Wdouble-promotion warnings.
      7bb75e3d
    • Martin Rudalics's avatar
      Restrict fix of Bug#24963 and Bug#25887 to GTK builds · f44184f1
      Martin Rudalics authored
      * src/xterm.c (handle_one_xevent): Restrict earlier fix of
      Bug#24963 and Bug#25887 to avoid that a non-GTK Emacs won't
      react to state changes received via ConfigureNotify.
      f44184f1
    • Katsumi Yamaoka's avatar
      Respect directory a user enters (bug#28299) · a4f6b109
      Katsumi Yamaoka authored
      * lisp/gnus/mm-decode.el (mm-save-part):
      Respect directory a user enters (bug#28299).
      a4f6b109
    • Samuel Freilich's avatar
      Do not split line before width of fill-prefix · cda26e64
      Samuel Freilich authored
      When auto-filling a paragraph, don't split a line before the width of the
      fill-prefix, creating a subsequent line that is as long or longer (Bug#20774).
      * lisp/simple.el (do-auto-fill): Only consider break-points that are later in
      the line than the width of the fill-prefix.  This is a more general solution
      than the previous logic, which only skipped over the exact fill-prefix.  The
      fill-prefix doesn't necessarily match the prefix of the first line of a
      paragraph in adaptive-fill-mode.
      cda26e64
    • Noam Postavsky's avatar
      Support lazy loading for autogenerated usage docstrings too (Bug#27748) · 16029586
      Noam Postavsky authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
      Consider any documentation that ended up in code as a docstring (e.g.,
      autogenerated (fn ARG1 ARG2) type things), not just what the user
      passed.
      16029586
    • Noam Postavsky's avatar
      Drop docstrings from cl-defsubst produced inline bodies (Bug#27748) · bc5d96a0
      Noam Postavsky authored
      * lisp/emacs-lisp/cl-macs.el (cl-defsubst): Use macroexp-parse-progn
      to drop the docstring.  Add a simple docstring to the compiler-macro.
      bc5d96a0
  6. 30 Aug, 2017 5 commits