1. 30 Mar, 2015 2 commits
    • Alan Mackenzie's avatar
      Correct calculation of CC Mode's font-lock region. · 05a5a940
      Alan Mackenzie authored
      * cc-mode.el (c-fl-decl-start): Renamed from c-set-fl-decl-start.
      * Change
      signature such that nil is returned when no declaration is found.
      (c-change-expand-fl-region): Renamed from c-change-set-fl-decl-start.
      This now also handles expanding the font lock region to whole lines.
      (c-context-expand-fl-region): Renamed from c-context-set-fl-decl-start.
      This now also handles expanding the font lock region to whole lines.
      (c-font-lock-fontify-region): When a change font lock region is
      spuriously enlarged to the beginning-of-line by jit-lock, fontify the
      extra bit separately from the region calculated by CC Mode.
      (c-extend-after-change-region): Explicitly apply 'fontified properties
      to
      the extended bits of the font lock region.
      
      * cc-langs.el (c-before-font-lock-functions)
      (c-before-context-fontification-functions): Use new names for existing
      functions (see above).
      05a5a940
    • Richard Ryniker's avatar
      In sendmail-send-it don't switch to non-existent buffer. (Bug#20211) · d9eff027
      Richard Ryniker authored
      * mail/sendmail.el (sendmail-send-it): Do not attempt to switch
      to non-existent buffer (errbuf is not created when customization
      variable mail-interactive is nil).  (Bug#20211)
      d9eff027
  2. 29 Mar, 2015 1 commit
  3. 28 Mar, 2015 4 commits
  4. 27 Mar, 2015 2 commits
    • NicolasPetton's avatar
      8478885d
    • Wolfgang Jenkner's avatar
      Preserve face text properties in comint prompt. · 792d44b3
      Wolfgang Jenkner authored
      Fixes: debbugs:20084
      
      * lisp/font-lock.el (font-lock--remove-face-from-text-property): New
      function.  Adapted from the previously commented out
      remove-single-text-property.
      Remove previously unused and commented out auxiliary function
      remove-text-property and obsolete comment.
      * lisp/comint.el (comint-output-filter): Use it to remove
      comint-highlight-prompt.
      (comint-snapshot-last-prompt, comint-output-filter): Use
      font-lock-prepend-text-property for comint-highlight-prompt.
      * test/automated/textprop-tests.el: New file.
      (textprop-tests-font-lock--remove-face-from-text-property): New test.
      
      Thus, the original face text property of a prompt "candidate" (the
      last line of an output chunk not ending with a newline) is
      preserved.  This amends the fix for bug#14744.
      792d44b3
  5. 26 Mar, 2015 6 commits
  6. 25 Mar, 2015 9 commits
  7. 24 Mar, 2015 4 commits
  8. 23 Mar, 2015 10 commits
    • Stefan Monnier's avatar
      Add new `cl-struct' and `eieio' pcase patterns. · ae277259
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
      * lisp/emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
      (eieio-pcase-slot-index-from-index-table): New functions.
      (eieio): New pcase pattern.
      * lisp/emacs-lisp/pcase.el (pcase--make-docstring): New function.
      (pcase): Use it to build the docstring.
      (pcase-defmacro): Make sure the macro is lazy-loaded.
      (\`): Move its docstring from `pcase'.
      ae277259
    • Dmitry Gutov's avatar
      Get rid of json-decode-char0 as well · a50c95db
      Dmitry Gutov authored
      Fixes: debbugs:20154
      
      * lisp/json.el (json-decode-char0): Delete this alias as well.
      (json-read-escaped-char): Don't call it.
      a50c95db
    • Daniel Colascione's avatar
      Fix previous commit (again) · bad7308e
      Daniel Colascione authored
      bad7308e
    • Daniel Colascione's avatar
      Fix previous commit · b8d7d7e8
      Daniel Colascione authored
      b8d7d7e8
    • Daniel Colascione's avatar
      Try to avoid fontifying macros in funcall position · d235b1d2
      Daniel Colascione authored
      * lisp/emacs-lisp/lisp-mode.el
      (lisp--el-non-funcall-position-p): New function.
      (lisp--el-match-keyword): Use it.
      d235b1d2
    • Ben Bacarisse's avatar
      lisp/gnus/nnmh.el (nnmh-request-expire-articles): Work for the case... · 90b46f5b
      Ben Bacarisse authored
      lisp/gnus/nnmh.el (nnmh-request-expire-articles): Work for the case nnmail-expiry-target is an nnmh group (bug#20170)
      90b46f5b
    • Daiki Ueno's avatar
      Generalize start-process with keyword args · 47e0e319
      Daiki Ueno authored
      * src/process.c (Fmake_process): New function.
      (create_process, create_pty): Check p->pty_flag instead of
      Vprocess_connection_type.
      (syms_of_process): Register QCcommand, QCconnection_type, Qpty,
      Qpipe, and Smake_process.  Unregister Sstart_process.
      
      * lisp/subr.el (start-process): New function, ported from the C
      implementation.
      
      * doc/lispref/processes.texi (Asynchronous Processes): Mention
      `make-process'.
      
      * etc/NEWS: Mention `make-process'.
      47e0e319
    • Daniel Colascione's avatar
      Automatically adjust process window sizes · 165bea78
      Daniel Colascione authored
      * lisp/window.el (window-adjust-process-window-size-function): New
      customizable variable.
      (window-adjust-process-window-size)
      (window-adjust-process-window-size-smallest)
      (window-adjust-process-window-size-largest)
      (window--process-window-list, window--adjust-process-windows):
      New functions.
      (window-configuration-change-hook): Add
      `window--adjust-process-windows'.
      * lisp/term.el (term-mode): Observe result of
      `window-adjust-process-window-size-function'.
      (term-check-size): Delete.
      165bea78
    • Jackson Ray Hamilton's avatar
      Have `sgml-attribute-offset' control SGML attribute indentation · f4c23f45
      Jackson Ray Hamilton authored
      Fixes: debbugs:20161
      
      * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
      (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
      indentation.
      f4c23f45
    • Glenn Morris's avatar
      authors.el small additions · e7f92aa3
      Glenn Morris authored
      * lisp/emacs-lisp/authors.el (authors-aliases)
      (authors-obsolete-files-regexps): Additions.
      e7f92aa3
  9. 22 Mar, 2015 2 commits