1. 28 May, 2015 8 commits
    • 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.
    • 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.
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
    • 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:
      * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
  2. 27 May, 2015 19 commits
  3. 26 May, 2015 6 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.
    • 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.
    • 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
      * 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.
    • 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
    • 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
    • Glenn Morris's avatar
      * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork. · db87b14e
      Glenn Morris authored
      (desktop-load-file): Guess that "foobar" defines "foobar-mode".
      (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
      Doc updates.
      (vc-dir-mode): Remove unnecessary autoload.
      ; Ref: http://debbugs.gnu.org/19226#14
  4. 25 May, 2015 7 commits
    • Philipp Stephani's avatar
      * lisp/term/xterm.el: Add gui-get-selection support via OSC-52 · 816a2b36
      Philipp Stephani authored
      (xterm--extra-capabilities-type): Add `getSelection'.
      (xterm--query): Add `no-async' argument.
      (xterm--init-activate-get-selection): New function.
      (terminal-init-xterm): Use it.
      (xterm--init-modify-other-keys): Rename from
      (xterm--init-bracketed-paste-mode): Rename from
      (xterm--init-activate-set-selection): Rename from
      (xterm--selection-char): New function.
      (gui-backend-set-selection): Use it.  Use the &context to only apply
      this method in terminals where we enabled the feature.
      (gui-backend-get-selection): New method.
    • Daniel Colascione's avatar
      Add C-language keyword constants to C++ · 49c8458d
      Daniel Colascione authored
      * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
      keyword constants to C++.
    • Paul Eggert's avatar
      Make TAGS files more portable to MS-Windows · 1efdf7fe
      Paul Eggert authored
      * etc/NEWS: Document this.
      * lib-src/etags.c (readline_internal) [DOS_NT]:
      Don't treat CRs differently from GNUish hosts.
      * lisp/progmodes/etags.el (etags-goto-tag-location):
      Adjust STARTPOS to account for the skipped CRs in dos-style files.
    • Michael Albinus's avatar
    • Eli Zaretskii's avatar
      Fix a typo in last commit · ac59d538
      Eli Zaretskii authored
      * lib-src/etags.c (C_entries): Fix a typo.
      * 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: Update due to the change in etags.c.
    • Eli Zaretskii's avatar
      Fix tagging of class members in C-like OO languages · 9c66c5a0
      Eli Zaretskii authored
      * lib-src/etags.c (longopts): Add new option --class-qualify and
      its shorthand -Q.
      (print_help): Add help text for --class-qualify.
      (main): Add handling of -Q.
      (consider_token, C_entries) <omethodparm>: Append argument types
      to Objective C methods only if --class-qualify was specified.
      Qualify C++, Objective C, and Java class members with their class
      names only if --class-qualify was specified.
      (C_entries): If --class-qualify was not specified, remove the
      namespace and class qualifiers from tag names of C++ methods.
      This allows to use etags.el as xref back-end without the
      tag-symbol-match-p method, which greatly increases the number of
      potentially false positives.  (Bug#20629)
      * doc/man/etags.1: Update to document the new --class-qualify
      * 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: Update due to changes in etags.c.
    • Stefan Monnier's avatar
      (cl-generic-define-method): Side effects are evil (bug#20644) · 9b995d55
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
      cons-cells that might be used as keys in an `equal' hash-table.