1. 13 Nov, 2015 4 commits
  2. 12 Nov, 2015 16 commits
    • Juanma Barranquero's avatar
      * test/automated/keymaps-test.el: Fix test to make it repeatable · 6e5186e8
      Juanma Barranquero authored
      (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
      entry to its initial value to make the test repeatable in interactive
      sessions (assuming it doesn't fail and crashes Emacs, of course).
    • Artur Malabarba's avatar
    • Phillip Lord's avatar
      : Tests for undo-auto functionality. · 39dbd1cd
      Phillip Lord authored
    • Phillip Lord's avatar
      ; Merge branch 'fix/no-undo-boundary-on-secondary-buffer-change' · 20aa42e8
      Phillip Lord authored
    • Phillip Lord's avatar
      The heuristic that Emacs uses to add an `undo-boundary' has been · 44dfa86b
      Phillip Lord authored
      reworked, as it interacts poorly with functions on `post-command-hook'
      or `after-change-functions'.
      * lisp/simple.el: New section added.
      * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
      (self_insert_command): Calls simple.el to amalgamate.
      (delete_char): Calls simple.el to amalgamate.
      * src/keyboard.c (last_undo_boundary): Removed.
      * src/undo.c (run_undoable_change): New function.
    • Juri Linkov's avatar
      Bind [?\S-\ ] to previous line command in Dired-like modes. · d2f73db5
      Juri Linkov authored
      * lisp/arc-mode.el (archive-mode-map):
      * lisp/dired.el (dired-mode-map):
      * lisp/proced.el (proced-mode-map):
      * lisp/vc/vc-dir.el (vc-dir-mode-map):
      Bind [?\S-\ ] to previous line command.
    • Eli Zaretskii's avatar
      Fix the MinGW64 and Cygwin-w32 builds · c1bc6e5d
      Eli Zaretskii authored
      * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
      use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
      which cause trouble with MinGW42 headers.  Ifdef away tray
      notifications code for Cygwin.  Reported by Andy Moreton
    • Simen Heggestøyl's avatar
      Enable sorting of JSON object keys when encoding · 1e363a8e
      Simen Heggestøyl authored
      * lisp/json.el (json-encoding-object-sort-predicate): New variable for
      specifying a sorting predicate for JSON objects during encoding.
      (json--plist-to-alist): New utility function.
      (json-encode-hash-table): Re-use `json-encode-alist' when object keys
      are to be sorted.
      (json-encode-alist): Sort output by
      `json-encoding-object-sort-predicate, when set.
      (json-encode-plist): Re-use `json-encode-alist' when object keys are
      to be sorted.
      (json-pretty-print-buffer-ordered): New command to pretty print the
      buffer with object keys sorted alphabetically.
      (json-pretty-print-ordered): New command to pretty print the region with
      object keys sorted alphabetically.
      * test/automated/json-tests.el (test-json-plist-to-alist)
      (test-json-encode-plist, test-json-encode-hash-table)
      (test-json-encode-plist-with-sort-predicate): New tests.
      * etc/NEWS: Add an entry for the new commands.
    • Juanma Barranquero's avatar
    • Ken Raeburn's avatar
      Speed up x_real_pos_and_offsets using XCB · aa17de90
      Ken Raeburn authored
      * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
      all X calls, and pipeline requests when possible, collecting results
      later.  Eliminate use of x_catch_errors (and thus XSync) in XCB case.
    • Ken Raeburn's avatar
      Enable use of XCB for checking window manager state · a838c833
      Ken Raeburn authored
      * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
      of XGetWindowProperty plus error-catching, since we can explicitly
      check for errors in the XCB version.  This eliminates 3 XSync calls on
      top of the round-trip actually fetching the information.
    • Ken Raeburn's avatar
      Detect XCB and save a connection handle · c7f2b6ad
      Ken Raeburn authored
      * configure.ac: If using X11, check for XCB libraries and header.
      * src/Makefile.in (XCB_LIBS): Define.
      (LIBX_EXTRA): Include it.
      * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
      (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
      * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
    • Ken Raeburn's avatar
      Reduce some data dependencies between X calls · e1c27dbd
      Ken Raeburn authored
      Gains nothing in the traditional-Xlib code, but more closely aligns
      with how the XCB version will work.
      * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
      send coordinates (0,0) to the X server and add in the real coordinates
      after getting the response.  Move XGetGeometry for outer window inside
      error-trapping block.  Use DPY variable more, since it's available.
    • Ken Raeburn's avatar
      Use color cache for creating bitmap · 25e32bd8
      Ken Raeburn authored
      * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]: Set
      attributes to use the caching color allocator.  Initialize and free
      the cache.
    • Eli Barzilay's avatar
      Add "^" to the interactive specs of `dired-next/previous-line' · 851be0f6
      Eli Barzilay authored
      * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
      to bind these commands to the arrow keys, and that means that they work
      better with a "^" in the `interactive' declaration so selection works
      as expected.
    • Thomas Fitzsimmons's avatar
      Sync with soap-client repository, version 3.0.2 · 055ca3a5
      Thomas Fitzsimmons authored
      * soap-client.el: Bump version to 3.0.2.
      * soap-client.el (soap-warning): Use format, not format-message.
      * soap-client.el: Add cl-lib to Package-Requires.  Require cl-lib.
      (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
      * soap-client.el: Support Emacs versions that do not have
      * soap-inspect.el: Remove version header.
      * soap-client.el, soap-inspect.el, jira2.el: Fix first line header
  3. 11 Nov, 2015 10 commits
    • Alan Mackenzie's avatar
      CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start. · e0f64e7b
      Alan Mackenzie authored
      lisp/progmodes/cc-engine.el (c-backward-single-comment, c-backward-comments)
      (c-invalidate-state-cache-1, c-parse-state-1, c-guess-basic-syntax):
      remove bindings of open-paren-in-column-0-is-defun-start to nil.
      (c-get-fallback-scan-pos): "New" function (existed several years ago).
      (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
      (c-parse-state-1): Handle 'BOD strategy.
      lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
      c-font-lock-fontify-region): remove bindings of
      open-paren-in-column-0-is-defun-start to nil.
      cc-mode.texi (Performance Issues, Limitations and Known Bugs): Fix mix up
      between @chapter and @appendix.
    • Artur Malabarba's avatar
      * lisp/obarray.el: Fix shadowed variables · 952395d3
      Artur Malabarba authored
      (obarray-map, obarray-remove, obarray-put, obarray-get):
      Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
    • Eli Zaretskii's avatar
      Avoid error in submitting a form with EWW · 436d3307
      Eli Zaretskii authored
      * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
      CHUNK to be nil.  (Bug#21881)
    • Juanma Barranquero's avatar
    • NicolasPetton's avatar
      Rename seq-p and map-p to seqp and mapp · 51d840a8
      NicolasPetton authored
      * lisp/emacs-lisp/seq.el (seqp): New name.
      * lisp/emacs-lisp/map.el (mapp): New name.
      * doc/lispref/sequences.texi: Update the documentation for seqp.
      * test/automated/map-tests.el: Update the tests for mapp.
    • NicolasPetton's avatar
      Rename obarray-p to obarrayp · 23036bac
      NicolasPetton authored
      * lisp/obarray.el (obarrayp): New name.
      * test/automated/obarray-tests.el: Update the tests.
    • NicolasPetton's avatar
      Rename obarray-foreach to obarray-map · 20aea429
      NicolasPetton authored
      * lisp/obarray.el (obarray-map): New name.
      * test/automated/obarray-tests.el: Update the corresponding tests.
    • Przemysław Wojnowski's avatar
      New file with obarray functions. · a3b21012
      Przemysław Wojnowski authored
      * lisp/obarray.el: basic obarray functions extracted from abbrev.el
      * test/automated/obarray-tests.el: new file
    • Eli Zaretskii's avatar
      Implement tray notifications for MS-Windows · 9d439415
      Eli Zaretskii authored
      * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
      (EMACS_NOTIFICATION_MSG): New macros.
      (NI_Severity): New enumeration.
      (get_dll_version, utf8_mbslen_lim, add_tray_notification)
      (delete_tray_notification, Fw32_notification_notify)
      (Fw32_notification_close): New functions.
      (syms_of_w32fns): Defsubr functions exposed to Lisp.  DEFSYM
      keywords used by w32-notification-notify.
      * doc/lispref/os.texi (Desktop Notifications): Describe the native
      w32 tray notifications.
    • Michael Albinus's avatar
      Optimize `file-equal-p' and `file-in-directory-p' in Tramp · ef75c3b5
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-file-equal-p)
      (tramp-handle-file-in-directory-p): New defuns.  Suggested by
      Harvey Chapman <hchapman@3gfp.com>
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
      * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
  4. 10 Nov, 2015 10 commits