1. 25 May, 2017 3 commits
  2. 24 May, 2017 15 commits
    • Michael Albinus's avatar
      Fix Tramp for python.el · b2ec91db
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-get-connection-process): Check,
      that VEC is a `tramp-file-name' structure.
      b2ec91db
    • Alan Third's avatar
      Raise version of macOS we define instancetype for (bug#27059) · ad8b60ee
      Alan Third authored
      * src/nsterm.m: Increase supported version number.
      ad8b60ee
    • Alan Third's avatar
      Define new types on macOS 10.6 (bug#27041) · d61d443f
      Alan Third authored
      * src/nsterm.h: Enable instancetype typedef for older macOS, and use
      correct NSUInteger instead of int.
      d61d443f
    • Glenn Morris's avatar
      Don't autoload new dns-mode command · c0f90833
      Glenn Morris authored
      * lisp/textmodes/dns-mode.el (dns-mode-ipv6-to-nibbles):
      Remove autoload cookie.
      c0f90833
    • Stefan Monnier's avatar
      * src/fns.c (sxhash): Fix records hashing (bug#27057, bug#26639) · 7dfe682e
      Stefan Monnier authored
      (sxhash_vector): Make it work on pseudo vectors as well.
      (sxhash): Treat records like vectors.
      7dfe682e
    • Michael Albinus's avatar
      Adapt tramp-tests.el according to new defstruct · ac36012d
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp-test03-file-name-defaults):
      Fix test according to new defstruct.
      (tramp-test29-environment-variables-and-port-numbers):
      Expect it now as passed.  Cleanup at the end.
      ac36012d
    • Michael Albinus's avatar
      Introduce a defstruct `tramp-file-name' as central data structure. · dca22e86
      Michael Albinus authored
      This solves also Bug#27009.
      
      * lisp/net/tramp.el (tramp-current-domain)
      (tramp-current-port): New defvars.
      (tramp-file-name): New defstruct.
      (tramp-file-name-user-domain, tramp-file-name-host-port)
      (tramp-file-name-equal-p): New defuns.
      (tramp-file-name-p, tramp-file-name-method)
      (tramp-file-name-user, tramp-file-name-host)
      (tramp-file-name-localname, tramp-file-name-hop)
      (tramp-file-name-real-user, tramp-file-name-domain)
      (tramp-file-name-real-host, tramp-file-name-port):
      Remove defuns.  They are provided by the defstruct, or not
      needed anymore.
      (tramp-dissect-file-name, tramp-buffer-name)
      (tramp-make-tramp-file-name, tramp-get-buffer)
      (tramp-set-connection-local-variables)
      (tramp-debug-buffer-name, tramp-message)
      (tramp-error-with-buffer, with-parsed-tramp-file-name)
      (tramp-completion-dissect-file-name1)
      (tramp-handle-file-name-as-directory)
      (tramp-handle-file-name-directory)
      (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
      (tramp-handle-find-backup-file-name)
      (tramp-handle-insert-file-contents, tramp-process-actions)
      (tramp-check-cached-permissions, tramp-local-host-p)
      (tramp-get-remote-tmpdir, tramp-call-process)
      (tramp-call-process-region, tramp-read-passwd)
      (tramp-clear-passwd):
      * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
      (tramp-adb-handle-expand-file-name)
      (tramp-adb-handle-file-truename, tramp-adb-handle-copy-file)
      (tramp-adb-handle-process-file)
      (tramp-adb-maybe-open-connection):
      * lisp/net/tramp-cache.el (tramp-get-hash-table)
      (tramp-get-file-property, tramp-set-file-property)
      (tramp-flush-file-property, tramp-flush-directory-property)
      (tramp-get-connection-property)
      (tramp-set-connection-property, tramp-connection-property-p)
      (tramp-flush-connection-property, tramp-cache-print)
      (tramp-list-connections, tramp-dump-connection-properties)
      (tramp-parse-connection-properties):
      * lisp/net/tramp-cmds.el (tramp-cleanup-connection):
      * lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name)
      (tramp-gvfs-url-file-name, tramp-gvfs-handler-askpassword)
      (tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-mount-spec, tramp-gvfs-get-remote-uid)
      (tramp-gvfs-get-remote-gid)
      (tramp-gvfs-maybe-open-connection):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-sh-handle-expand-file-name)
      (tramp-sh-handle-start-file-process)
      (tramp-sh-handle-process-file, tramp-compute-multi-hops)
      (tramp-maybe-open-connection)
      (tramp-make-copy-program-file-name, tramp-get-remote-path)
      (tramp-get-inline-coding):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-expand-file-name)
      (tramp-smb-handle-file-acl, tramp-smb-handle-process-file)
      (tramp-smb-handle-set-file-acl)
      (tramp-smb-maybe-open-connection): Adapt according to defstruct.
      dca22e86
    • Stephen Berman's avatar
      Fix and improve UI of scroll bar menu (bug#27047) · 08f00c01
      Stephen Berman authored
      In addition, since the Emacs manual writes "scroll bar", "tool
      bar" and "menu bar", use this convention in the Show/Hide menues
      and tooltips as well.
      
      * lisp/menu-bar.el (menu-bar-showhide-scroll-bar-menu): Make
      pressing a radio button in the menu actually show that it was
      pressed.  Replace the two radio buttons to turn the horizontal
      scroll bar on and off with a single check-box toggle and add a
      separator between this and the vertical scroll bar radio
      buttons.  Use conventional spelling.
      (menu-bar-horizontal-scroll-bar)
      (menu-bar-no-horizontal-scroll-bar): Remove, since now unused.
      (menu-bar-showhide-tool-bar-menu, menu-bar-showhide-menu)
      (menu-bar-mode): Use conventional spelling.
      08f00c01
    • Katsumi Yamaoka's avatar
      Remove string-as-unibyte · bba99172
      Katsumi Yamaoka authored
      * lisp/gnus/canlock.el (canlock-sha1): Remove useless variable.
      (canlock-make-cancel-key): No need to use string-as-unibyte.
      bba99172
    • Tino Calancha's avatar
      Fix concatenation of "^" with diff-file-junk-re · 61ef5c61
      Tino Calancha authored
      This regexp contains "\\|", thus a concatenation
      of "^" with it just matches the beginning of line for the
      first alternative in diff-file-junk-re.
      * lisp/vc/ediff-ptch.el (ediff-map-patch-buffer): Concat "^" with
      diff-file-junk-re wrapped in a shy group.
      61ef5c61
    • Glenn Morris's avatar
      Suppress intermittent test failure on hydra · 2389ba2e
      Glenn Morris authored
      * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
      (eieio-test-37-obsolete-name-in-constructor): Skip on hydra.
      2389ba2e
    • Glenn Morris's avatar
      2a7bd9dc
    • Peder O. Klingenberg's avatar
      New dns-mode command for IPv6 address conversion · 8f6550b3
      Peder O. Klingenberg authored
      This converts IPv6 addresses to a format suitable for
      reverse lookup zone files.  (Bug#26820)
      * lisp/textmodes/dns-mode.el (dns-mode-map, dns-mode-menu):
      Add dns-mode-ipv6-to-nibbles.
      (dns-mode-ipv6-to-nibbles, dns-mode-reverse-and-expand-ipv6):
      New functions.
      * test/lisp/dns-mode-tests.el: New file.
      ; * etc/NEWS: Mention this.
      8f6550b3
    • Noam Postavsky's avatar
      Protect *Backtrace* from being killed (Bug#26650) · ef9f5c67
      Noam Postavsky authored
      * lisp/emacs-lisp/debug.el (debugger-mode): Call `top-level' in
      `kill-buffer-hook'.
      ef9f5c67
    • Noam Postavsky's avatar
      Give a name to lisp-mode's adaptive-fill-function (Bug#22730) · d158629c
      Noam Postavsky authored
      * lisp/emacs-lisp/lisp-mode.el (lisp-adaptive-fill): New function.
      (lisp-mode-variables): Use it.
      d158629c
  3. 23 May, 2017 11 commits
  4. 22 May, 2017 5 commits
  5. 21 May, 2017 6 commits
    • Dima Kogan's avatar
      Make ff-find-other-file symmetric for C++ (Bug#20192) · 08848e33
      Dima Kogan authored
      `cc-other-file-alist' has a mapping of file extensions to switch
      between headers and sources, but the mappings weren't completely
      symmetric.  In particular .cpp would map to .hh, but .hh would NOT map
      to .cpp.
      
      * lisp/find-file.el (cc-other-file-alist): Map ".hh" and ".h" to all
      C++ extensions to make them symmetric with the C++ extensions that map
      to them.  This lets repeated invocations of `ff-find-other-file'
      toggle between all pairs of sources/headers.
      08848e33
    • Philipp Stephani's avatar
      Fix definition of whitespace in JSON · 32f80eb6
      Philipp Stephani authored
      See
      https://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00115.html.
      
      * lisp/json.el (json-skip-whitespace): Fix definition.
      * test/lisp/json-tests.el (test-json-skip-whitespace): Adapt unit
      test.
      32f80eb6
    • Paul Eggert's avatar
      ; Spelling fix · 140aefc3
      Paul Eggert authored
      140aefc3
    • Philipp Stephani's avatar
      Improve module function terminology · b69f6a77
      Philipp Stephani authored
      Module functions were previously called "function environments" when
      the functions created by module_make_functions were lambdas.  Now we
      can adapt the terminology and rename "function environments" to
      "module functions" everywhere.  This also removes the name clash
      between "function environments" and "module environments."
      
      * src/emacs-module.c (module_make_function): Adapt comment to reality;
      stop using "function environment" terminology.
      (funcall_module): Stop using "function environment" terminology.
      b69f6a77
    • Philipp Stephani's avatar
      Avoid uninitialized read · 6f1f8822
      Philipp Stephani authored
      * src/nsterm.m (ns_read_socket): Don't read uninitialized variable 'nevents'.
      6f1f8822
    • Philipp Stephani's avatar
      Fix call of registerServicesMenuSendTypes · fa389f5b
      Philipp Stephani authored
      * src/nsterm.m (initFrameFromEmacs:): nil is not allowed for
      returnTypes; pass an empty array instead.
      fa389f5b