1. 09 Sep, 2017 8 commits
    • 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
      * 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-prefix-ipv6-format-alist, tramp-prefix-ipv6-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.
    • 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)
      * 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.
    • Miles Bader's avatar
    • 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)
    • 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.
    • 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.
    • Miles Bader's avatar
    • 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.
  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)
    • 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
    • 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
    • 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
    • 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
    • Eli Zaretskii's avatar
      Document last change in dired.el · 37cde9c6
      Eli Zaretskii authored
      * etc/NEWS (Dired): Document the last change in dired.el.
    • 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-frame): New functions to visit
      files in another window/frame.  (Bug#27435)
    • 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
      * 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.
    • 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--file-name-as-directory-dos-nt): New tests.
    • 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.
    • 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.
    • 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.
  3. 07 Sep, 2017 4 commits
  4. 06 Sep, 2017 6 commits
  5. 05 Sep, 2017 10 commits