1. 16 Oct, 2016 1 commit
    • Sam Steingold's avatar
      Save and restore buffer-display-time · cd726ef6
      Sam Steingold authored
      * desktop.el (desktop-locals-to-save): Add `buffer-display-time'
      (desktop-read): Set `desktop-file-modtime' before loading the desktop file
      (desktop-create-buffer): Adjust `buffer-display-time' for the downtime
      cd726ef6
  2. 15 Oct, 2016 4 commits
    • Philipp Stephani's avatar
      Disable bracketed paste in a terminal in char mode · cf566b46
      Philipp Stephani authored
      In char mode, a terminal doesn't accept bracketed paste events,
      therefore we should disable them; see Bug#24639.  To decouple the XTerm
      management from term.el, introduce a per-buffer setting to disable
      bracketed paste for that buffer.  If bracketed paste is inhiited for at
      least one buffer in a terminal, it is disabled for the whole terminal.
      
      * term/xterm.el (xterm-inhibit-bracketed-paste-mode): New mode to
      inhibit XTerm bracketed paste per buffer.
      (xterm--buffer-terminals, xterm--update-bracketed-paste)
      (xterm--bracketed-paste-possible, xterm--is-xterm): New helper
      functions.
      (xterm--init-bracketed-paste-mode): Remove unused helper
      function.
      (terminal-init-xterm): Update bracketed paste status when
      initializing an XTerm and on window configuration change.
      
      * term.el (term-char-mode, term-line-mode): Inhibit XTerm
      bracketed paste in char mode.
      cf566b46
    • Eli Zaretskii's avatar
    • Dima Kogan's avatar
      Undo the effect of CapsLock when other modifiers are present · a38096f8
      Dima Kogan authored
      * src/keyboard.c (make_lispy_event): Effectively undo the effect
      of CapsLock if any modifiers other than Shift are present in a key.
      (Bug#24456)
      a38096f8
    • Simen Heggestøyl's avatar
      Add tests for foreign completions in CSS mode · 07c0db43
      Simen Heggestøyl authored
      * test/lisp/textmodes/css-mode-tests.el
      (css-test-foreign-completions): New test for
      `css--foreign-completions'.
      (css-test-complete-selector-tag): Rename test.
      (css-test-complete-selector-class): New test testing completion of
      class names in selectors.
      (css-test-complete-selector-id): New test testing completion of IDs in
      selectors.
      07c0db43
  3. 13 Oct, 2016 6 commits
    • Lars Ingebrigtsen's avatar
      Cosmetic change to last mm-url change · 1a99d5dd
      Lars Ingebrigtsen authored
      * lisp/gnus/mm-url.el (mm-url-encode-multipart-form-data):
      Tweak last change slightly for more readability.
      1a99d5dd
    • Lars Ingebrigtsen's avatar
      Fix problem with submitting binary data via HTTP forms · a6e0188d
      Lars Ingebrigtsen authored
      * lisp/gnus/mm-url.el (mm-url-encode-multipart-form-data):
      Document the parameters, clean up the code, and make uploading
      binary data really work (which it didn't if the binary bits
      were in the last part of the data).
      a6e0188d
    • Mark Oteiza's avatar
    • Mark Oteiza's avatar
      Derive Man and WoMan modes from special-mode · 506a97a5
      Mark Oteiza authored
      * lisp/man.el (Man-mode-map): Set parent to map composed from both
      button-buffer-map and special-mode-map.  Remove redundant bindings.
      Fix menu to refer to the quit-window command.
      (Man-mode): Derive from special-mode.  Fix docstring.  Remove redundant
      buffer-read-only binding.
      (Man-quit): Remove.
      * lisp/woman.el (woman-really-find-file): Use setq-local.
      (woman-mode-map): Refer to woman-mode in docstring.
      (woman-mode): Derive from special-mode.  Document woman-mode-map in
      docstring.  Use setq-local where possible; imenu-generic-expression is
      already buffer-local.
      (woman-negative-vertical-space): Replace unused binding with _.
      506a97a5
    • Philipp Stephani's avatar
      Fix crash in evaluating functions · 8ee95221
      Philipp Stephani authored
      See Bug#24673
      
      * src/eval.c (funcall_lambda): Fix crash for bogus functions such
      as (closure).
      
      * test/src/eval-tests.el (eval-tests--bug24673): Add test.
      8ee95221
    • Tino Calancha's avatar
      Add test for Bug#24627 · b0f1d23e
      Tino Calancha authored
      * /test/lisp/thingatpt-tests.el (thing-at-point-bug24627): New test.
      b0f1d23e
  4. 12 Oct, 2016 1 commit
  5. 11 Oct, 2016 4 commits
  6. 10 Oct, 2016 11 commits
  7. 09 Oct, 2016 1 commit
  8. 08 Oct, 2016 11 commits
    • Eli Zaretskii's avatar
      Allow to disable compaction of font caches · 44e402ea
      Eli Zaretskii authored
      * src/font.c (syms_of_font) <inhibit-compacting-font-caches>: New
      boolean variable.
      * src/alloc.c (compact_font_caches): Use it to bypass the call to
      compact_font_cache_entry.  (Bug#24634)  (Bug#24565)
      
      * etc/NEWS: Mention the new variable.
      44e402ea
    • Eli Zaretskii's avatar
      Allow selection of font for symbols as in Emacs 24.x · 4ff4b66d
      Eli Zaretskii authored
      * src/fontset.c (syms_of_fontset) <use-default-font-for-symbols>:
      New boolean variable.
      (face_for_char): Use it to fall back to pre-Emacs 25.1 behavior
      when selecting fonts for displaying symbol and punctuation
      characters.  (Bug#24644)
      
      * etc/NEWS: Mention the new variable.
      4ff4b66d
    • Philipp Stephani's avatar
      Don’t consider nested let-alist forms · 5b774598
      Philipp Stephani authored
      See Bug#24641.
      
      * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Don’t
      consider symbols in nested ‘let-alist’ forms.
      
      * test/lisp/emacs-lisp/let-alist-tests.el
      (let-alist--deep-dot-search--nested): Add a unit test.
      5b774598
    • Eli Zaretskii's avatar
      ; Fix last commit · c03d44bb
      Eli Zaretskii authored
      * doc/lispref/functions.texi (Argument List): Restore the index
      entry for 'wrong-number-of-arguments'.  (Bug#24222)
      * doc/lispref/errors.texi: Fix cross-reference for
      'wrong-number-of-arguments'.
      c03d44bb
    • Eli Zaretskii's avatar
      ; Fix indexing in lispref manual · d4be4f3f
      Eli Zaretskii authored
      * doc/lispref/functions.texi (Argument List): Remove the index
      entry for 'wrong-number-of-arguments'.  (Bug#24222)
      d4be4f3f
    • Alain Schneble's avatar
      Support SIGTRAP in kill emulation on Windows · f3eedc7e
      Alain Schneble authored
      * src/w32proc.c (sys_kill): Translate SIGTRAP signal into a call to
      'DebugBreakProcess' to cause a breakpoint exception to occur in the
      specified process.  On Windows versions prior to Windows XP that do
      not support 'DebugBreakProcess' return -1 and set errno to ENOTSUP
      (as opposed to EINVAL before this change).
      * src/w32proc.c: Add typedef for 'DebugBreakProcess' function pointer
      and global variable to track state of run-time dynamic linking of this
      function.
      
      * etc/NEWS: Add entry to document that 'signal-process' now supports
      SIGTRAP.
      f3eedc7e
    • Wilfred Hughes's avatar
      ; Minor improvement in documentation of generators · ed399f26
      Wilfred Hughes authored
      * doc/lispref/control.texi (Generators): Add a 'require' to the
      example code.  (Bug#24539)
      ed399f26
    • Eli Zaretskii's avatar
      Deprecate 'wp' group and introduce a new group 'text' · 67d14c82
      Eli Zaretskii authored
      * lisp/textmodes/tildify.el (tildify):
      * lisp/textmodes/text-mode.el (text-mode-hook):
      * lisp/textmodes/table.el (table):
      * lisp/textmodes/rst.el (rst):
      * lisp/textmodes/refer.el (refer):
      * lisp/textmodes/refbib.el (refbib):
      * lisp/textmodes/picture.el (picture):
      * lisp/textmodes/nroff-mode.el (nroff):
      * lisp/textmodes/enriched.el (enriched):
      * lisp/textmodes/bib-mode.el (bib):
      * lisp/progmodes/ebnf2ps.el (ebnf2ps):
      * lisp/nxml/rng-valid.el (relax-ng):
      * lisp/view.el (view):
      * lisp/ps-print.el (ps-print):
      * lisp/printing.el (printing):
      * lisp/outline.el (outlines):
      * lisp/lpr.el (lpr):
      * lisp/delim-col.el (columns): Use 'text' group instead of 'wp'.
      * lisp/cus-edit.el (wp): Remove the "text" tag.
      (text): New defgroup, inherits from the deprecated 'wp'.
      (outlines): Remove, in favor of the definition in outline.el.
      (tex): Inherit from 'text'.
      Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#24549)
      67d14c82
    • Laimonas Vėbra's avatar
      Extend dictionary and library-directory handling for Ispell · 2913fa2d
      Laimonas Vėbra authored
      * lisp/textmodes/ispell.el (ispell-check-version): Allow
      overriding LIBDIR via the variable defined by LIBRARYVAR (usually
      ISPELL_DICTDIR).
      (ispell-valid-dictionary-list): If the -d option to Ispell
      specifies an absolute file name, use that regardless of
      ispell-library-directory.  (Bug#24439)
      
      Copyright-paperwork-exempt: yes
      2913fa2d
    • Eli Zaretskii's avatar
      Fix horizontal scrolling during Isearch · 197a6bcc
      Eli Zaretskii authored
      * lisp/isearch.el (isearch-update): Compute the window's body
      width in a way that is correct when there are no fringes.
      (Bug#24584)
      197a6bcc
    • Eli Zaretskii's avatar
      Fix infloop in redisplay due to truncated lines and invisible text · 3566644a
      Eli Zaretskii authored
      * src/xdisp.c (forward_to_next_line_start): Don't call
      'get_next_display_element' after finding the end of line.  This
      avoids setting the row's end position to the wrong value when the
      next screen line begins with invisible text; that wrong value
      caused set_cursor_from_row position the cursor in the wrong screen
      line, and eventually triggered bug#24109.
      3566644a
  9. 07 Oct, 2016 1 commit