summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Use `eww-browse-url' instead of `eww'Lars Magne Ingebrigtsen2013-06-192-1/+6
| | | | | * net/browse-url.el (browse-url-browser-function): `eww-browse-url' has the right calling signature, `eww' does not.
* Check autoload's "type" argument correctly in bytecomp.elGlenn Morris2013-06-192-2/+6
| | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Only eval autoloaded macros. (byte-compile-autoload): Only give the macro warning for macros.
* cedet/semantic/decorate/mode.el autoload tweakGlenn Morris2013-06-192-4/+10
| | | | | | * cedet/semantic/decorate/mode.el (define-semantic-decoration-style): Doc fix. (define-semantic-decoration-style): 'function is not an accepted value for autoload's "type" argument. Might as well use the default.
* Quieten cperl-mode compilationGlenn Morris2013-06-192-0/+7
| | | | | * lisp/progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces) (ps-underlined-faces): Declare.
* * lisp/gnus/gnus-group.el (gnus-mark-article-as-read): Fix declaration.Glenn Morris2013-06-192-1/+5
|
* Silence idlwave compilationGlenn Morris2013-06-192-1/+6
| | | | | * lisp/progmodes/idlwave.el (func-menu): Only set it up on XEmacs. (speedbar-add-supported-extension): Declare.
* * international/titdic-cnv.el (tit-process-header, miscdic-convert):Glenn Morris2013-06-192-4/+8
| | | | | Don't include a date stamp in the header of the generated file; it leads to needless differences between output files.
* * net/secrets.el (secrets-struct-secret-content-type): ReplaceMichael Albinus2013-06-192-6/+41
| | | | | check of introspection data by a test call of "CreateItem". Some servers do not offer introspection.
* * lisp/electric.el (electric-pair-mode): Improve interaction withStefan Monnier2013-06-192-23/+46
| | | | | | | | 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.
* * progmodes/octave.el (octave-help): Fix regexp.Leo Liu2013-06-192-3/+5
|
* Merge changes made in Gnus masterGnus developers2013-06-185-24/+161
| | | | | | | | | | | | | | | | | | | | | 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.
* * lisp/progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):Dmitry Gutov2013-06-192-1/+10
| | | | | Distinguish ternary operator tokens from slash symbol and slash char literal.
* Convert symbol prettification into minor mode and global minor mode.Juanma Barranquero2013-06-195-40/+88
| | | | | | | | | | | | | | | | | | | | | | * 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.
* * lisp/files-x.el (modify-file-local-variable-message): New function.Juri Linkov2013-06-182-18/+68
| | | | | | | | | | | (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
* Add explicit arg REPLACE to the callers of `shell-command-on-region'.Juri Linkov2013-06-188-10/+27
| | | | | | | | | | | | | | | * 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
* * lisp/emacs-lisp/eieio-custom.el: Remove misleading Version: header.Stefan Monnier2013-06-182-1/+7
| | | | Fixes: debbugs:14633
* Move some files from gnus/ to net/Glenn Morris2013-06-185-0/+6
| | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00567.html
* * newcomment.el (comment-search-forward, comment-search-backward): Doc fix.Glenn Morris2013-06-182-2/+11
|
* Fix typo.Michael Albinus2013-06-181-1/+1
|
* lisp/gnus/shr.el: (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for ↵Lars Magne Ingebrigtsen2013-06-182-0/+17
| | | | <dl>, <dt> and <dd>
* lisp/ChangeLog, src/ChangeLog: Rotate changelogs.Juanma Barranquero2013-06-182-25222/+25248
|
* lisp/face-remap.el (buffer-face-toggle): Fix typo in docstring.Juanma Barranquero2013-06-182-7/+12
| | | | (buffer-face-mode-invoke): Doc fix.
* Don't colourise images from tablesLars Magne Ingebrigtsen2013-06-182-8/+14
| | | | | | * shr.el (shr-tag-table): Insert the images after the table, so that they're not covered by the table coulorisation, which often looked awkward.
* lisp/gnus/eww.el (eww-detect-charset): Improve regexp; move backwardKatsumi Yamaoka2013-06-182-12/+16
|
* lisp/tabify.el (untabify, tabify): With prefix, apply to entire buffer.Matthias Meulien2013-06-182-4/+18
|
* Replace obsolete generic-make-keywords callsGlenn Morris2013-06-183-60/+51
| | | | | | | * lisp/generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode): Replace obsolete function generic-make-keywords with its expansion. * lisp/emacs-lisp/generic.el: Update commentary.
* * lisp/progmodes/python.el (ffap-alist): Declare.Glenn Morris2013-06-182-0/+4
|
* * lisp/gnus/mm-decode.el (widget-convert-button): Autoload.Glenn Morris2013-06-182-0/+4
|
* * lisp/gnus/sieve-manage.el (mm-enable-multibyte): Autoload.Glenn Morris2013-06-182-0/+4
|
* * lisp/gnus/shr.el (libxml-parse-html-region): Declare.Glenn Morris2013-06-182-0/+9
| | | | (shr-render-buffer): Explicit error if no libxml2 support.
* * lisp/textmodes/reftex.el (bibtex-mode-map): DeclareGlenn Morris2013-06-182-0/+6
|
* * lisp/cedet/semantic/ctxt.el (semantic-ctxt-end-of-symbol-default):Glenn Morris2013-06-172-3/+7
| | | | Remove unused free variable `symlist'.
* * lisp/emacs-lisp/package.el: Update package-alist after install.Stefan Monnier2013-06-172-12/+24
| | | | | | | (package-unpack, package-unpack-single): Return the pkg-dir. (package-download-transaction): Use it to update package-alist. Fixes: debbugs:14632
* (browse-url-browser-function): Add `eww' as a possible choice.Lars Magne Ingebrigtsen2013-06-182-0/+6
|
* lisp/gnus/auth-source.el: When a data token is "machine", abort parsing the ↵Teodor Zlatanov2013-06-172-2/+27
| | | | current line
* lisp/gnus/eww.el (eww-tag-input): Support <input type=image>Lars Magne Ingebrigtsen2013-06-172-1/+3
|
* * lisp/net/webjump.el (webjump-sample-sites): Add DuckDuckGo.Juri Linkov2013-06-182-0/+7
|
* lisp/gnus/{eww,shr}.el: Merge changes made in Gnus masterLars Magne Ingebrigtsen2013-06-173-73/+142
| | | | | | | | | | | | | | | | | | | | | lisp/gnus/eww.el (eww-tag-select): Don't render totally empty <select> forms. (eww-convert-widgets): Don't bug out if the first widget starts at the beginning of the buffer. (eww-convert-widgets): Fix last patch. lisp/gnus/shr.el (shr-insert-table): Respect border-collapse: collapse. (shr-tag-base): Protect against base specs that are degenerate. (shr-ensure-paragraph): Don't delete empty lines that have text properties, because these may be input fields. lisp/gnus/eww.el (eww-convert-widgets): Put `help-echo' on input fields so that we can navigate to them. lisp/gnus/shr.el (shr-colorize-region): Put the colours over the entire region. (shr-inhibit-decoration): New variable. (shr-add-font): Use it to inhibit text property decorations while doing preliminary table renderings. This speeds up typical Wikipedia page renderings by 15%. (shr-tag-span): Don't respect the <title>, because that overwrites the help-echo from links inside the spans. (shr-next-link): Use `help-echo' for navigation, so that we can navigate to form elements, too. lisp/gnus/eww.el (eww-button): New face. (eww-convert-widgets): Use it to make submit buttons more button-like.
* * lisp/emacs-lisp/package.el (package-load-descriptor): RemoveDmitry Gutov2013-06-172-4/+9
| | | | | `with-syntax-table' call, `read' doesn't need it. http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
* lisp/startup.el: Fix bug#14639.Juanma Barranquero2013-06-172-1/+8
| | | | (command-line): Expand package name returned by `package--description-file'.
* lisp/gnus/mm-decode.el (mm-convert-shr-links): Override the shr local map, ↵Lars Magne Ingebrigtsen2013-06-174-61/+46
| | | | | | | | | | | | | | so that Gnus commands work lisp/gnus/shr.el (shr-render-td): Support horizontal alignment Make eww use `add-face-text-property', too lisp/gnus/shr.el (shr-make-overlay): Obsolete function lisp/gnus/eww.el (eww-put-color): Removed (eww-colorize-region): Use `add-face-text-property' Get correct presedence for font data lisp/gnus/shr.el (shr-add-font): Append face data, so that we get the correct presedence: The innermost value (which is applied first) wins
* lisp/gnus/mm-decode.el (shr-map): Silence the byte compilerKatsumi Yamaoka2013-06-171-0/+2
|
* Convert shr.el from using overlays into using text propertiesLars Magne Ingebrigtsen2013-06-174-61/+105
| | | | | | | | | | | | | | | | | * eww.el (eww-mode-map): Use `shr-next-link' (etc) instead of the widget commands, since we're no longer using widgets for links. * mm-decode.el (mm-convert-shr-links): New function to convert new-style shr URL links into widgets. (mm-shr): Use it. * shr.el (shr-next-link): New command. (shr-previous-link): New command. (shr-urlify): Don't use `widget-convert', because that's slow. (shr-put-color-1): Use `add-face-text-property' instead of overlays, because collecting the overlays and reapplying them when generating tables is slow. (shr-insert-table): Ditto.
* * lisp/emacs-lisp/package.el (package-load-descriptor): Do not callDmitry Gutov2013-06-172-4/+9
| | | | `emacs-lisp-mode', just use its syntax table.
* lisp/progmodes/prog-mode.el: Force font-lock to deal with `composition' prop.Juanma Barranquero2013-06-172-5/+15
| | | | | | | (prog-prettify-install): Add `composition' to `font-lock-extra-managed-props' if any prettifying keyword is added. (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ . (prog-mode): Use `setq-local'.
* * lisp/international/characters.el (standard-case-table): Set syntax of ?»Stefan Monnier2013-06-162-1/+12
| | | | and ?« to punctuation.
* * lisp/gnus/sieve.el (sieve-edit-script): Avoid beginning-of-buffer.Stefan Monnier2013-06-164-1/+9
| | | | | * lisp/gnus/shr.el (browse-url): Require `url'. * lisp/gnus/eww.el (url): Require format-spec.
* lisp/gnus/eww.el (eww-browse-url): Don't add a User-Agent (twice), because ↵Lars Magne Ingebrigtsen2013-06-162-6/+5
| | | | that makes Bing refuse connection
* 2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org>Gnus developers2013-06-163-83/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eww.el (eww-display-html): Default to using the entire window width. * shr.el (shr-make-table): Cache the table rendering at the table level, and not the <td> level. This is a bit faster. * eww.el (eww-render): Go to the correct ID when given URLs ending with #id. * shr.el (shr-tag-li): Don't require a new paragraph, since other browsers don't. (shr-expand-url): Respect #anchor links. (shr-parse-base): Chop off the anchor before using. (shr-descend): Respect display: none. (shr-descend): Allow marking elements that have certain IDs. * eww.el (eww-tag-textarea): Use `text' instead of `editable-field'. * shr.el (shr-expand-url): Don't bug out on zero-length links. * eww.el (eww-tag-textarea): Support <textarea>. 2013-06-16 Rüdiger Sonderfeld <ruediger@c-plusplus.de> * shr.el (shr-dom-to-xml): Fixed function call. * eww.el (eww): New group. (eww-header-line-format): New custom variable. (eww-current-title): New variable. (eww-display-html): Update header and handle title tag. (eww-update-header-line-format): New function. (eww-tag-title): New function. * shr.el (shr-dom-to-xml): (shr-dom-to-xml): New function. (shr-tag-svg): Add support for the SVG tag. (shr-bullet): New custom variable. (shr-tag-li): Support custom bullet in unordered lists. 2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org> * shr.el (shr-expand-url): Respect // URLs. * eww.el (eww-tag-body): Override the shr body rendering so that we can put a background colour onto the entire buffer. (eww-render): When being redirected, use the redirect URL as the new base URL. * shr.el (shr-parse-base): Fix parsing error. * eww.el (eww-submit): Pass the base in to `shr-expand-url'. * shr.el (shr-parse-base): New function. (shr-expand-url): Use it to expand relative URLs reliably.
* * lisp/progmodes/prog-mode.el: Fix bug#14595.Juanma Barranquero2013-06-162-3/+10
| | | | | (prog--prettify-font-lock-compose-symbol): Save relevant match data before calling `syntax-ppss'.