1. 02 Jun, 2015 7 commits
  2. 01 Jun, 2015 6 commits
    • Michael Albinus's avatar
      Sync with Tramp repository · e3a0f3da
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-message): Dump connection buffer error
      messages.
      (tramp-handle-make-auto-save-file-name): When calling
      `make-auto-save-file-name' internally, make sure it uses Unix-like
      behavior, not Windows-like behavior.
      
      * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
      the local case, because "chown" might fail on w32.
      
      * lisp/net/trampver.el (tramp-repository-get-version): Don't run
      for XEmacs.
      e3a0f3da
    • Eli Zaretskii's avatar
      MS-Windows followup for batch stdout/stderr output changes · 40b33be8
      Eli Zaretskii authored
      * lisp/international/mule-cmds.el (set-locale-environment): In
      batch mode, use console codepages for keyboard and terminal
      encoding.  (Bug#20545)
      40b33be8
    • Eli Zaretskii's avatar
      Update .gitattributes for DOS EOL files · d0848f8d
      Eli Zaretskii authored
      * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
      CRLF end-of-line format.
      d0848f8d
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · e8f586be
      Glenn Morris authored
      e8f586be
    • Paul Eggert's avatar
      Avoid grave accent quoting in stderr diagnostics · 2c656f7d
      Paul Eggert authored
      A few Emacs diagnostics go directly to stderr, and so can't easily
      contain curved quotes (as non-UTF-8 locales might mishandle them).
      Instead of bothering to add support for this rarity, reword the
      diagnostics so that they don't use grave accent to quote.
      * src/alloc.c (mark_memory): Fix comment.
      * src/buffer.c (init_buffer):
      * src/dispnew.c (init_display):
      * src/emacs.c (main, sort_args):
      * src/lread.c (dir_warning):
      * src/term.c (init_tty):
      * src/unexmacosx.c (unexec):
      * src/xfns.c (select_visual):
      * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
      Reword stderr diagnostics to avoid quoting `like this'.
      * src/unexmacosx.c: Include errno.h.
      * src/xfns.c (select_visual): Encode value for locale.
      2c656f7d
    • Paul Eggert's avatar
      Treat batch stdout/stderr like standard display · 467af178
      Paul Eggert authored
      Calls like (print FOO) could generate improperly encoded or
      hard-to-read output if FOO contains characters outside the system
      locale.  Fix this by treating batch stdout and stderr like
      interactive standard display, when it comes to transliterating and
      encoding characters (Bug#20545).
      * doc/emacs/mule.texi (Communication Coding):
      * doc/lispref/display.texi (Active Display Table):
      * doc/lispref/nonascii.texi (Locales):
      * etc/NEWS:
      * src/coding.c (syms_of_coding):
      * src/dispnew.c (syms_of_display):
      Document this.
      * src/print.c: Include disptab.h.
      (printchar_to_stream): New function, with much of the guts of the
      old Fexternal_debugging_output, except this one also uses the
      standard display table.
      (printchar, strout, Fexternal_debugging_output): Use it.
      467af178
  3. 31 May, 2015 5 commits
  4. 30 May, 2015 14 commits
    • Paul Eggert's avatar
      Remove format2 · d90a3b18
      Paul Eggert authored
      * src/editfns.c, src/lisp.h (format2): Remove.
      It is more trouble than it's worth, now that we have CALLN.
      This is just a minor refactoring.
      * src/buffer.c (Fkill_buffer):
      * src/dbusbind.c (XD_OBJECT_TO_STRING):
      * src/fileio.c (barf_or_query_if_file_exists):
      Adjust to format2 going away.
      d90a3b18
    • Paul Eggert's avatar
      Don't misencode C-generated messages · 75f8653b
      Paul Eggert authored
      Also, be more consistent about calls to 'Fmessage' vs 'message'.
      * src/alloc.c (Fgc_status):
      Prefer AUTO_STRING to build_string for Fmessage call.
      * src/data.c (Fmake_variable_buffer_local)
      (Fmake_local_variable, Fmake_variable_frame_local):
      * src/doc.c (store_function_docstring):
      Use Fmessage, not message, since the argument can contain
      non-ASCII characters, and this can cause the resulting message
      to be incorrectly encoded for the current environment.
      * src/fns.c (maybe_resize_hash_table):
      * src/xselect.c (x_clipboard_manager_save_all):
      Use message, not Fmessage, since Fmessage's power isn't needed here.
      * src/process.c (Fmake_network_process): Reword message to avoid %s.
      * src/xdisp.c (vmessage): Document restrictions on message contents.
      (message_nolog) [false]: Remove unused code.
      75f8653b
    • Paul Eggert's avatar
      Use \r rather than ^M in string literals · 85aa6ede
      Paul Eggert authored
      This is less likely to cause problems on platforms that
      use CRLF (or CR!) termination for lines.
      85aa6ede
    • Paul Eggert's avatar
      Update .gitattributes to match current sources · e553c503
      Paul Eggert authored
      http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
      * .gitattributes: Accommodate tests that insist on DOS format.
      Remove test/automated/data/decompress/foo-gzipped.
      Add etc/e/eterm-color.
      e553c503
    • Eli Zaretskii's avatar
      Document 'face-ignored-fonts' · 83c7e62a
      Eli Zaretskii authored
      * doc/emacs/mule.texi (Modifying Fontsets): Document
      face-ignored-fonts.  (Bug#20628)
      83c7e62a
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Add etags test for the new -Q option · 0acb538b
      Eli Zaretskii authored
      * 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: Adjust to
      test-case changes below.
      * test/etags/ETAGS.good_6: New file.
      
      * test/etags/cp-src/x.cc: New file.
      * test/etags/Makefile (CPSRC): Add x.cc.
      (check): Add one more test, for -Q.
      0acb538b
    • Dmitry Gutov's avatar
      Use list for the tags completion table, not obarray · 0ac9d09b
      Dmitry Gutov authored
      * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
      list instead of an obarray
      (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
      (tags-completion-table): Combine those lists.
      (tags-completion-table): Update the docstring.
      0ac9d09b
    • Eli Zaretskii's avatar
      Restore EOL format testing in etags · 5e73eab8
      Eli Zaretskii authored
      * 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: Adjust to
      test-case changes below.
      * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
      * test/etags/cp-src/c.C (B): Add back stray CR character.
      * test/etags/c-src/dostorture.c: Add back.
      * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
      5e73eab8
    • Vitaly Takmazov's avatar
      Declare Emacs on MS-Windows to be DPI-aware · 71f1139c
      Vitaly Takmazov authored
      * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
      * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
      This avoids Windows entering compatibility mode for Emacs,
      which causes fonts to look less nice.
      
      Copyright-paperwork-exempt: yes
      71f1139c
    • Michael Albinus's avatar
      Improve Tramp traces. · fdf31e5d
      Michael Albinus authored
      * lisp/net/trampver.el (tramp-repository-get-version): New defun.
      
      * lisp/net/tramp.el (tramp-debug-message): Use it.
      fdf31e5d
    • Paul Eggert's avatar
      backup-buffer minor reworking of internals · b65be6c5
      Paul Eggert authored
      * lisp/files.el (backup-buffer): Rework to avoid a couple of
      unused locals inadvertently introduced in the previous change.
      b65be6c5
    • Paul Eggert's avatar
      backup-buffer now reports .emacs.d/%backup% ills · ab277227
      Paul Eggert authored
      * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
      fails due to disk space exhaustion or whatever, do not pretend
      that it succeeded.  More generally, do a better job of checking
      for I/O failures, and limit the scope of the condition-case to
      just the operations where file errors should be caught and ignored
      (Bug#20595).  Also, don't bother trying to delete later backups if
      an earlier deletion fails, as this is a sign of trouble and it's
      better to stop when there's trouble.
      ab277227
    • Paul Eggert's avatar
      copy-file now truncates output after writing · 2c3dde9f
      Paul Eggert authored
      * src/fileio.c (Fcopy_file): Truncate output after writing rather
      than before.  This is more likely to work than truncation before
      writing, if the file system is out of space or the user is over
      disk quota (Bug#20595).  Also, check for read errors.
      2c3dde9f
  5. 29 May, 2015 8 commits