1. 28 May, 2015 16 commits
    • 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.
      5d75612f
    • 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.
      10831473
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · 192fb202
      Glenn Morris authored
      192fb202
    • 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:
      http://www.randomsample.de:4456/builders/emacs-devel/builds/734
      02586bde
    • 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--insertable-p)
      (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.
      73512b8c
    • Paul Eggert's avatar
      A few more doc string fixes (Bug#20385) · 4643f6c2
      Paul Eggert authored
      4643f6c2
    • 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.
      89ab85f2
    • 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.
      67c28d1f
    • 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.
      (Bug#20385)
      dfc2ef11
    • 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.
      (Bug#20385)
      * 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)
      (eieio-help-constructor):
      * 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):
      (describe-variable):
      * lisp/help.el (describe-mode):
      * lisp/international/mule-cmds.el (describe-input-method)
      (describe-language-environment):
      * lisp/international/mule-diag.el (describe-character-set)
      (print-coding-system-briefly, list-input-methods)
      (list-input-methods-1):
      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)
      (checkdoc-proper-noun-region-engine):
      * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
      (lisp-cl-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.
      0fd5e659
    • 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.
      11b2744f
    • 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.
      2363d498
    • Glenn Morris's avatar
      * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends". · 8d216325
      Glenn Morris authored
      (f90-no-block-limit): Add "enum".  (Bug#20680)
      
      * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
      New tests.
      8d216325
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      f655987d
    • Paul Eggert's avatar
      Merge from gnulib · 6c52e9b9
      Paul Eggert authored
      This incorporates:
      2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
      2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
      2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
      2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
      2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
      2015-05-26 stdio: fix probe on mingw under gcc 5.1
      * admin/merge-gnulib (GNULIB_MODULES):
      Replace qacl with qcopy-acl, since we don't need the rest of qacl.
      * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
      * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
      * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
      Get latest versions from gnulib.
      * lib/get-permissions.c, lib/set-permissions.c: New files.
      * lib/gnulib.mk, m4/gnulib-comp.m4:
      Regenerate.
      * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
      6c52e9b9
  2. 27 May, 2015 19 commits
  3. 26 May, 2015 5 commits
    • Paul Eggert's avatar
      Handle curved quotes in info files · 5e9756e4
      Paul Eggert authored
      * lisp/calc/calc-help.el (calc-describe-thing):
      * lisp/info.el (Info-find-index-name)
      (Info-try-follow-nearest-node, Info-fontify-node):
      * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
      In info files, process quotes ‘like this’ the same way we process
      quotes `like this'.  This catches a few places we missed earlier.
      5e9756e4
    • Dmitry Gutov's avatar
      xref-prompt-for-identifier: Use a list value · d86ef9fc
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
      value, to be interpreted as a list of commands.
      (xref--prompt-p): New function.
      (xref--read-identifier): Use it.
      d86ef9fc
    • Eli Zaretskii's avatar
      Teach MS-Windows font back-end return per-glyph ascent/descent · 53bedd3a
      Eli Zaretskii authored
      * src/w32font.h (struct w32_metric_cache): Add ascent and descent
      values.
      
      * src/w32font.c (w32font_text_extents): Compute, cache, and
      accumulate per-glyph ascent and descent values, instead of copying
      global values from the font.  If the values are not available from
      the font data, i.e., non-TTF fonts, fall back on font-global values.
      (compute_metrics): Compute and return per-glyph ascent and descent
      values, if returned by GetGlyphOutlineW, falling back on
      font-global values.  (Bug#20628)
      
      * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
      height of rectangle to be drawn, to be compatible with
      XDrawRectangle.  Fixes glyphless-char display as hex codes in a
      box, when per-glyph ascent/descent values are used.
      53bedd3a
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter · 45c92ddd
      Artur Malabarba authored
      (tabulated-list-print): Don't sort if sorter is nil
      45c92ddd
    • Michael Albinus's avatar
      Fix Bug#20621 · f43306ae
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it.  There
      are major modes which set `auto-save-mode' on their own rules;
      Tramp shall not overwrite such settings.
      
      Fixes: debbugs:20621
      f43306ae