1. 31 May, 2015 4 commits
  2. 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.
  3. 29 May, 2015 8 commits
  4. 28 May, 2015 14 commits
    • Katsumi Yamaoka's avatar
      gnus-art.el: Re-revert last change · 52811891
      Katsumi Yamaoka authored
      * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
      cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
    • Samer Masterson's avatar
      Show files when `initial-buffer-choice' is non-nil · d3605ed7
      Samer Masterson authored
      * startup.el (command-line-1): When Emacs is given a file as an
      argument and `initial-buffer-choice' is non-nil, display both the file
      and `initial-buffer-choice'.  For more than one file, show
      `initial-buffer-choice' and *Buffer List*.  Refactor display-changing
      commands out of the command line arg parser.
      (initial-buffer-choice): Clarify docstring.
    • Eli Zaretskii's avatar
      Fix last commit · 5d75612f
      Eli Zaretskii authored
      * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
      (gnulib module qcopy-acl): Add back, as it is harmless.  This
      minimizes differences wrt lib/gnulib.mk.
    • Eli Zaretskii's avatar
      Fix the MS-Windows build as followup to gnulib update · 10831473
      Eli Zaretskii authored
      * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
      set-permissions.c, as they don't compile on MinGW.
      (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · 192fb202
      Glenn Morris authored
    • Paul Eggert's avatar
      Revert my change to gnus-art.el · 02586bde
      Paul Eggert authored
      * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
      It wasn't that important, and it caused a Gnus build to fail.  See:
    • Paul Eggert's avatar
      New minor mode Electric Quote · 73512b8c
      Paul Eggert authored
      This lets you easily insert quotes ‘like this’ by typing
      quotes `like this', and similarly you can easily insert
      quotes “like this” by typing quotes ``like this'' (Bug#20545).
      * doc/emacs/basic.texi (Inserting Text):
      * doc/emacs/modes.texi (Minor Modes):
      * etc/NEWS: Document it.
      * doc/emacs/text.texi (Quotation Marks): New section.
      * lisp/electric.el (electric-quote-comment)
      (electric-quote-string, electric-quote-paragraph):
      New custom vars.
      (electric-quote-post-self-insert-function): New functions.
      (electric-quote-mode, electric-quote-local-mode): New minor modes.
      * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
      Add curved single quotes to electric-pair-text-pairs.
      Set electric-quote-string in this buffer.
    • Paul Eggert's avatar
      A few more doc string fixes (Bug#20385) · 4643f6c2
      Paul Eggert authored
    • Paul Eggert's avatar
      Accept curved quotes in doc strings · 89ab85f2
      Paul Eggert authored
      * lisp/info-look.el (info-lookup-guess-custom-symbol):
      (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
    • Paul Eggert's avatar
      Generate curved quotes in pseudo-info nodes · 67c28d1f
      Paul Eggert authored
      * lisp/info.el (Info-virtual-index-find-node)
      (Info-virtual-index, Info-apropos-find-node, info-apropos):
      Quote ‘like this’, not `like this', when generating pseudo-info nodes.
    • Paul Eggert's avatar
      Fix minor quoting problems in doc strings · dfc2ef11
      Paul Eggert authored
      Most of these fixes involve escaping grave accents that are
      actually intended to be grave accents, not left quotes.
    • Paul Eggert's avatar
      Support curved quotes in doc strings · 0fd5e659
      Paul Eggert authored
      Emacs's traditional doc string style has been to quote symbols
      `like this'.  This worked well on now-obsolete terminals where
      ` and ' were symmetric quotes, but nowadays curved quotes
      ‘like this’ look better.  Support quoting the new way too.
      * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
      ‘like-this’ as well as `like-this'.
      * etc/NEWS: Mention this.
      * lisp/cedet/mode-local.el (overload-docstring-extension)
      (mode-local-print-binding, mode-local-describe-bindings-2):
      * lisp/cus-theme.el (describe-theme-1):
      * lisp/descr-text.el (describe-text-properties-1, describe-char):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
      * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
      * lisp/emacs-lisp/package.el (describe-package-1):
      * lisp/faces.el (describe-face):
      * lisp/help-fns.el (help-fns--key-bindings)
      (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
      (help-fns--interactive-only, describe-function-1):
      * lisp/help.el (describe-mode):
      * lisp/international/mule-cmds.el (describe-input-method)
      * lisp/international/mule-diag.el (describe-character-set)
      (print-coding-system-briefly, list-input-methods)
      Insert curved quotes rather than grave accent and apostrophe.
      * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
      * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
      * lisp/finder.el (finder-font-lock-keywords):
      * lisp/gnus/gnus-art.el (gnus-button-alist):
      * lisp/help-fns.el (help-do-arg-highlight)
      (describe-function-1, describe-variable):
      * lisp/help-mode.el (help-xref-symbol-regexp)
      (help-xref-info-regexp, help-xref-url-regexp):
      * lisp/help.el (describe-mode):
      * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
      * lisp/wid-edit.el (widget-documentation-link-regexp):
      Parse symbols quoted ‘like-this’ as well as `like-this'.
      * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
      Add "‘" and "’" to electric-pair-text-pairs.
      (elisp--form-quoted-p): Also allow "‘" as a quoting char.
      (elisp-completion-at-point, elisp--preceding-sexp):
      Also treat "‘" and "’" as quoting chars.
    • Paul Eggert's avatar
      substitute-command-keys now curves quotes · 11b2744f
      Paul Eggert authored
      So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
      * doc/lispref/help.texi (Keys in Documentation):
      * etc/NEWS: Document this.
      * src/doc.c (Fsubstitute_command_keys): Implement it.
    • Glenn Morris's avatar
      * lisp/mail/rmailsum.el (rmail-summary-by-recipients) · 2363d498
      Glenn Morris authored
      (rmail-summary-by-topic, rmail-summary-by-senders):
      No longer strip leading/trailing whitespace.