1. 03 Jun, 2015 4 commits
  2. 02 Jun, 2015 10 commits
    • Michael Albinus's avatar
      Ensure, that autorevert works for remote files in file-notify-tests.el · 420b293c
      Michael Albinus authored
      * test/automated/file-notify-tests.el (file-notify--test-desc):
      New defvar.
      (file-notify-test00-availability, file-notify-test01-add-watch)
      (file-notify-test02-events): Use it.
      (file-notify--test-event-test): Check proper descriptor.
      (file-notify-test03-autorevert): Ensure, that
      `visited-file-modtime' has changed.
      Fixes: debbugs:20392
    • Dmitry Gutov's avatar
      Reuse rgrep mechanics in xref-find-regexp · 7f01832e
      Dmitry Gutov authored
      * lisp/progmodes/grep.el (rgrep-default-command):
      Extract from `rgrep'.
      * lisp/progmodes/xref.el (xref-collect-references): Split from
      `xref-collect-matches'.  Only handle the case of symbol search.
      (xref-collect-matches): Instead of Semantic Symref, use
      `rgrep-default-command', to take advantage of its directory and
      file ignore settings.
      (xref--collect-match): Remove the last argument, leaving the
      regexp construction up to the caller.
      * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
      Change to take the xref-collect- function to use as an argument.
      (elisp-xref-find): Update accordingly.
      * lisp/progmodes/etags.el (etags--xref-find-matches)
      (etags-xref-find): Same.
    • Dmitry Gutov's avatar
      Move xref-elisp-location to elisp-mode.el · 64f2d346
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-elisp-location)
      (xref-make-elisp-location, xref-location-marker): Remove here.
      (xref--xref): Don't limit the type of the location slot.
      * lisp/progmodes/elisp-mode.el (xref-elisp-location):
      Define as a cl-struct here.
      (xref-location-marker): Move here.
    • Eli Zaretskii's avatar
      Minor tweaks for .gitignore · 98cb43fb
      Eli Zaretskii authored
      * .gitignore: Don't ignore versioned *.html and *.ps files.  Don't
      ignore admin/notes/tags that might be ignored as TAGS on
      case-insensitive filesystems.  (Bug#20710)
    • Paul Eggert's avatar
      Generate curved quotes in ert doc · a158324a
      Paul Eggert authored
      * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
      Quote ‘like this’, not `like this', when generating doc strings
      and the like.
      * test/automated/ert-x-tests.el (ert-test-describe-test):
      Allow quoting ‘like this’.
    • Nicolas Richard's avatar
      Add test for previous commit · c7695d0a
      Nicolas Richard authored
      * test/automated/replace-tests.el: New file.
      (query-replace--split-string-tests): Add test for previous commit.
    • Nicolas Richard's avatar
      Avoid confusion in query-replace history when replacing NUL chars · bc9d9bc7
      Nicolas Richard authored
      * lisp/replace.el (query-replace--split-string): New function.
      (query-replace-read-from): Rely on the 'separator' property
      instead of searching for the NUL character (Bug#20690).
    • Glenn Morris's avatar
      Merge from origin/emacs-24 · 59db4308
      Glenn Morris authored
      8b5f2f43 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
    • Glenn Morris's avatar
      ; Merge from origin/emacs-24 · 9fcd66da
      Glenn Morris authored
      The following commits were skipped:
      82e2ce9d Bump Emacs version to 24.5.50.
      866501ef * lisp/ChangeLog: Remove a duplicate
      8272c1db lisp/ldefs-boot.el: Update for the 24.5 release
      7cad9d5e Update the 24.5 release date in all ChangeLog files
    • Glenn Morris's avatar
      * admin/gitmerge.el (gitmerge-commit-message): · 9b97b040
      Glenn Morris authored
      Exclude "skipped" messages from ChangeLog.
  3. 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
      (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.
    • 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)
    • 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.
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · e8f586be
      Glenn Morris authored
    • 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.
    • 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.
  4. 31 May, 2015 5 commits
  5. 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.
    • 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.
    • 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.
    • Paul Eggert's avatar
      Update .gitattributes to match current sources · e553c503
      Paul Eggert authored
      * .gitattributes: Accommodate tests that insist on DOS format.
      Remove test/automated/data/decompress/foo-gzipped.
      Add etc/e/eterm-color.
    • Eli Zaretskii's avatar
      Document 'face-ignored-fonts' · 83c7e62a
      Eli Zaretskii authored
      * doc/emacs/mule.texi (Modifying Fontsets): Document
      face-ignored-fonts.  (Bug#20628)
    • 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.
    • 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
      (tags-completion-table): Combine those lists.
      (tags-completion-table): Update the docstring.
    • 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.
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
  6. 29 May, 2015 1 commit