1. 13 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Improve diff hunk headers when maintaining Emacs · 181e92c4
      Paul Eggert authored
      * .gitattributes: Improve diff hunk header support for makefiles,
      shell scripts, Ada, C, C++, Objective C, HTML, SHTML, XML, Java,
      Perl, PHP, Python, Ruby, and TeX, all of which are used in Emacs
      somewhere (sometimes just in test cases).
      * autogen.sh: Add regexes for makefiles and shell scripts.
  2. 12 Mar, 2016 1 commit
  3. 11 Mar, 2016 9 commits
  4. 10 Mar, 2016 15 commits
    • Stefan Monnier's avatar
      * lisp/textmodes/tex-mode.el: Complete local envs. Use #'. · ea626c72
      Stefan Monnier authored
      Use #' for function names.
      (latex-complete-envnames): Include existing environments in
      current buffer.
      (latex-insert-block): Use latex-complete-envnames.
      (tildify-foreach-ignore-environments): Declare.
    • Ken Raeburn's avatar
      Don't use XRANDR 1.3 extensions if the server doesn't support them. · 8b8a6ad3
      Ken Raeburn authored
      * src/xterm.h (struct x_display_info): Add fields to save XRANDR
      version number.
      * src/xfns.c (x_get_monitor_attributes): Save the version numbers
      after querying the X server.
      (x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or
      XRRGetScreenResourcesCurrent if the server doesn't support at least
      RANDR version 1.3.  Conditionalize the code blocks on compiling
      against library version 1.3 or better, rather than feature tests for
      each function.
      * configure.ac: Stop testing for those two functions.
    • Eli Zaretskii's avatar
      ; NEWS update for the last change in etags · 985dacfa
      Eli Zaretskii authored
    • Paul Eggert's avatar
      Sync with gnulib · 741a6f8e
      Paul Eggert authored
      This incorporates:
      2016-03-08 intprops: make .h file license match module
      2016-03-08 acl: fix missing return on Cygwin
      2016-03-05 extern-inline: port to PGI CC
      * doc/misc/texinfo.tex, lib/intprops.h, lib/set-permissions.c:
      * m4/extern-inline.m4:
      Copy from gnulib.
    • Paul Eggert's avatar
      Rework C source files to avoid ^( · 7352c6c6
      Paul Eggert authored
      Work around Bug#22884 by rewording comments and strings to avoid ‘(’
      at the start of a line unless it starts a function.  This change
      is a short-term hack; in the longer run we plan to fix cc-mode’s
      performance for C files that have ‘(’ at the start of a line in a
      comment or string.
    • Eli Zaretskii's avatar
      By default, etags produces unqualified Perl tag names · a589e9ae
      Eli Zaretskii authored
      * lib-src/etags.c (Perl_functions): Produce unqualified names,
      unless -Q was specified.
      (print_help): Update the description of -Q.
      * doc/man/etags.1: Update the documentation of -Q.
      * test/etags/ETAGS.good_1:
      * test/etags/ETAGS.good_2:
      * test/etags/ETAGS.good_3:
      * test/etags/ETAGS.good_4:
      * test/etags/ETAGS.good_5:
      * test/etags/CTAGS.good: Adapt the expected test results to the
      changed Perl functionality.
    • Alain Schneble's avatar
      Fix asynchronous TLS connections on MS-Windows · dda6201a
      Alain Schneble authored
      * src/w32.c (sys_write): Don't switch the socket to blocking mode
      if the connection attempt is in progress.  Instead, return either
      EWOULDBLOCK immediately if the connection is in progress, or the
      error code produced by '_sys_wait_connect' if the connection
      failed.  Switching the socket to blocking mode was found to
      interfere with GnuTLS handshake.  (Bug#22789)
    • Nicolas Richard's avatar
    • Dmitry Gutov's avatar
      Indent methods with keyword names correctly · 72c7438c
      Dmitry Gutov authored
      * lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call):
      Rename to ruby-smie--before-method-name.  Now also check if we're
      after a 'def' keyword.  Update both callers.
    • Dmitry Gutov's avatar
      Propertize character literals and special global variables differently · 28532a91
      Dmitry Gutov authored
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize
      character literals and global variables with special names with
      prefix and symbol syntax classes, for SMIE to tokenize them
      together automatically.
      (ruby-font-lock-keywords): Fix an old regression in highlighting
      character literals.
    • Alan Mackenzie's avatar
    • Alan Mackenzie's avatar
      Clarify the documentation of nested comments. · f7adb8a4
      Alan Mackenzie authored
      * doc/lispref/syntax.texi (Syntax Flags): State that only comments of the same
      style are recognized inside nestable comments.
      (Low-Level Parsing): Clarify that parsing will stop after the start or end of
      UNNESTED comments.
    • Eli Zaretskii's avatar
      ; Fix last change in NEWS · a7d6f39d
      Eli Zaretskii authored
    • Nicolas Richard's avatar
      Add new function display-buffer-reuse-mode-window · 2d382515
      Nicolas Richard authored
      * lisp/window.el (display-buffer-reuse-mode-window): New function.
      * doc/lispref/windows.texi (Display Action Functions): Document it.
    • Paul Eggert's avatar
      Minor fixes for getaddrinfo_a usage · f0b31080
      Paul Eggert authored
      * src/process.c (Fdelete_process): Check gai_cancel return value.
      That way, there’s no need to invoke gai_error.  Check gai_suspend
      return value.
      (Fmake_network_process): Don’t assume gai_strerror returns a UTF-8
      string.  Simplify call to connect_network_socket.
      (check_for_dns): Avoid unnecessary initialization of local.
  5. 09 Mar, 2016 7 commits
  6. 08 Mar, 2016 5 commits
    • Andreas Schwab's avatar
      Properly handle unquoting in wdired (bug 22938) · 02bf7cc4
      Andreas Schwab authored
      The recorded old names are not quoted, don't unquote them.
      * lisp/wdired.el (wdired-normalize-filename): Add argument
      unquotep, only unquote if non-nil.
      (wdired-get-filename): Don't unquote the old file name.
      (wdired-get-previous-link): Always unquote.
    • Paul Eggert's avatar
      ; Spelling fix and tighten up comment · 16cf469d
      Paul Eggert authored
    • Paul Eggert's avatar
      Pacify --enable-gcc-warnings · e0400b72
      Paul Eggert authored
      * src/xfns.c (x_create_tip_frame): Omit unused local.
      (Fx_show_tip): Don’t jump over auto initialization.
    • Martin Rudalics's avatar
      Optionally reuse tooltip frames instead of deleting/recreating them. · 80864c2a
      Martin Rudalics authored
      * src/frame.c (tooltip_reuse_hidden_frame): New option.
      * src/w32fns.c (x_create_tip_frame): Remove argument TEXT.  Fix
      handling of dividers.
      (x_hide_tip): New function.
      (Fx_show_tip): Try to reuse old tooltip frame when
      `tooltip-reuse-hidden-frame' is non-nil and frame parameters
      have not changed.  Insert STRING here instead of passing it to
      x_create_tip_frame.  Compute size of tooltip window with
      Fwindow_text_pixel_size.  Obey Vw32_tooltip_extra_pixels when
      padding tooltip window.
      (Fx_hide_tip): Call x_hide_tip.
      (Vw32_tooltip_extra_pixels): New variable.
      * src/xdisp.c (Fwindow_text_pixel_size): Don't return negative y
      value.  Fix doc-string.
      * src/xfns.c (x_create_tip_frame): Remove argument TEXT.  Call
      make_frame with mini_p argument false.
      (x_hide_tip): New function.
      (Fx_show_tip): Try to reuse old tooltip frame when
      `tooltip-reuse-hidden-frame' is non-nil and frame parameters
      have not changed.  Insert STRING here instead of passing it to
      x_create_tip_frame.  Compute size of tooltip window with
      (Fx_hide_tip): Call x_hide_tip.
      * lisp/cus-start.el (tooltip-reuse-hidden-frame): Add
      customization entry.
    • Paul Eggert's avatar
      Assume getaddrinfo in C code · 59c7a5d7
      Paul Eggert authored
      * admin/CPP-DEFINES, configure.ac: Remove HAVE_GETADDRINFO, HAVE_H_ERRNO.
      All uses removed.
      * doc/lispref/processes.texi (Network, Network Processes), etc/NEWS:
      Say that port numbers can be integer strings.
      * lib-src/pop.c (h_errno) [!WINDOWSNT && !HAVE_H_ERRNO]: Remove decl.
      (socket_connection): Assume HAVE_GETADDRINFO.
      * lisp/mpc.el (mpc--proc-connect):
      * lisp/net/network-stream.el (open-network-stream):
      It’s now OK to use integer strings as port numbers.
      * src/process.c (conv_numerical_to_lisp) [!HAVE_GETADDRINFO]: Remove.
      (Fmake_network_process): Assume HAVE_GETADDRINFO.
  7. 07 Mar, 2016 2 commits
    • Paul Eggert's avatar
      Remove support for IRIX · 6bc8689c
      Paul Eggert authored
      The IRIX port wasn’t really working anyway, and the code was
      getting in the way of other changes (e.g., getaddrinfo fixes).
      IRIX’s supplier dropped support for IRIX in 2013.
      * admin/CPP-DEFINES:
      * configure.ac (opsys):
      * doc/lispref/os.texi (System Environment):
      * etc/MACHINES, etc/PROBLEMS:
      * lisp/find-dired.el (find-grep-options):
      * lisp/lpr.el (lpr-lp-system):
      * lisp/ls-lisp.el (ls-lisp-emulation):
      * lisp/mail/rmail.el (rmail-spool-directory):
      * lisp/net/net-utils.el (ping-program-options):
      * lisp/progmodes/gud.el (gud-irix-p, gud-dbx-use-stopformat-p):
      * lisp/progmodes/ps-mode.el (ps-mode-print-function):
      * src/conf_post.h [IRIX6_5]:
      * src/emacs.c (Vsystem_type):
      * src/filelock.c (get_boot_time_1):
      * src/process.c (process_send_signal):
      * src/unexelf.c (unexec):
      Omit IRIX-specific code and/or documentation.
      * configure.ac (NON_GCC_TEST_OPTIONS, IRIX6_5, PREFER_VSUSP):
      Remove.  All uses removed.
      * etc/NEWS: Document the change.
    • Dmitry Gutov's avatar
      Allow splat operator before percent literal · f50bc04a
      Dmitry Gutov authored
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
      Allow splat operator before percent literal.