1. 26 Jun, 2016 4 commits
  2. 25 Jun, 2016 6 commits
    • Paul Eggert's avatar
      Merge from origin/emacs-25 · fdcf46d3
      Paul Eggert authored
      0377fe2b ; Spelling fixes
      f2536958 Update docs for `customize-mode'
      4395aaac Fix documentation of 'assoc-string' and 'compare-strings'
      ab0ebb93 ; Only load .elc file in tests.
      a98aa02a Error on multibyte characters in HTTP request
      ea512a7c * lisp/gnus/mm-decode.el (mm-convert-shr-links): Mask keys th...
      82973310 ; Revert "Ensure undo-boundary after insert-file-contents."
      dc5e65b5 Unset GIT_DIR when calling Git commands
      6cdd8f71 Ensure undo-boundary after insert-file-contents.
      4793f5fc Clarify documentation of 'line-spacing' and 'line-height'
      5f375723 Fix removal of variables from process-environment
      e5e886d1 * admin/authors.el (authors-ignored-files, authors-valid-file...
      db0777b7 * admin/authors.el (authors-aliases, authors-fixed-case): Add...
      # Conflicts:
      #	doc/lispref/modes.texi
      #	lisp/gnus/mm-decode.el
    • Paul Eggert's avatar
      ; Spelling fixes · 0377fe2b
      Paul Eggert authored
    • Noam Postavsky's avatar
      Update docs for `customize-mode' · f2536958
      Noam Postavsky authored
      * lisp/cus-edit.el (customize-mode): This function works with both major
      and minor modes, make docstring and prompt reflect that (Bug #23649).
      * doc/lispref/modes.texi (Derived Modes): Remove note about
      customize-mode being experimental; it has been around since Emacs
      22 (Bug #11299).
      Co-authored-by: default avatarDrew Adams <drew.adams@oracle.com>
    • Mark Oteiza's avatar
      Teach net-utils more iproute2 and nl80211 tools · d6930356
      Mark Oteiza authored
      * lisp/net/net-utils.el (iwconfig-program): Add iw(8).
      (iwconfig-program-options): Add "dev" argument for iw.  Another useful
      option is "phy"; beyond that one needs to know the interface name.
      (netstat-program): Add ss(8).
      (route-program): Add ip(8).
      (route-program-options): Add "route" argument for ip.
    • Leo Liu's avatar
      Use use-region-p in prolog.el · 852507f1
      Leo Liu authored
      * lisp/progmodes/prolog.el (region-exists-p): Remove.
      * lisp/progmodes/prolog.el (prolog-edit-menu-runtime,
      prolog-edit-menu-insert-move): Use use-region-p.
    • Leo Liu's avatar
      Remove compatibility with Emacs 24.3 in octave-mode · d590048b
      Leo Liu authored
      * lisp/progmodes/octave.el: Clean up and remove compatibility with
      Emacs 24.3.
  3. 24 Jun, 2016 6 commits
    • Alan Mackenzie's avatar
      Ensure hack-local-variables is run in a fundamental mode buffer. · b120fbd6
      Alan Mackenzie authored
      This fixes bug #23827.
      * src/buffer.c (set-buffer-major-mode): Run `fundamental-mode' when the buffer
      gets set to that mode, so that `run-mode-hooks', and thus
      `hack-local-variables' get run.
    • Tino Calancha's avatar
      Fix caller to ediff-setup · 974a53bf
      Tino Calancha authored
      * lisp/hilit-chg.el (hilit-chg-get-diff-info): #Bug23820.
    • Alan Mackenzie's avatar
      Implement ' separators in C++ integer literals. · a4750b39
      Alan Mackenzie authored
      * lisp/progmodes/cc-langs.el (c-get-state-before-change-functions): insert
      c-before-after-change-digit-quote into the C++ value.
      (c-before-font-lock-functions): Insert c-depropertize-new-text into the values
      for all languages.  Insert c-before-after-change-digit-quote into the C++
      * lisp/progmodes/cc-mode.el (c-depropertize-CPP): Wrap the function in
      (c-depropertize-new-text, c-before-after-change-digit-quote): New functions.
    • Paul Eggert's avatar
      Update from gnulib · 63457dcf
      Paul Eggert authored
      This incorporates:
      2016-06-24 intprops: port better to GCC 7
      2016-06-13 xalloc-oversized: port to GCC 7; fewer warnings
      * doc/misc/texinfo.tex, lib/xalloc-oversized.h, lib/intprops.h:
      Copy from gnulib.
    • Martin Rudalics's avatar
      Remove two uses of 'min' in Fwindow_text_pixel_size · dc49db72
      Martin Rudalics authored
      * src/xdisp.c (Fwindow_text_pixel_size): Don't use 'min' since
      it calls move_it_to twice.  Suggested by Eli Zaretskii.
    • Paul Eggert's avatar
      Clarify intent of FACE_FROM_ID and IMAGE_FROM_ID · 098347a9
      Paul Eggert authored
      * src/dispextern.h (FACE_OPT_FROM_ID): Don’t use FACE_FROM_ID,
      since it is intended to be used only when it returns a non-null
      pointer, and here the pointer might be null.
      (IMAGE_OPT_FROM_ID): Don’t use IMAGE_FROM_ID, for similar reasons.
  4. 23 Jun, 2016 7 commits
    • Mark Oteiza's avatar
      Remove some more face aliases obsoleted in 22.1 · 90d0833f
      Mark Oteiza authored
      * lisp/eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face,
      eshell-ls-executable-face, eshell-ls-readonly-face,
      eshell-ls-unreadable-face, eshell-ls-special-face,
      eshell-ls-missing-face, eshell-ls-archive-face, eshell-ls-backup-face,
      eshell-ls-product-face, eshell-ls-clutter-face): Remove.
      * lisp/isearch.el (isearch-lazy-highlight-face, lazy-highlight-face): Remove.
      (isearch-lazy-highlight-update): Use face symbol.
      * lisp/net/sieve-mode.el (sieve-control-commands-face,
      sieve-action-commands-face, sieve-test-commands-face,
      sieve-tagged-arguments-face): Remove.
      (sieve-font-lock-keywords): Use non-obsolete faces.
      * lisp/progmodes/sh-script.el (sh-heredoc-face): Remove.
      (sh-get-indent-info, sh-prev-line): Use face symbol.
      * lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1):
      Use non-obsolete face.
      (tex-math-face, tex-verbatim-face): Remove.
      (tex-font-lock-syntactic-face-function): Use face symbols.
    • Mark Oteiza's avatar
      Remove some face aliases obsoleted in 22.1 · c430f7e2
      Mark Oteiza authored
      * lisp/faces.el (modeline-inactive, modeline-highlight, modeline-buffer-id):
      * lisp/hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
      * lisp/info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face,
      Info-title-4-face, info-menu-5):
      * lisp/obsolete/old-whitespace.el (whitespace-highlight-face):
      * lisp/paren.el (show-paren-match-face, show-paren-mismatch-face):
      * lisp/progmodes/make-mode.el (makefile-space-face):
      * lisp/textmodes/texinfo.el (texinfo-heading-face): Remove.
      (texinfo-font-lock-keywords): Use texinfo-heading face.
      * lisp/vc/add-log.el (change-log-date-face, change-log-name-face,
      change-log-email-face, change-log-file-face, change-log-list-face,
      change-log-conditionals-face, change-log-function-face,
      * lisp/vc/diff-mode.el (diff-header-face, diff-file-header-face,
      diff-index-face, diff-hunk-header-face, diff-removed-face, diff-added-face,
      diff-changed-face, diff-function-face, diff-context-face,
      diff-nonexistent-face): Remove.
      (diff-use-changed-face, diff-font-lock-keywords): Use non-obsolete face
      (diff-hunk-file-names): Fix comment.
      (diff-refine-change): Remove.
      (diff-refine-removed, diff-refine-added, diff-refine-hunk): Use
      non-obsolete face.
      * lisp/vc/log-view.el (log-view-file-face, log-view-message-face): Remove.
      (log-view-font-lock-keywords): Use non-obsolete face names.
      * lisp/vc/pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face,
      cvs-handled-face, cvs-need-action-face, cvs-marked-face, cvs-msg-face):
      * lisp/wid-edit.el (widget-documentation-face, widget-button-face,
      widget-field-face, widget-single-line-field-face, widget-inactive-face,
      * lisp/woman.el (woman-italic-face, woman-bold-face, woman-unknown-face,
      woman-addition-face): Remove.
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Improve results of 'upcase' for characters with title-case · 92289cec
      Eli Zaretskii authored
      * lisp/international/characters.el (standard-case-table): Swap the
      order of some lines, to have 'upcase' return the upper-case
      variant, not the title-case, for some characters whose lower-case
      map to the same codepoints.  (Bug#23833)
    • Alan Mackenzie's avatar
      Make typing into incomplete C++ raw strings work, and make it work fast enough · 7a20ebe5
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-beginning-of-macro, c-state-pp-to-literal):
      Put `save-match-data' around calls to `looking-at' to enable the use of the
      match data in higher level functions.
      * lisp/progmodes/cc-fonts.el (c-font-lock-declarations)
      (c-font-lock-cut-off-declarators): Use `limit' rather than `(point-max)' as a
      limit to speed up handling of C++ raw strings.
    • Eli Zaretskii's avatar
      Fix documentation of 'assoc-string' and 'compare-strings' · 4395aaac
      Eli Zaretskii authored
      * src/minibuf.c (Fassoc_string): Clarify how CASE-FOLD affects the
      string comparison.  (Bug#23833)
      * src/fns.c (Fcompare_strings): Fix the description of how
      IGNORE-CASE affects the comparison.
      * doc/lispref/strings.texi (Text Comparison): Clarify how
      CASE-FOLD affects the string comparison in 'assoc-string'.  Fix
      the description of how IGNORE-CASE affects the comparison in
    • Eli Zaretskii's avatar
      Fix handling of LWINDOW key on MS-Windows · 11a17619
      Eli Zaretskii authored
      * src/w32fns.c (funhook): Correct a typo which broke handling of
      the LWINDOW key.  (Bug#23830)
  5. 22 Jun, 2016 12 commits
    • Phillip Lord's avatar
      ; Only load .elc file in tests. · ab0ebb93
      Phillip Lord authored
      * test/automated/viper-tests.el (viper-test-undo-kmacro): Ensure that
        empty load file ends with .elc extension.
    • Dmitry Gutov's avatar
      Error on multibyte characters in HTTP request · a98aa02a
      Dmitry Gutov authored
      * lisp/url/url-http.el (url-http-create-request): Check the
      constructed request in the end to verify that it does not contain
      multibyte characters (bug#23750).
    • Dmitry Gutov's avatar
      ; Revert "Prohibit multibyte characters in url-http-data" · 07a986ea
      Dmitry Gutov authored
      This reverts commit 2ede2957.
      In favor of a better solution to be pushed to emacs-25.
    • Eli Zaretskii's avatar
      Update Unicode data files from Unicode 9.0.0 · a74683f1
      Eli Zaretskii authored
      * admin/unidata/copyright.html:
      * admin/unidata/BidiBrackets.txt:
      * admin/unidata/UnicodeData.txt: Update from Unicode 9.0.0, just
    • Eli Zaretskii's avatar
      Fix test for whether the '.el' file is newer than '.elc' · cc113e55
      Eli Zaretskii authored
      * src/lread.c (Fload): Don't overwrite the last character of the
      file name in FOUND with 'c', unless the file name ended in ".elc"
      to begin with.  Don't treat empty files as byte-compiled.  See
      for more details of the problem this caused.
    • Eli Zaretskii's avatar
      Fix 'insert-file-contents' when REPLACE is non-nil · 791193d3
      Eli Zaretskii authored
      * src/fileio.c (maybe_move_gap): New function to move the gap to
      the end of a buffer, if it isn't there already.
      (Finsert_file_contents): Call 'maybe_move_gap' before using
      conversion_buffer's text as a C 'char' array.  (Bug#23659)
      * src/coding.c (decode_eol): Compute the byte increment before
      calling del_range_2, because the latter can invalidate the pointer
      to buffer text.
    • Ken Brown's avatar
      Avoid compiler warning · bbc58fea
      Ken Brown authored
      * src/w32fns.c (Fx_show_tip): Don’t jump over auto initialization.
    • Stefan Monnier's avatar
    • Ken Brown's avatar
      Fix last change to FRAME_INTERNAL_BORDER_WIDTH · 81fc9a7c
      Ken Brown authored
      * src/w32fns.c (x_set_internal_border_width): Don’t use
      FRAME_INTERNAL_BORDER_WIDTH(), which is now a function call, as an
    • Katsumi Yamaoka's avatar
      * lisp/gnus/mm-decode.el (mm-convert-shr-links): · ea512a7c
      Katsumi Yamaoka authored
      Mask keys that launch `widget-button-click' (bug#22157).
    • Phillip Lord's avatar
      ; Revert "Ensure undo-boundary after insert-file-contents." · 82973310
      Phillip Lord authored
      This reverts commit 6cdd8f71.
      The original commit did not address the problem it was claiming to.
    • Paul Eggert's avatar
      Improve --without-x GCC pacification · 1c019905
      Paul Eggert authored
      * src/composite.c (autocmp_chars):
      * src/conf_post.h (DebPrint) [HAVE_NTGUI && !DebPrint && !EMACSDEBUG]:
      Use simpler ((void) 0) for no-op expression returning void.
      * src/dispextern.h [HAVE_WINDOW_SYSTEM]:
      Include fontset.h, for face_for_char.
      Now inline functions instead of macros.  This avoids the need for
      all those casts to void.
      (FACE_SUITABLE_FOR_ASCII_CHAR_P): Omit 2nd (unused) arg.
      All uses changed.
      * src/frame.c (Ficonify_frame, Fset_frame_position):
      * src/xdisp.c (Fmove_point_visually, show_mouse_face):
      * src/xdisp.c (note_mode_line_or_margin_highlight)
      Assume HAVE_WINDOW_SYSTEM for simplicity, since the code should
      now work either way without generating warnings.
      * src/frame.c (display_available) [HAVE_WINDOW_SYSTEM]: New function.
      (window_system_available) [HAVE_WINDOW_SYSTEM]: Move to frame.h.
      (decode_window_system_frame): Use check_window_system instead of
      rolling the code ourself.  Return needed only if HAVE_WINDOW_SYSTEM.
      (decode_window_system_frame, check_window_system):
      Merge the HAVE_WINDOW_SYSTEM and !HAVE_WINDOW_SYSTEM versions into one.
      * src/frame.c (Ficonify_frame, Fset_frame_position):
      * src/xdisp.c (show_mouse_face, define_frame_cursor1)
      Narrow the scope of the HAVE_WINDOW_SYSTEM #ifdef;
      this is a better way to pacify GCC.
      * src/xdisp.c (x_set_left_fringe, x_set_right_fringe)
      (x_set_right_divider_width, x_set_bottom_divider_width):
      * src/xfns.c (x_set_internal_border_width):
      Don’t use what are now function calls as lvalues.
      * src/frame.h (WINDOW_SYSTEM_RETURN): New macro.
      (decode_window_system_frame, check_window_system):
      Use it, to avoid the need for duplicate declarations.
      (window_system_available): Now an inline function.
      (display_available): New decl.
      (frame_dimension): New inline function.
      Use it, to avoid the need for duplicate definitions.
      Now inline functions instead of macros.
      * src/gnutls.c (gnutls_log_function2i): Remove.
      * src/gnutls.h (GNUTLS_LOG2i): Use ‘message’ directly.
      This avoids complaints about gnutls_log_function2i being defined
      and not used on older platforms that do not need to call GNUTLS_LOG2i.
      * src/image.c (DefaultDepthOfScreen) [0]: Remove unused macro.
      * src/lisp.h (AUTO_STRING_WITH_LEN): Revert change from ‘type id =
      expr’ to ‘type id; id = expr’, as this would suppress valid
      jump-misses-init diagnostics.  Let’s find a better way to address
      the problem.
      * src/vm-limit.c (__MALLOC_HOOK_VOLATILE):
      Define only if needed.
      * src/xdisp.c (handle_single_display_spec):
      Simplify fringe_bitmap computation.
      (define_frame_cursor1): Do nothing unless in a window system.
      All callers changed and simplified.
      * src/xfaces.c (realize_default_face):
      Use a simpler way to pacify GCC when a return value is not used
      on some platforms.
  6. 21 Jun, 2016 5 commits