1. 09 Sep, 2017 11 commits
    • Paul Eggert's avatar
      Improve --enable-gcc-warnings for MinGW64 · d6312354
      Paul Eggert authored
      This partially reverts my 2016-05-30 patch.  Apparently MinGW64
      still requires pacifications that GCC 7.1.1 x86-64 (Fedora 26)
      does not.  Also, pacify tparam.c, which isn’t used on Fedora.
      * lib-src/etags.c (process_file_name, TeX_commands):
      * src/buffer.c (fix_overlays_before):
      * src/data.c (Fmake_variable_buffer_local, cons_to_unsigned)
      (cons_to_signed):
      * src/editfns.c (Ftranslate_region_internal):
      Prefer UNINIT to some stray value, as this simplifies
      code-reading later.
      * src/eval.c (CACHEABLE): New macro.
      (internal_lisp_condition_case): Use it.
      * src/tparam.c (tparam1): Use FALLTHROUGH to pacify GCC.
      d6312354
    • Eli Zaretskii's avatar
      Fix font-lock in Compilation mode · 715f0835
      Eli Zaretskii authored
      * lisp/progmodes/compile.el (compilation-face): Restore function
      lost during recent changes.  (Bug#28349)
      715f0835
    • Mark Oteiza's avatar
      Add function to read all entries in a group · 4131f978
      Mark Oteiza authored
      Use that to extend xdg-desktop-read-file.  Also fix a bug where all
      entries in all groups were read and returned by xdg-desktop-read-file.
      * lisp/xdg.el (xdg-desktop-read-group): New function.
      (xdg-desktop-read-file): Use it.
      * test/data/xdg/malformed.desktop: New file.
      * test/data/xdg/test.desktop: Add another section.
      * test/lisp/xdg-tests.el (xdg-desktop-parsing): Test presence of a key
      in another group.  Test reading a prescribed group.  Test detecting a
      malformed key=value.
      4131f978
    • Gemini Lasswell's avatar
      Reduce Tramp's memory usage · 68b7ecba
      Gemini Lasswell authored
      Construct Tramp syntax strings and regular expressions once instead
      of every time they are used, and store them in alists keyed by Tramp
      syntax.
      * tramp.el (tramp-build-remote-file-name-spec-regexp)
      (tramp-build-file-name-structure): New functions.
      (tramp-prefix-format-alist, tramp-prefix-regexp-alist)
      (tramp-method-regexp-alist)
      (tramp-postfix-method-format-alist)
      (tramp-postfix-method-regexp-alist)
      (tramp-prefix-ipv6-format-alist, tramp-prefix-ipv6-regexp-alist)
      (tramp-postfix-ipv6-format-alist)
      (tramp-postfix-ipv6-regexp-alist)
      (tramp-postfix-host-format-alist)
      (tramp-postfix-host-regexp-alist)
      (tramp-remote-file-name-spec-regexp-alist)
      (tramp-file-name-structure-alist): New constants.
      (tramp-lookup-syntax): New function.
      (tramp-prefix-format, tramp-prefix-regexp, tramp-method-regexp)
      (tramp-postfix-method-format, tramp-postfix-method-regexp)
      (tramp-prefix-ipv6-format, tramp-prefix-ipv6-regexp)
      (tramp-postfix-ipv6-format, tramp-postfix-ipv6-regexp)
      (tramp-postfix-host-format, tramp-postfix-host-regexp)
      (tramp-remote-file-name-spec-regexp, tramp-file-name-structure):
      Use it.
      68b7ecba
    • Eli Zaretskii's avatar
      Fix compilation warnings in MinGW64 build using GCC 7 · 2b84c166
      Eli Zaretskii authored
      Reported by Richard Copley <rcopley@gmail.com>.
      * src/w32heap.c (init_heap): Declare enable_lfh only for
      mingw.org's MinGW build.
      
      * src/w32console.c (w32con_write_glyphs):
      * src/unexw32.c (get_section_info, COPY_CHUNK, unexec): Fix some
      mismatches of data type vs format spec.
      
      * src/w32fns.c (compute_tip_xy):
      * src/w32proc.c (stop_timer_thread):
      * src/w32notify.c (remove_watch):
      * src/eval.c (internal_lisp_condition_case):
      * src/editfns.c (Ftranslate_region_internal):
      * src/data.c (Fmake_variable_buffer_local, cons_to_unsigned)
      (cons_to_signed):
      * src/buffer.c (fix_overlays_before): Initialize variables to
      avoid compiler warnings.
      
      * lib-src/etags.c (TeX_commands, process_file_name): Initialize
      variables to avoid compilation warnings.
      2b84c166
    • Miles Bader's avatar
      e91da7f8
    • Eli Zaretskii's avatar
      Avoid infloop when scrolling under scroll-preserve-screen-position · d1da8e53
      Eli Zaretskii authored
      * src/window.c (window_scroll_pixel_based): If screen position is
      to be preserved, make sure its recorded Y coordinate is outside
      the scroll margin.  (Bug#28342)
      d1da8e53
    • Michael Albinus's avatar
      Clarification in tramp-texi · af11532b
      Michael Albinus authored
      * doc/misc/tramp.texi (Connection caching): Two connections are
      regarded as different now when they differ in the port number only.
      af11532b
    • Mark Oteiza's avatar
      ; Fix previous commit · be9bc8e6
      Mark Oteiza authored
      See https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00101.html
      * test/lisp/xdg.el: Remove match data tests.
      * lisp/xdg.el (xdg-user-dir): Fix docstring. Remove save-match-data.
      (xdg-desktop-read-file, xdg-desktop-strings): Remove save-match-data.
      be9bc8e6
    • Miles Bader's avatar
      ce964084
    • Miles Bader's avatar
      Use text-property buttons in rcirc-markup-urls · b464dab2
      Miles Bader authored
      * lisp/net/rcirc.el (rcirc-markup-urls): Use `make-text-button'
      instead of `make-button'; the former is much more efficient in large
      buffers, and for the purposes of rcirc, changes no functionality.
      b464dab2
  2. 08 Sep, 2017 12 commits
    • Eli Zaretskii's avatar
      Fix line-pixel-height for lines of variable height · 79150f60
      Eli Zaretskii authored
      * src/xdisp.c (Fline_pixel_height): Start moving from the
      beginning of the screen line, to capture the full metrics of the
      line.  (Bug#28391)
      79150f60
    • Alex Branham's avatar
      New variable 'dired-confirm-killing-deleted-buffers' · 5f31879e
      Alex Branham authored
      * lisp/dired-x.el (dired-clean-confirm-killing-deleted-buffers):
      New variable.
      * lisp/dired.el (dired-clean-up-after-deletion): Kill buffers
      visiting deleted files without confirming if
      dired-clean-confirm-killing-deleted-buffers is nil.  (Bug#28373)
      * etc/NEWS: Document the change.
      
      Copyright-paperwork-exempt: yes
      5f31879e
    • Alfred M. Szmidt's avatar
      Support SVN files with svn:externals property · 9b9c9305
      Alfred M. Szmidt authored
      * lisp/vc/vc-svn.el (vc-svn-parse-status): Don't ignore files
      marked with the svn:externals property.
      
      Copyright-paperwork-exempt: yes
      9b9c9305
    • Alfred M. Szmidt's avatar
      List locally removed files in vc-dir with SVN back-end · e3476d29
      Alfred M. Szmidt authored
      * lisp/vc/vc-svn.el (vc-svn-after-dir-status): List files marked
      with ?! as needs-update.
      
      Copyright-paperwork-exempt: yes
      e3476d29
    • Ken Olum's avatar
      Fix Rmail editing with reapplying encoding to message body · f82d9323
      Ken Olum authored
      * lisp/mail/rmailedit.el (rmail-cease-edit):  If no
      content-type in edited headers, look for one in original
      headers and add it to edited headers.  (Bug #26918)
      Use a marker to track start of new body, so that
      content-transfer-encoding gets applied only to body.  (Bug #27353).
      Ensure blank line at end of message after encoding, not
      before.
      f82d9323
    • Eli Zaretskii's avatar
      Document last change in dired.el · 37cde9c6
      Eli Zaretskii authored
      * etc/NEWS (Dired): Document the last change in dired.el.
      (Bug#27435)
      37cde9c6
    • Tak Kunihiro's avatar
      Make mouse clicks in Dired more customizable · 41eb4c51
      Tak Kunihiro authored
      * lisp/dired.el (dired-mouse-find-file): Allow callers to
      specify functions to visit file/directory.
      (dired-mouse-find-file-other-window)
      (dired-mouse-find-file-other-frame): New functions to visit
      files in another window/frame.  (Bug#27435)
      41eb4c51
    • Eli Zaretskii's avatar
      Avoid compiler warnings on MS-Windows with GCC 6 and 7 · be90cd14
      Eli Zaretskii authored
      * src/w32font.c (SUBRANGE): Use unsigned arithmetic for
      bit-shifting, to avoid compiler warnings.
      (w32font_text_extents): Tell GCC NGLYPHS is non-negative, to avoid
      a warning.  For details of the warning, see
      http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00093.html.
      * src/term.c (keys) [WINDOWSNT]: Don't define, as it is not used
      in that build.
      * src/sound.c (sound_perror): Ifdef away on WINDOWSNT, as this
      function is not used in that build.
      
      * configure.ac: Disable -Wsuggest-attribute=format on MS-Windows.
      be90cd14
    • Eli Zaretskii's avatar
      Fix 'directory-file-name' on DOS_NT systems as well · e2a10d7f
      Eli Zaretskii authored
      * src/fileio.c (directory_file_name) [DOS_NT]: Fix the DOS_NT case
      to be consistent with last change.
      
      * test/src/fileio-tests.el (fileio-tests--odd-symlink-chars):
      Disable on MS-Windows.
      (fileio-tests--directory-file-name-dos-nt)
      (fileio-tests--file-name-as-directory-dos-nt): New tests.
      e2a10d7f
    • Wilson Snyder's avatar
      Fix various verilog-mode.el issues. · 442fe111
      Wilson Snyder authored
      * lisp/progmodes/verilog-mode.el (verilog-expand-dirnames): Fix expanding
      "*/*", msg2284. Reported by Jonathan Ferguson.
      (ignore-errors): Fix ignore-errors error on Emacs 22.3, bug1177. Reported
      by Victor Lau.
      (verilog-getopt, verilog-getopt-file) (verilog-library-flags,
      verilog-substitute-file-name-path): Support -F in verilog getopt files,
      bug1171. Reported by George Cuan.
      (verilog-do-indent): Fix misindenting symbols starting with t,
      bug1169. Reported by Hoai Tran.
      (verilog-read-auto-template-middle): Fix slow template matching on
      AUTOINST. Reported by Jeffrey Huynh.
      (verilog-pretty-expr): The extra whitespace addition before "=" operators
      is now done only if the whole assignment block contains the 2-character
      "<=" operator.  Remove the unused argument _myre.  Use `unless',
      `save-excursion' and `when' functions where possible.  Internal variables
      refactored for clarity.  Follow elisp convention for closing parentheses.
      By Kaushal Modi.
      (verilog-get-lineup-indent-2): Update docstring.  Internal variables
      refactored for clarity.  Earlier EDPOS argument was expected to be a
      marker; it is now renamed to END and is now expected to be a position.
      Use `when' instead of `if'.  By Kaushal Modi.
      (electric-verilog-terminate-line): Remove the unused second argument from
      `verilog-pretty-expr' call.  By Kaushal Modi.
      (verilog-calc-1): Fix indentation of a virtual class definition after a
      typedef class, bug1080.  By Kaushal Modi.
      442fe111
    • Katsumi Yamaoka's avatar
      Don't use summary window to visit group buffer (bugfix) · 9546e1eb
      Katsumi Yamaoka authored
      * lisp/gnus/gnus-sum.el (gnus-summary-jump-to-group): Make sure that
      the window to open the group buffer doesn't visit the summary buffer.
      This fixes a bug: `gnus-summary-next-article' sometimes causes an error
      by trying to select nonexistent summary window.
      9546e1eb
    • Paul Eggert's avatar
      Fix bug: (directory-file-name "///") returned "//" · aedc566a
      Paul Eggert authored
      * src/fileio.c (directory_file_name): For "///" and longer,
      return "/", not "//", as per POSIX.
      * test/src/fileio-tests.el (fileio-tests--directory-file-name)
      (fileio-tests--file-name-as-directory): New tests.
      aedc566a
  3. 07 Sep, 2017 4 commits
  4. 06 Sep, 2017 6 commits
  5. 05 Sep, 2017 7 commits