1. 28 May, 2015 6 commits
    • 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 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.
      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
    • 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
      db87b14e
  4. 25 May, 2015 9 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
      terminal-init-xterm-modify-other-keys.
      (xterm--init-bracketed-paste-mode): Rename from
      terminal-init-xterm-bracketed-paste-mode.
      (xterm--init-activate-set-selection): Rename from
      terminal-init-xterm-activate-set-selection.
      (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.
      816a2b36
    • 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++.
      49c8458d
    • 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.
      1efdf7fe
    • Michael Albinus's avatar
      175a07a1
    • 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.
      ac59d538
    • 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
      option.
      
      * 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.
      9c66c5a0
    • 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.
      9b995d55
    • Lars Magne Ingebrigtsen's avatar
      Make erc timestamps visible again · 969f3fb2
      Lars Magne Ingebrigtsen authored
      * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec): Make
      timestamps visible again (if requested).
      969f3fb2
    • Eli Zaretskii's avatar
      Fix last change in etags.c that broke tagging compresed files · adc846ad
      Eli Zaretskii authored
      * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
      quoting of decompression shell command for MS-Windows/MS-DOS.
      adc846ad