- 21 Jun, 2013 13 commits
-
-
Juanma Barranquero authored
-
Eduard Wiebe authored
* lisp/progmodes/flymake.el (flymake-warning-predicate): New. (flymake-parse-line): Use it. (flymake-warning-re): Make obsolete alias to `flymake-warning-predicate'. * 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 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 authored
* lisp/allout-widgets.el (allout-widgets-mode-off) (allout-widgets-mode-on, allout-widgets-pre-command-business) (allout-widgets-post-command-business) (allout-widgets-after-copy-or-kill-function) (allout-widgets-after-undo-function, allout-test-range-overlaps) (allout-decorate-item-and-context) (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 authored
infinite loop.
-
Lars Magne Ingebrigtsen authored
-
Glenn Morris authored
-
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 authored
-
Glenn Morris authored
-
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. (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. (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 package-tar-file-info.
-
Leo Liu authored
random delay. Fixes: debbugs:14681
-
Juanma Barranquero authored
-
- 20 Jun, 2013 10 commits
-
-
Juanma Barranquero authored
-
Stefan Monnier authored
* lisp/emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not yet available. * lisp/Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el... (AUTOGENEL): ... here. * lisp/emacs-lisp/cl-macs.el (cl--sublis): New function. (cl--defsubst-expand): Use it. * .bzrignore: Don't unignore cl-loaddefs.el.
-
Paul Eggert authored
* configure.ac (log2): Check for this function. * doc/lispref/numbers.texi (Math Functions): Remove obsolete function log10. * lisp/subr.el (log10): Move here from C code, and declare as obsolete. All uses of (log10 X) replaced with (log X 10). * src/floatfns.c (Flog) [HAVE_LOG2]: Use log2 if available and if the base is 2; this is more accurate. (Flog10): Move to Lisp (marked obsolete there).
-
Juanma Barranquero authored
(tabulated-list-format): Fix typo. Declare with `defvar-local'. (tabulated-list-use-header-line, tabulated-list-entries) (tabulated-list-padding, tabulated-list-printer) (tabulated-list-sort-key): Declare with `defvar-local'. (tabulated-list-init-header, tabulated-list-print-fake-header): Use `setq-local'.
-
Michael Albinus authored
-
Michael Albinus authored
remote files. (Bug#14652)
-
Juanma Barranquero authored
* lisp/cus-edit.el: (custom-commands): Fix typos. (custom-display): Fix tooltip text. (custom-magic-alist, custom-filter-face-spec, custom-group-members): Fix typos in docstrings. (custom--initialize-widget-variables, Custom-mode): Use `setq-local'. (custom-unlispify-menu-entry, custom-magic-value-create) (custom-add-see-also, custom-group-value-create): Use ?\s. (custom-guess-type, customize-apropos, editable-field) (custom-face-value-create): Use `string-match-p'. (custom-save-variables, custom-save-faces): Use `looking-at-p'. * lisp/custom.el (custom-load-symbol): Use `string-match-p'.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
(ansi-colors): Fix URL. (ansi-color-context, ansi-color-context-region): Use defvar-local. (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings. (ansi-color-make-color-map): Rename local var ansi-color-map to map.
-
Juanma Barranquero authored
-
- 19 Jun, 2013 12 commits
-
-
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 work. (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 authored
-
Juanma Barranquero authored
-
Michael Albinus authored
not needed. * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
-
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 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 authored
* lisp/progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces) (ps-underlined-faces): Declare.
-
Glenn Morris authored
* lisp/progmodes/idlwave.el (func-menu): Only set it up on XEmacs. (speedbar-add-supported-extension): Declare.
-
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 authored
check of introspection data by a test call of "CreateItem". Some servers do not offer introspection.
-
Stefan Monnier authored
electric-layout-mode. (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 authored
-
- 18 Jun, 2013 5 commits
-
-
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 authored
Distinguish ternary operator tokens from slash symbol and slash char literal.
-
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 `prog--prettify-font-lock-compose-symbol'. (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 authored
(modify-file-local-variable) (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) (add-file-local-variable-prop-line) (delete-file-local-variable-prop-line): Add arg INTERACTIVE and use it. Fixes: debbugs:9820
-
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
-