1. 12 Nov, 2015 2 commits
    • 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
  2. 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.
  3. 10 Nov, 2015 18 commits
  4. 09 Nov, 2015 6 commits
    • Karl Fogel's avatar
      When VC detects a conflict, specify which file · 3c3aad73
      Karl Fogel authored
      * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
      * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
      * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
      * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
      * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
        to display a standard message that specifies the conflicted file.
      Before this change, the message VC used for indicating a conflicted
      file was just "There are unresolved conflicts in this file" without
      naming the file (and this language was duplicated in several places).
      After this change, it's "There are unresolved conflicts in file FOO"
      (and this language is now centralized in one function in vc.el).
      Justification: It's important for the message to name the conflicted
      file because the moment when VC realizes a file is conflicted does not
      always come interactively.  For example, some people automatically
      find a set of Org Mode files on startup, and may keep those .org files
      under version control.  If any of the files are conflicted, the user
      just sees some messages fly by, and might later check the "*Messages*"
      buffer to find out what files were conflicted.  I'm not saying this
      happened to me or anything; it's a purely hypothetical example.
    • Eli Zaretskii's avatar
      Fix assertion violation in define-key · 86c19714
      Eli Zaretskii authored
      * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
      objects.  Reported by Drew Adams <drew.adams@oracle.com>
      and Juanma Barranquero <lekktu@gmail.com>.
    • Dima Kogan's avatar
      Fix a memory leak in GC of font cache · c6c16fb3
      Dima Kogan authored
      * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
      entities if some of the fonts it references are marked.  This
      plugs a memory leak.  (Bug#21556)
    • Paul Eggert's avatar
      Use INT_ADD_WRAPV etc. to check integer overflow · 10873055
      Paul Eggert authored
      * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
      * src/buffer.c (record_overlay_string, overlay_strings):
      * src/casefiddle.c (casify_object):
      * src/ccl.c (Fccl_execute_on_string):
      * src/character.c (char_width, c_string_width, lisp_string_width)
      (count_size_as_multibyte, string_escape_byte8):
      * src/coding.c (coding_alloc_by_realloc, produce_chars):
      * src/data.c (arith_driver):
      * src/dispnew.c (realloc_glyph_pool, init_display):
      * src/editfns.c (styled_format):
      * src/fns.c (Ffillarray):
      * src/ftfont.c (ftfont_shape_by_flt):
      * src/gnutls.c (gnutls_hex_string):
      * src/gtkutil.c (get_utf8_string):
      * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
      * src/keymap.c (Fkey_description):
      * src/lisp.h (SAFE_ALLOCA_LISP):
      * src/term.c (encode_terminal_code):
      * src/tparam.c (tparam1):
      * src/xselect.c (x_property_data_to_lisp):
      * src/xsmfns.c (smc_save_yourself_CB):
      * src/xterm.c (x_term_init):
      When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
      more-complicated code involving division and/or
      INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
      subtraction and/or INT_ADD_OVERFLOW.
      * src/casefiddle.c (casify_object): Simplify multibyte size check.
      * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
      * src/data.c (arith_driver): Also check for division overflow,
      as that’s now possible given that the accumulator can now contain
      any Emacs integer.
      * src/lisp.h (lisp_word_count): Remove; no longer used.
    • Dmitry Gutov's avatar
      Make sure that the ignore file exists · e4c190b2
      Dmitry Gutov authored
      * lisp/vc/vc.el (vc-default-ignore-completion-table):
      Make sure that the ignore file exists.
    • Michael Sperber's avatar
      * gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to · bcca6a2a
      Michael Sperber authored
      `gnus-summary-delete-article` in a way that also works on XEmacs.
  5. 08 Nov, 2015 4 commits
    • Juanma Barranquero's avatar
      ; ChangeLog.2 fixes · e133eeaa
      Juanma Barranquero authored
    • Simen Heggestøyl's avatar
      Add support for retrieving paths to JSON elements · 29d740aa
      Simen Heggestøyl authored
      Add support for retrieving the path to a JSON element. This can for
      instance be useful to retrieve paths in deeply nested JSON
      * lisp/json.el (json-pre-element-read-function)
      (json-post-element-read-function): New variables to hold pre- and post
      read callback functions for `json-read-array' and `json-read-object'.
      (json--path): New variable used internally by `json-path-to-position'.
      (json--record-path, json--check-position): New functions used
      internally by `json-path-to-position'.
      (json-path-to-position): New function for retrieving the path to a
      JSON element at a given position.
      (json-read-object, json-read-array): Call
      `json-pre-element-read-function' and `json-post-element-read-function'
      when set.
      * test/automated/json-tests.el (test-json-path-to-position-with-objects)
      (test-json-path-to-position-no-match): New tests for
    • Karl Fogel's avatar
      * etc/NEWS: Mention new `bookmark-set-no-overwrite'. · 5193ad1b
      Karl Fogel authored
      This really should been part of my previous commit
      (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e179).
    • Karl Fogel's avatar
      Offer non-overwrite bookmark setter (Bug#15746) · 3812e179
      Karl Fogel authored
      * lisp/bookmark.el (bookmark-set-internal): New helper function to do
        what `bookmark-set' used to do, but with more choices for overwrite
        vs push, and with minor changes to the interactive prompt format.
        (bookmark-set): Rewrite as wrapper around above.
        If overwriting, inform the user of that in the prompt.
        (bookmark-set-no-overwrite): New function, also done as wrapper.
        Bind to "M" in `ctl-x-r-map' autoloads.
        (bookmark-map): Similarly bind "M" here.