1. 30 Jun, 2016 2 commits
    • Dmitry Antipov's avatar
      Simplify handling of frame parameters · 3aeb7c35
      Dmitry Antipov authored
      * src/frame.c (x_set_frame_parameters): Avoid extra loop processing
      foreground color, background color and font parameters.  Adjust
    • Dmitry Antipov's avatar
      Cleanup around mature character manipulation functions · 4bd35039
      Dmitry Antipov authored
      * lisp/international/mule-diag.el (decode-codepage-char): Remove.
      * lisp/ldefs-boot.el (toplevel): Adjust accordingly.
      * lisp/subr.el (toplevel): Do not advertise calling conventions
      for 'decode-char' and 'encode-char'.
      * src/charset.c (Fdecode_char, Fencode_char): Remove unused 3rd arg.
  2. 29 Jun, 2016 4 commits
    • Alan Mackenzie's avatar
      Fix C-M-a in a C function finding the start of a macro preceding it. · 681d3f1f
      Alan Mackenzie authored
      Also amend some pertinent documentation.  This fixes bug #23818.
      * lisp/progmodes/cc-engine.el (c-beginning-of-decl-1): Also check for a
      virtual semicolon at a place where we check for other types of statement ends.
      * lisp/progmodes/cc-vars.el (c-macro-nacmes-with-semicolon): Remove from the
      doc string the bit saying that the variable is a prototype and liable to
      * doc/misc/cc-mode.texi (Macros with ;): Enhance, stating that configuring
      macros with semicolon can prevent C-M-a missing the beginning of defun.
    • Dmitry Antipov's avatar
      Avoid possible NULL pointer dereference found by GCC 6.1.1 · 4a2a1eba
      Dmitry Antipov authored
      * src/xfns.c (x_get_monitor_attributes_xrandr): Always check
      the value returned by XRRGetOutputInfo.
    • Tino Calancha's avatar
      Dired recognize dirs when file size in human units · 1a5d0c15
      Tino Calancha authored
      * lisp/dired.el (dired-re-inode-size): Update 'dired-re-inode-size'
      to match when Dired displays the allocated file size column
      in human readable units (Bug#22255).
    • Mark Oteiza's avatar
      Fix breakage from previous change · ff64fa75
      Mark Oteiza authored
      * lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1):
      * lisp/vc/log-view.el (log-view-font-lock-keywords): Quote face.
  3. 28 Jun, 2016 3 commits
  4. 27 Jun, 2016 12 commits
    • Alan Third's avatar
      Enable dividers in NS (bug#22973) · cfb3c61f
      Alan Third authored
      src/nsfns.m: Add colour settings functions to ns_frame_park_handlers.
      src/nsterm.m (ns_draw_window_divider): ns_focus has to go before the
      attempt to set the colour.
      src/nsterm.m (ns_draw_vertical_window_border): This had the same bug as
      above, although I didn't see any errors.
    • Stephen Berman's avatar
      ; Fix breakage from previous commit · 1f559257
      Stephen Berman authored
    • Lars Magne Ingebrigtsen's avatar
      Fix the prefix action of shr-copy-url · 1bd74554
      Lars Magne Ingebrigtsen authored
      * lisp/net/shr.el (shr-copy-url): Make the command really copy
      the image url if given a prefix.
    • Lars Magne Ingebrigtsen's avatar
      New functions svg-text and svg-remove · f7ea7aa1
      Lars Magne Ingebrigtsen authored
      * doc/lispref/display.texi (SVG Images): Document svg-remove.
      * doc/lispref/display.texi (SVG Images): Document svg-text.
      * lisp/svg.el (svg-remove): New function.
      (svg-text): New function.
    • Lars Magne Ingebrigtsen's avatar
      Add new function dom-remove-node · 54fe3b6e
      Lars Magne Ingebrigtsen authored
      * doc/lispref/text.texi (Document Object Model): Document
      * lisp/dom.el (dom-remove-node): New function.
    • Lars Magne Ingebrigtsen's avatar
      Add a new function `svg-embed' · 44caa96d
      Lars Magne Ingebrigtsen authored
      * doc/lispref/display.texi (SVG Images): Document `svg-embed'.
      * lisp/svg.el (svg-embed): New function.
      (svg--image-data): Ditto.
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix 'move-to-window-line' when EOB is on last screen line · defdee72
      Eli Zaretskii authored
      * src/window.c (displayed_window_lines): Fix an off-by-one error
      when the bottom of the last display line is exactly at window's
      last pixel.  Remove kludgey fix for TTY frames that is no longer
      needed.  (Bug#15760)
      (Fmove_to_window_line): Doc fix.
      * doc/lispref/positions.texi (Screen Lines): Clarify and make more
      accurate the documentation of 'move-to-window-line'.
    • Alan Mackenzie's avatar
      Amend a cache so that typing into C++ raw strings has no undue delay. · 8040d99b
      Alan Mackenzie authored
      Also amend the code so that low-level searches to the end of literals are done
      only when these positions get used.
      * lisp/progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use the new
      c-literal-start instead of c-literal-limit.
      (c-state-semi-nonlit-pos-cache): Change the structure of this cache, such that
      it stores details of the literal at a point, rather than merely points outside
      of literals.
      (c-state-semi-pp-to-literal, c-state-full-pp-to-literal)
      (c-cache-to-parse-ps-state, c-parse-ps-state-to-cache, c-ps-state-cache-pos)
      (c-parse-ps-state-below, c-literal-start): New functions.
      (c-state-semi-safe-place): Removed.
      (c-in-literal): Use c-state-semi-pp-to-literal, so as not to scan to its end.
      (c-literal-limits, c-determine-limit-get-base): consequential amendments.
      (c-find-decl-spots, c-before-change-check-<>-operators, c-raw-string-pos)
      (c-guess-basic-syntax (CASE 2)): Avoid needless scans to end of literals.
      * lisp/progmodes/cc-fonts.el (c-font-lock-doc-comments): Avoid needless scans
      to end of literals.
      * lisp/progmodes/cc-mode.el (c-fl-decl-start): Avoid needless scans to end of
      * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun)
      (c-defun-name, c-declaration-limits): Avoid needless scans to end of literals.
    • Dmitry Gutov's avatar
      Also handle escaping when string begins with a quote · 15c30741
      Dmitry Gutov authored
      * lisp/progmodes/ruby-mode.el (ruby-toggle-string-quotes):
      Handle quoting of the first character in the string.
      * test/lisp/progmodes/ruby-mode-tests.el
      (ruby-toggle-string-quotes-quotes-correctly): Update.
    • Sriram Thaiyar's avatar
      Fix quote escaping in ruby-toggle-string-quotes · 7f02dedf
      Sriram Thaiyar authored
      * lisp/progmodes/ruby-mode.el (ruby-toggle-string-quotes):
      Change logic to quote based on the current quote of the string.
      * test/lisp/progmodes/ruby-mode-tests.el
      (ruby-toggle-string-quotes-quotes-correctly): Add test.
      Copyright-paperwork-exempt: yes
    • Noam Postavsky's avatar
      Fix test-completion with completion-regexp-list · dd98ee89
      Noam Postavsky authored
      * src/minibuf.c (Ftest_completion): Handle alist COLLECTION with non-nil
      completion-regexp-list (Bug #23533).
  5. 26 Jun, 2016 11 commits
    • Paul Eggert's avatar
      Try other addresses when connecting to multihomed · 2989ad90
      Paul Eggert authored
      Problem reported by Juliusz Chroboczek (Bug#17976)
      and by Artur Malabarba (Bug#23620).
      Patch from a suggestion by Andreas Schwab in:
      This patch is for non-MS-Windows platforms.
      I don't know the situation on MS-Windows.
      * src/process.c (connecting_status):
      New function, for (connect . ADDRINFOS).
      (connect_network_socket, check_for_dns, wait_for_socket_fds)
      (wait_while_connecting, wait_reading_process_output, status_notify):
      Use it.
      (decode_status, Fmake_network_process):
      Support (connect . ADDRINFOS) status.
      (connect_network_socket) [!WINDOWSNT]:
      If the connection failed and there are other addresses to try, do not
      signal an error; instead, loop around to try the next address.
      (wait_reading_process_output): Advance to the next address
      if there are multiple addresses and the first remaining address
      * src/process.h (struct Lisp_Process.status): Adjust comment
      to describe (connect . ADDRINFOS).
    • Paul Eggert's avatar
      Fix GNUC_PREREQ for GCC 2.8.1 etc. · d267aea2
      Paul Eggert authored
      Problem reported by Eli Zaretskii in:
      * src/conf_post.h (GNUC_PREREQ): Port to GCC versions like GCC
      2.8.1 (1998), which come before GCC 3.0 and which have nonzero
      patchlevel numbers.
    • Eli Zaretskii's avatar
      Don't set 'bidi-paragraph-direction' in 'ansi-term' · e26931cb
      Eli Zaretskii authored
      * lisp/term.el (ansi-term): Remove unnecessary setting of
      'bidi-paragraph-direction'.  The underlying problem is solved in
      bidi.c by changing the regexps that define the paragraph beginning
      and end.  (Bug#20611)
    • Paul Eggert's avatar
      ; Spelling fixes · 8419f0d1
      Paul Eggert authored
    • Michael Albinus's avatar
      Sync with Tramp 2.3.0 · e68fe57c
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.3.0".
    • Paul Eggert's avatar
      Fix GNUC_PREREQ off-by-1 typo · 094aaf22
      Paul Eggert authored
      Problem reported by Martin Rudalics in:
      * src/conf_post.h (GNUC_PREREQ) [__GNUC_PATCHLEVEL__]:
      Fix < vs <= typo.
    • Michael Albinus's avatar
      Fix some oddities in Tramp's rsync and smb methods · 574904bb
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-methods) <rsync>: Add "-p" and
      "-s" arguments.
      Call `file-name-directory' also for remote NEWNAME.
      * test/lisp/net/tramp-tests.el (tramp-test15-copy-directory):
      Do not skip for tramp-smb.el.  Test als COPY-CONTENTS case.
      (tramp-test24-file-name-completion): Improve check for
      hostname completion.
      (tramp--test-rsync-p): New defun.
      (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
      (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
      (tramp-test32-utf8-with-ls): Skip for "rsync".
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory):
      Check also for CIFS capabilities.
    • Ury Marshak's avatar
      Fix FRAME_INTERNAL_BORDER_WIDTH use (Bug#23841) · 9f51da56
      Ury Marshak authored
      * src/nsfns.m (x_set_internal_border_width): Replace assignments to
      Copyright-paperwork-exempt: yes
    • Leo Liu's avatar
      Deprecations (bug#23850) · 0214011c
      Leo Liu authored
      * lisp/subr.el (string-to-unibyte, string-as-unibyte,
      string-to-multibyte, string-as-multibyte): Make obsolete.
    • Tino Calancha's avatar
      Do not prompt twice to save a buffer · c87c2cad
      Tino Calancha authored
      * lisp/hilit-chg.el (highlight-markup-buffers): (Bug#23824).
    • Alan Third's avatar
      Move text line right when in box (bug#23755) · f7df85a8
      Alan Third authored
      * src/nsterm.m (ns_draw_glyph_string_foreground): Create to take
      CHAR_GLYPH specific code and move glyphs right if within a box.
      (ns_draw_glyph_string): Move CHAR_GLYPH specific code into above
  6. 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.
  7. 24 Jun, 2016 2 commits