1. 25 Aug, 2016 2 commits
  2. 24 Aug, 2016 4 commits
  3. 23 Aug, 2016 2 commits
  4. 22 Aug, 2016 10 commits
  5. 21 Aug, 2016 10 commits
    • NicolasPetton's avatar
    • NicolasPetton's avatar
      * etc/AUTHORS: Update the AUTHORS file · 6bf83b5e
      NicolasPetton authored
    • Noah Friedman's avatar
      Fix interpretation of signed vs unsigned values when retrieving X · 7a6b3d0f
      Noah Friedman authored
      Window properties, and make sure the full value is returned when not
      New subr to export type and format information about X Window
      properties to lisp.
      * src/xselect.c (selection_data_to_lisp_data): Treat any data as
      unsigned unless its actual type is INTEGER.
      CARDINALs, in particular, are unsigned.
      * src/xfns.c (Fx_change_window_property): If value is a string, ignore
      any provided format and force to 8.
      (x_window_property_intern): If returning value as a string, the length
      is actual_size times the actual format of each element, which is not
      necessarily bytes.
      (Fx_window_property_attributes): New subr.
      (syms_of_xfns): Declare it.
    • Noam Postavsky's avatar
      Improve error when installing non-package dirs · 14a86f83
      Noam Postavsky authored
      * lisp/emacs-lisp/package.el (package-dir-info): Throw meaningful error
      when no file with package info is found (Bug #19851).
    • Alan Mackenzie's avatar
      Adapt CC Mode for C++11 uniform initialization. · 578d9aaf
      Alan Mackenzie authored
      For fontification, introduce a new "context", 'non-decl, to be used for
      lists; also a new value for the property 'c-type, called 'c-not-decl.
      * lisp/progmodes/cc-engine.el (c-back-over-compound-identifier): Check that
      an ostensible symbol we're going to move over isn't a keyword.
      (c-forward-decl-or-cast-1): CASE 1: Where we have two consecutive identifiers
      (hence a declaration), and an unmatched open paren, perform
      c-fdoc-shift-type-backwards to recognize the partial construct correctly.
      Whilst checking a type decl expression, check for and handle C++11's "copy
      initialization", where we have <type>(<constant>).  Recognize
      <id><id>(... (where the paren is unclosed) as a declaration.
      (c-looking-at-or-maybe-in-bracelist): New function, extracted from
      c-inside-bracelist-p.  Recognize as bracelists "{"s which are preceded by
      valid tokens other than "=".  Recognize a bracelist when preceded by a
      template declaration.
      (c-inside-bracelist-p): Call c-looking-at-or-maybe-in-bracelist in place of
      much inline code.
      (c-looking-at-inexpr-block): Amend so that it won't wrongly recognise an
      initialization starting "({" as an in-expression block, by checking for
      semicolons, as opposed to commas, separating elements inside it.
      (c-guess-continued-construct): (CASE B-2): Recognize a brace-list-open by
      calling c-looking-at-or-maybe-in-bracelist rather than checking for a
      preceding "=".  (CASE B-5): New code to recognize new construct "return {
      (c-guess-basic-syntax): (CASE 5A.3): Additionally recognize a "{" preceded by
      "return", or "{" preceded by <type><identifier> as a bracelist.
      * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Recognize brace
      lists, giving them `context' 'non-decl.  Pass over elements of one by regexp
      search for "," rather than calling c-forward-decl-or-cast-1.
      * lisp/progmodes/cc-langs.el (c-return-kwds, c-return-key): New lang
      constants/variables to recognize "return".
      (c-pre-id-bracelist-key): New lang constant/variable to recognize tokens
      which, when preceding an identifier followed by a brace, signify the brace as
      a bracelist.
      * lisp/progmodes/cc-mode.el (c-fl-decl-start): When searching outwards for
      the start of a "local" declaration, move out from an enclosing brace when
      that is the start of a brace list.
    • Paul Eggert's avatar
      Update from gnulib · 1f730256
      Paul Eggert authored
      This incorporates:
      2016-08-17 maint: preprocessor changes to support z/OS
      2016-08-17 string: rename to avoid '__string'
      * doc/misc/texinfo.tex, lib/alloca.in.h, lib/string.in.h:
      Copy from gnulib.
    • Paul Eggert's avatar
      ; Spelling fixes · 886b9ed8
      Paul Eggert authored
    • Paul Eggert's avatar
      ; ChangeLog spelling fixes · 73cbb813
      Paul Eggert authored
    • Paul Eggert's avatar
      Minor text-quoting-style fixes · b1601a95
      Paul Eggert authored
      * src/charset.c (check_iso_charset_parameter):
      * src/frame.c (store_frame_param):
      * src/xselect.c (x_fill_property_data):
      Use grave accent for left single quote in ‘error’ format strings.
    • Martin Rudalics's avatar
      Fix semantics of 'minibuffer' frame parameter · 1a1062d6
      Martin Rudalics authored
      The 'minibuffer' frame parameter is now t for a normal frame
      (a frame with a root window plus a minibuffer window) and the
      frame's minibuffer window for a minibuffer-less frame (a frame
      whose minibuffer window is on another frame).  See also:
      * src/frame.c (make_frame, make_frame_without_minibuffer)
      (make_minibuffer_frame): When assigning the frame's minibuffer
      window also store corresponding 'minibuffer' frame parameter.
      (store_frame_param): Move the 'minibuffer' parameter checks to
      the beginning so we can silently override the value before it
      gets stored in the parameter alist.  Fix error handling.
      (Fframe_parameters): Return value of 'minibuffer' parameter
      * lisp/frameset.el (frameset-filter-minibuffer): When the cdr of
      the parameter is a minibuffer window, save (minibuffer . nil)
      instead of (minibuffer . t).
      (frameset--reuse-frame): To find a non-minibuffer-only frame
      look out for a frame whose 'minibuffer' parameter is t instead
      of that frame's minibuffer window.
      (frameset-minibufferless-first-p): To find a minibuffer-less
      frame look out for a frame whose 'minibuffer' parameter is a
      window instead of nil.
  6. 20 Aug, 2016 3 commits
    • Alan Mackenzie's avatar
    • Philipp Stephani's avatar
      Some assorted documentation clarifications · 9b99772c
      Philipp Stephani authored
      * src/fileio.c (Fwrite_region): Clarify that END is ignored if
      START is nil.
      * src/editfns.c (Fbuffer_size): Add short discussion about
      * src/callproc.c (Fcall_process_region): Discuss behavior when
      START and END are not buffer positions.
    • Alan Mackenzie's avatar
      In c-\(go-\)?-\(up-\|down-\)?list-\(forward\|backward\) check limit isn't nil · 43201d71
      Alan Mackenzie authored
      Check the limit both at macro expansion time (for a hard coded nil) and at run
      time in the generated code.  Tidy up these macros generally.
      * lisp/progmodes/cc-defs.el (c-safe-scan-lists): Check `limit' is present and
      not identically nil before generating a narrow-to-region call.  Generate code
      to check `limit' is not nil at run time.
      (c-go-list-forward, c-go-list-backward): Remove the generation of redundant
      narrow-to-region, instead calling c-safe-scan-lists directly.
      (c-go-up-list-forward, c-go-up-list-backward, c-go-down-list-forward)
      (c-go-down-list-backward): Invoke the corresponding macros without the "go-"
      to determine the destination position instead of generating a redundant
  7. 19 Aug, 2016 4 commits
    • Robert Cochran's avatar
      * lisp/emacs-lisp/map.el (map--dispatch): Fix docstring · a4ba426d
      Robert Cochran authored
      The docstring referenced a non-existant parameter, as well as a
      parameter that has been renamed since the docstring was written. Fix
      both errors, fixing (Bug#24182).
    • Alan Mackenzie's avatar
      Amend hack-local-variables-prop-line not always to return any mode on line 1. · 4a80c8bb
      Alan Mackenzie authored
      This fixes bug #24266.
      * lisp/files.el (hack-local-variables-prop-line): Change the name of the
      parameter mode-only to handle-mode.  Change its meaning, such that it being
      set to a value non-nil and not t removes any mode parameter from the result
      list.  Leave its values nil and t with the same meanings they had.
      (hack-local-variables): Call hack-local-variables-prop-line appropriately.
    • Daiki Ueno's avatar
      Improve doc string of epg-*-program · 72ef0c8b
      Daiki Ueno authored
      * lisp/epg-config.el (epg-gpg-program, epg-gpgsm-program):
      Suggest to use Customize when setting.  (Bug#24229)
    • Tino Calancha's avatar
      Add tests for Bug#24264 · a4fa3115
      Tino Calancha authored
      * test/lisp/emacs-lisp/cl-seq-tests.el (cl-seq-test-bug24264):
      Add test for Bug#24264.
      (cl-seq-fill-test, cl-seq-replace-test)
      (cl-seq-remove-test ,cl-seq-delete-test)
      (cl-seq-remove-duplicates-test, cl-seq-substitute-test)
      (cl-seq-nsubstitute-test, cl-seq-position-test)
      (cl-seq-count-test, cl-seq-mismatch-test)
      (cl-seq-search-test, cl-seq-test-bug24264):
      Add tests for all functions in the file; test all keywords.
  8. 18 Aug, 2016 5 commits