1. 08 Sep, 2017 7 commits
    • 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
  2. 07 Sep, 2017 4 commits
  3. 06 Sep, 2017 6 commits
  4. 05 Sep, 2017 12 commits
  5. 04 Sep, 2017 5 commits
    • Paul Eggert's avatar
      Revert recent float→double Motif change · d4c3669f
      Paul Eggert authored
      Problem reported by Martin Rudalics in:
      http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00014.html
      * src/xterm.c (xm_scroll_callback, xaw_jump_callback)
      (x_set_toolkit_scroll_bar_thumb)
      (x_set_toolkit_horizontal_scroll_bar_thumb):
      Go back to using ‘float’ temporaries rather than ‘double’.
      Although quite possibly this masks an underlying bug,
      we lack time to look into that now.
      d4c3669f
    • Glenn Morris's avatar
      emacsclient-tests: add some debug statements · 514e147d
      Glenn Morris authored
      * test/lib-src/emacsclient-tests.el
      (emacsclient-test-call-emacsclient): Add debug statements.
      514e147d
    • Michael Albinus's avatar
      Work on Tramp's (symbolic) links · 8a65d7a7
      Michael Albinus authored
      * doc/misc/tramp.texi (Traces and Profiles): Mention the
      backtrace when tramp-verbose is greater than or equal to 10.
      
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      Use `tramp-handle-add-name-to-file'.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Use
      `tramp-handle-add-name-to-file' and `tramp-handle-file-truename'.
      
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link): Improve.
      
      * lisp/net/tramp-smb.el (tramp-smb-errors):
      Add "NT_STATUS_CONNECTION_DISCONNECTED" and
      "NT_STATUS_OBJECT_PATH_SYNTAX_BAD".
      (tramp-smb-file-name-handler-alist): Use `tramp-handle-file-truename'.
      (tramp-smb-do-file-attributes-with-stat): Return non-nil only
      if one of the attributes is non-nil.
      (tramp-smb-handle-file-local-copy): Use `file-truename'.
      (tramp-smb-handle-file-truename): Move to tramp.el.
      (tramp-smb-handle-insert-directory): Show symlinks.
      (tramp-smb-handle-make-symbolic-link): Improve.
      (tramp-smb-read-file-entry): Handle extended file modes in Samba.
      
      * lisp/net/tramp.el (tramp-handle-add-name-to-file)
      (tramp-handle-file-truename): New defuns.
      
      * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Extend test.
      (tramp--test-check-files): Make check for "smb".
      8a65d7a7
    • Mark Oteiza's avatar
      Embed JSON readtable into json-read · 9314e6c5
      Mark Oteiza authored
      Also unroll dispatch into a cond.
      * lisp/json.el (json-readtable): Remove.
      (json-readtable-dispatch): New macro.  Assimilate json-readtable.
      (json-read): Use the macro.
      9314e6c5
    • Mark Oteiza's avatar
      Hexify strings in EWW search queries · 132f4472
      Mark Oteiza authored
      Previously, inputting "cats & dogs" would lose dogs because the
      ampersand signifies a query parameter.  Instead, hexify each word while
      preserving quotes with split-string.
      * lisp/net/eww.el (eww--dwim-expand-url): Join hexified words together
      with + separators, instead of replacing whitespace with +.
      132f4472
  6. 03 Sep, 2017 6 commits