1. 21 Jun, 2013 13 commits
    • Juanma Barranquero's avatar
    • Eduard Wiebe's avatar
      Extend flymake's warning predicate to be a function. Test suite for flymake. · c5b0993e
      Eduard Wiebe authored
      * lisp/progmodes/flymake.el (flymake-warning-predicate): New.
      (flymake-parse-line): Use it.
      (flymake-warning-re): Make obsolete alias to
      * doc/misc/flymake.texi (Parsing the output, Customizable variables):
      Add reference to `flymake-warning-predicate'.
      * test/automated/flymake-tests.el:
      * test/automated/flymake/warnpred/Makefile
      * test/automated/flymake/warnpred/test.c
      * test/automated/flymake/warnpred/test.pl: New files.
      Fixes: debbugs:14217
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el (package-alist): Include obsolete packages. · a7d2d465
      Stefan Monnier authored
      (package-obsolete-list): Remove.
      (package-activate): Remove min-version argument.  Add `force' argument.
      Adjust to new package-alist format.
      (package-mark-obsolete): Remove.
      (package-unpack): Force reload of the package's autoloads.
      (package-installed-p): Check builtins if the installed package is not
      recent enough.
      (package-initialize): Don't reset package-obsolete-list.
      Don't specify which package version to activate.
      (package-process-define-package, describe-package-1)
      (package-menu--generate): Adjust to new package-alist format.
    • Juanma Barranquero's avatar
      lisp/*.el: Fix typos; use string-match-p, looking-at-p, setq-local, defvar-local. · cedf5c9d
      Juanma Barranquero authored
      * lisp/allout-widgets.el (allout-widgets-mode-off)
        (allout-widgets-mode-on, allout-widgets-pre-command-business)
        (allout-widgets-after-undo-function, allout-test-range-overlaps)
        (allout-graphics-modification-handler): Fix typos in docstrings.
        (allout-get-or-create-parent-widget): Use `looking-at-p'.
      * lisp/cmuscheme.el (scheme-start-file): Doc fix.
        (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
        (scheme-input-filter): Use `string-match-p'.
      * lisp/composite.el (compose-gstring-for-terminal): Fix typo in docstring.
      * lisp/dired-x.el: Use Dired consistently in docstrings.
      * lisp/dired.el: Use Dired consistently in docstrings.
        (dired-readin, dired-mode): Use `setq-local'.
        (dired-switches-alist): Make defvar-local.
        (dired-buffers-for-dir): Use `zerop'.
        (dired-safe-switches-p, dired-switches-escape-p)
        (dired-insert-old-subdirs, dired-move-to-end-of-filename)
        (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
        (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
        (dired-goto-next-nontrivial-file): Use `string-match-p'.
        (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
        (dired-toggle-marks, dired-mark-files-containing-regexp)
        (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
        (dired-flag-auto-save-files, dired-flag-backup-files):
        Use `looking-at-p'.
        (dired-mark-files-regexp, dired-build-subdir-alist):
        Use `string-match-p', `looking-at-p'.
      * lisp/dos-w32.el (untranslated-canonical-name, untranslated-file-p)
        (direct-print-region-helper): Use `string-match-p'.
    • Leo Liu's avatar
      * comint.el (comint-redirect-results-list-from-process): Fix · aed838b5
      Leo Liu authored
      infinite loop.
    • Lars Magne Ingebrigtsen's avatar
    • Glenn Morris's avatar
      ChangeLog fix for previous change · 7f8e3b22
      Glenn Morris authored
    • Glenn Morris's avatar
      cookie1.el small cleanup · e7a526e3
      Glenn Morris authored
      Make some funcs interactive, copy some functionality from yow.el.
      * lisp/play/cookie1.el (cookie): New custom group.
      (cookie-file): New option.
      (cookie-check-file): New function.
      (cookie): Make it interactive.  Make start and end messages optional.
      Interactively, display the result.  Default to cookie-file.
      (cookie-insert): Default to cookie-file.
      (cookie-snarf): Make start and end messages optional.
      Default to cookie-file.  Use with-temp-buffer.
      (cookie-read): Rename from read-cookie.
      Make start and end messages optional.  Default to cookie-file.
      (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
      (cookie-apropos, cookie-doctor): New functions, copied from yow.el
      * lisp/obsolete/yow.el (read-zippyism): Use new name for read-cookie.
    • Leo Liu's avatar
    • Glenn Morris's avatar
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Use tar-mode rather than tar executable. · fd846ab4
      Stefan Monnier authored
      Consolidate the single-file vs tarball code.
      (package-desc-suffix): New function.
      (package-desc-full-name): Don't bother inlining it.
      (package-load-descriptor): Return the new package-desc.
      (package-mark-obsolete): Remove unused arg `package'.
      (package-unpack): Make it work for single files as well.
      Make it update package-alist.
      (package--make-autoloads-and-stuff): Rename from
      package--make-autoloads-and-compile.  Don't compile any more.
      (package--compile): New function.
      (package-generate-description-file): New function, extracted from
      (package-unpack-single): Remove.
      (package--with-work-buffer): Add indentation and debugging info.
      (package-download-single): Remove.
      (package-install-from-archive): Rename from package-download-tar, make
      it take a pkg-desc, and make it work for single files as well.
      (package-download-transaction): Simplify.
      (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
      external tar program.
      (package-install-from-buffer): Remove `pkg-desc' argument.
      Use package-tar-file-info for tar-mode buffers.
      (package-install-file): Simplify accordingly.
      (package-archive-base): Change to take a pkg-desc.
      * lisp/tar-mode.el (tar--check-descriptor): New function, extracted from
      (tar-get-descriptor): Use it.
      (tar-get-file-descriptor): New function.
      (tar--extract): New function, extracted from tar-extract.
      (tar--extract): Use it.
      * lisp/emacs-lisp/package-x.el (package-upload-file): Decode the file, in
      case the summary uses non-ascii.  Adjust to new calling convention of
    • Leo Liu's avatar
      * comint.el (comint-redirect-results-list-from-process): Fix · b7deae5e
      Leo Liu authored
      random delay.
      Fixes: debbugs:14681
    • Juanma Barranquero's avatar
  2. 20 Jun, 2013 10 commits
  3. 19 Jun, 2013 12 commits
    • Gnus developers's avatar
      Merge changes made in Gnus master · 970ad972
      Gnus developers authored
      2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
      * net/eww.el (eww-process-text-input): Display passwords as asterisks.
      * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
      2013-06-19  Tom Tromey  <tromey@redhat.com>
      * net/eww.el (eww-top-url): Remove.
      (eww-home-url, eww-start-url, eww-contents-url): New defvars.
      (eww-render): Set new variables.  Don't set eww-top-url.
      (eww-handle-link): Handle "prev", "home", and "contents".
      Downcase the rel text.
      (eww-top-url): Choose best top URL.
      2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
      * net/eww.el: Rewrite to implement form elements "by hand" instead of
      relying in widget.el.  Using widget.el leads to too many
      user interface inconsistencies.
      (eww-self-insert): Implement entering commands in text fields.
      (eww-process-text-input): New function to make text input field editing
      (eww-submit): Rewrite to use the new-style form methods.
      (eww-select-display): Display the correct selected item.
      (eww-change-select): Implement changing the select value.
      (eww-toggle-checkbox): Implement radio/checkboxes.
      (eww-update-field): Fix compilation error.
      (eww-tag-textarea): Implement <textarea>.
      * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that we
      don't shadow mode-specific bindings.
      * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
      nothing to push.
      * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
    • Glenn Morris's avatar
    • Juanma Barranquero's avatar
      Fix typos in ChangeLogs. · 4f405069
      Juanma Barranquero authored
    • Michael Albinus's avatar
      * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is · 15b263dc
      Michael Albinus authored
      not needed.
      * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
    • Lars Magne Ingebrigtsen's avatar
      Use `eww-browse-url' instead of `eww' · 8f5297f7
      Lars Magne Ingebrigtsen authored
      * net/browse-url.el (browse-url-browser-function):
      `eww-browse-url' has the right calling signature, `eww' does not.
    • Glenn Morris's avatar
      Check autoload's "type" argument correctly in bytecomp.el · 2285bd27
      Glenn Morris authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
      Only eval autoloaded macros.
      (byte-compile-autoload): Only give the macro warning for macros.
    • Glenn Morris's avatar
      Quieten cperl-mode compilation · 1d653303
      Glenn Morris authored
      * lisp/progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
      (ps-underlined-faces): Declare.
    • Glenn Morris's avatar
      Silence idlwave compilation · bdd779ec
      Glenn Morris authored
      * lisp/progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
      (speedbar-add-supported-extension): Declare.
    • Glenn Morris's avatar
      * international/titdic-cnv.el (tit-process-header, miscdic-convert): · 011c4552
      Glenn Morris authored
      Don't include a date stamp in the header of the generated file;
      it leads to needless differences between output files.
    • Michael Albinus's avatar
      * net/secrets.el (secrets-struct-secret-content-type): Replace · e59dfb0e
      Michael Albinus authored
      check of introspection data by a test call of "CreateItem".  Some
      servers do not offer introspection.
    • Stefan Monnier's avatar
      * lisp/electric.el (electric-pair-mode): Improve interaction with · 102626e2
      Stefan Monnier authored
      (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
      (electric-pair-syntax): Use text-mode-syntax-table in comments and strings.
      (electric-pair--insert): New function.
      (electric-pair-post-self-insert-function): Use it and electric--after-char-pos.
    • Leo Liu's avatar
      * progmodes/octave.el (octave-help): Fix regexp. · ad528125
      Leo Liu authored
  4. 18 Jun, 2013 5 commits
    • Gnus developers's avatar
      Merge changes made in Gnus master · 924d6997
      Gnus developers authored
      2013-06-18 Teodor Zlatanov <tzz@lifelogs.com>
      * auth-source.el (auth-source-netrc-parse-entries): Remove debugging.
      2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
      * net/shr.el (shr-make-table-1): Implement <td rowspan>.
      (shr-table-horizontal-line): Allow nil as a value, and change the default.
      (shr-insert-table-ruler): Respect the nil value.
      2013-06-18 Tom Tromey <tromey@barimba>
      * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
        New defvars.
      (eww-open-file): New defun.
      (eww-render): Initialize new variables.
      (eww-display-html): Handle "link" and "a".
      (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
      (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
      (eww-back-url): Rename from eww-previous-url.
      (eww-next-url, eww-previous-url, eww-up-url, eww-top-url): New defuns.
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): · d1bbba4f
      Dmitry Gutov authored
      Distinguish ternary operator tokens from slash symbol and slash
      char literal.
    • Juanma Barranquero's avatar
      Convert symbol prettification into minor mode and global minor mode. · 14dd22d2
      Juanma Barranquero authored
      * etc/NEWS: Document new Prettify Symbols mode.
      * lisp/progmodes/prog-mode.el (prettify-symbols-alist): Rename from
        `prog-prettify-symbols', and make a local defvar instead of defcustom.
        (prettify-symbols--keywords): Rename from `prog-prettify-symbols-alist'
        and make a local defvar.
        (prettify-symbols--compose-symbol): Rename from
        (prettify-symbols--make-keywords): Rename from
        `prog-prettify-font-lock-symbols-keywords' and simplify.
        (prog-prettify-install): Remove.
        (prettify-symbols-mode): New minor mode, based on `prog-prettify-install'.
        (turn-on-prettify-symbols-mode): New function.
        (global-prettify-symbols-mode): New globalized minor mode.
      * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables):
      * lisp/progmodes/cfengine.el (cfengine3-mode):
      * lisp/progmodes/perl-mode.el (perl-mode): Don't call `prog-prettify-install';
        set `prettify-symbols-alist' instead.
    • Juri Linkov's avatar
      * lisp/files-x.el (modify-file-local-variable-message): New function. · 292c880c
      Juri Linkov authored
      (modify-file-local-variable-prop-line): Add arg INTERACTIVE
      and call `modify-file-local-variable-message' when it's non-nil.
      (add-file-local-variable, delete-file-local-variable)
      (delete-file-local-variable-prop-line): Add arg INTERACTIVE and use it.
      Fixes: debbugs:9820
    • Juri Linkov's avatar
      Add explicit arg REPLACE to the callers of `shell-command-on-region'. · 0950aa27
      Juri Linkov authored
      * lisp/simple.el (shell-command-on-region): Doc fix.
      * lisp/emulation/vi.el (vi-shell-op):
      * lisp/emulation/vip.el (vip-execute-com, ex-command):
      * lisp/emulation/viper-cmd.el (viper-exec-bang):
      * lisp/emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
      the call of `shell-command-on-region'. 
      * lisp/mh-e/mh-alias.el (mh-alias-local-users): Add non-nil arg REPLACE to
      the call of `shell-command-on-region'.
      Fixes: debbugs:14637