1. 13 Sep, 2014 4 commits
    • Leo Liu's avatar
      * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Add · 85b3d352
      Leo Liu authored
      pcase-exhaustive.
      
      * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
      (pcase--expand): Use it.
      (pcase-exhaustive): New macro.
      
      Fixes: debbugs:16567
      85b3d352
    • Eli Zaretskii's avatar
      Fix HTML rendering by shr-insert-document in Rmail. · 5f9d7c7c
      Eli Zaretskii authored
       lisp/mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
       using the specified transfer-encoding, if any, or 'undecided'.
       (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
       broken at the window margin.
      
      Fixes: debbugs:4258
      5f9d7c7c
    • Eli Zaretskii's avatar
      Decode HTML text before presenting it in Rmail. · cac270ff
      Eli Zaretskii authored
       lisp/mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
       using the specified transfer-encoding, if any, or 'undecided'.
      
      Fixes: debbugs:4258
      cac270ff
    • Ken Olum's avatar
      Support rendering of HTML parts in Rmail (bug #4258). · cea1424e
      Ken Olum authored
       lisp/mail/rmailmm.el (rmail-mime-process): Handle text/html
       separately from other text/ types.  Suppress tagline for
       multipart body.
       (rmail-mime-parse): Don't change visibility of tagline here.
       (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
       Handle text/html specially.
       (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
       (rmail-mime-insert-html, rmail-mime-render-html-shr)
       (rmail-mime-render-html-lynx): New functions.
       (rmail-mime-fix-inserted-faces): New function.
       (rmail-mime-process-multipart): Find the best part to show
       following rmail-mime-prefer-html if set.
       (rmail-mime-searching): New variable.
       (rmail-search-mime-message): Bind rmail-mime-searching to
       suppress rendering while searching.
      cea1424e
  2. 12 Sep, 2014 1 commit
    • Sam Steingold's avatar
      Add support for Vertica SQL. · 82bb5d8c
      Sam Steingold authored
      * lisp/progmodes/sql.el (sql-product-alist): Add vertica.
      (sql-vertica-program, sql-vertica-options)
      (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
      New functions and variables to support Vertica.
      Inspired by code by Roman Scherer <roman@burningswell.com>.
      82bb5d8c
  3. 11 Sep, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · 0f2ed592
      Paul Eggert authored
      * lisp/ses.el (ses-file-format-extend-parameter-list): Rename from
      ses-file-format-extend-paramter-list.  All uses changed.
      * lisp/gnus-cloud.el (gnus-cloud-parse-version-1): Fix misspelling
      of ":delete".
      0f2ed592
  4. 10 Sep, 2014 2 commits
    • Alan Mackenzie's avatar
      CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc gets · c8b22035
      Alan Mackenzie authored
      loaded at run-time).
      * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
      c-lang-const to c-make-no-parens-syntax-table and correct the
      logic.
      (c-no-parens-syntax-table): Correct the logic of the c-lang-defvar.
      c8b22035
    • Stefan Monnier's avatar
      CC-mode: Set open-paren-in-column-0-is-defun-start to nil; · 47003633
      Stefan Monnier authored
      plus misc cleanup.
      * lisp/progmodes/cc-mode.el (c-basic-common-init):
      Set open-paren-in-column-0-is-defun-start.
      (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
      Remove declarations, unused.
      (run-mode-hooks): Remove declaration.
      (font-lock-defaults): Use plain `defvar' to declare.
      (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
      * lisp/progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
      (c-make-mode-syntax-table): Don't micro-optimize.
      (c-keywords, c-keyword-member-alist): Simplify.
      (c-kwds-lang-consts): Don't eval at compile-time.
      (c-primary-expr-regexp): Comment out unused vars.
      * lisp/progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
      (c-font-byte-compile): New var.
      (c--compile): New function.  Use it instead of `byte-compile'.
      (c-cpp-matchers): Quote the value returned by
      `c-make-syntactic-matcher' in case it's not self-evaluating.
      (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
      parentheses instead (in case MATCHER happens to be a list).
      (c-font-lock-enum-tail): Remove unused var `start'.
      (c-font-lock-objc-methods): Silence byte-compiler warnings.
      * lisp/progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
      test into an argument.
      * lisp/progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
      (c-get-char-property): Don't use `eval' just to unquote a constant.
      (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
      more efficiently.
      (c-put-char-property-fun): Don't call `byte-compile' by hand.
      (c-clear-char-property, c-clear-char-properties): Check that `property'
      is a quoted constant.
      (c-emacs-features): Remove `infodock', `syntax-properties', and
      `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
      'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
      changing buffer, so we don't have to setq them again afterwards.
      (c-lang-const): Remove redundant symbolp assertions.
      (c-find-assignment-for-mode): Use `or'.
      * lisp/Makefile.in (compile-one-process): Remove cc-mode dependency.
      47003633
  5. 09 Sep, 2014 2 commits
  6. 08 Sep, 2014 6 commits
  7. 06 Sep, 2014 1 commit
    • Leo Liu's avatar
      Add vector qpattern to pcase · e872d52c
      Leo Liu authored
      * doc/lispref/control.texi (Pattern matching case statement): Document vector
      qpattern. 
      
      * etc/NEWS: Mention vector qpattern for pcase.  (Bug#18327).
      
      * lisp/emacs-lisp/pcase.el (pcase): Doc fix.
      (pcase--split-vector): New function.
      (pcase--q1): Support vector qpattern.  (Bug#18327)
      e872d52c
  8. 05 Sep, 2014 6 commits
  9. 04 Sep, 2014 5 commits
  10. 03 Sep, 2014 3 commits
    • Stefan Monnier's avatar
      * lisp/progmodes/which-func.el (which-func-ff-hook): Obey pre-existing · 23aec677
      Stefan Monnier authored
      buffer-local setting of which-func-mode.
      (which-func-mode): Use defvar-local.
      (which-function-mode): Don't reset which-func-mode in each buffer since
      it might have been set by someone else.
      (which-func-update-ediff-windows): Check which-function-mode.
      23aec677
    • Martin Rudalics's avatar
      Clean up initialization and customization of horizontal scroll bars. · 568df136
      Martin Rudalics authored
      * frame.el (frame-initialize): Remove horizontal-scroll-bars
      from frame-initial-frame-alist.
      * scroll-bar.el (previous-horizontal-scroll-bar-mode)
      (horizontal-scroll-bar-mode-explicit)
      (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
      (toggle-horizontal-scroll-bar): Remove.
      (horizontal-scroll-bar-mode): Remove defcustom.
      (horizontal-scroll-bar-mode): Fix doc-string.
      (scroll-bar-toolkit-scroll)
      (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
      * buffer.c (scroll-bar-height): Fix typo in doc-string.
      * frame.c (Vdefault_frame_horizontal_scroll_bars): Remove
      variable.
      * nsfns.m (Fx_create_frame):
      * w32fns.c (Fx_create_frame):
      * xfns.c (Fx_create_frame): Default horizontal scroll bars to
      nil.
      568df136
    • Stefan Monnier's avatar
      * lisp/progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better · e6769f18
      Stefan Monnier authored
      handle multiline elements.
      
      Fixes: debbugs:18380
      e6769f18
  11. 02 Sep, 2014 3 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el (package-generate-description-file): · 559b827d
      Stefan Monnier authored
      Properly quote the arguments.  Change second arg.
      (package--alist-to-plist-args): Rename from package--alist-to-plist and
      quote the elements.
      (package--make-autoloads-and-stuff): Fix the test for pre-existence of
      the *-pkg.el file.  Adjust to new calling convention of
      package-generate-description-file.
      
      Fixes: debbugs:18332
      559b827d
    • Stefan Monnier's avatar
      * lisp/progmodes/gud.el (gud-gdb-completion-at-point): Add hack. · 9de3064d
      Stefan Monnier authored
      (gud-gdb-completions): Remove obsolete workaround.
      
      Fixes: debbugs:18282
      9de3064d
    • Eli Zaretskii's avatar
      Fix bug #18384 with incorrect reporting of row number by posn-col-row. · 5735a30d
      Eli Zaretskii authored
       lisp/subr.el (posn-col-row): Revert the change from commit
       2010-11-13T21:07:58Z!eliz@gnu.org, which
       was inadvertently merged from emacs-23 release branch in 
      2010-11-18T03:54:14Z!monnier@iro.umontreal.ca, and
       introduced an off-by-one error in the reported row when there is a
       header line.
      
       src/dispnew.c (buffer_posn_from_coords): Fix an off-by-one error in
       the reported row in the case of a window with a header line, by
       improving on the fix committed in 2011-10-08T10:58:50Z!eliz@gnu.org
       eliz@gnu.org-20111008105850-ht4tvsayohvr1kjc.
      5735a30d
  12. 01 Sep, 2014 4 commits
  13. 31 Aug, 2014 1 commit
    • Christoph Scholtes's avatar
      Replace mode-specific quit function in ibuffer.el · 60aa41b9
      Christoph Scholtes authored
      * lisp/ibuffer.el: Replace mode-specific quit function with
      `quit-window' via `special-mode'.
      (ibuffer-mode-map): Use keybindings from special-mode-map instead
      of local overrides.
      (ibuffer): Don't store previous windows configuration. Let
      `quit-window' handle restoring.
      (ibuffer-quit): Remove function. Use `quit-window' instead.
      (ibuffer-restore-window-config-on-quit): Remove variable.
      (ibuffer-prev-window-config): Remove variable.
      60aa41b9
  14. 30 Aug, 2014 1 commit