summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.Lars Magne Ingebrigtsen2013-12-072-1/+6
|
* Bug#16045Michael Albinus2013-12-064-31/+52
| | | | | | | | * progmodes/compile.el (compilation-start): * progmodes/grep.el (rgrep): Revert change of 2012-12-20T11:15:38Z!michael.albinus@gmx.de. * net/tramp-sh.el (tramp-sh-handle-start-file-process): Handle long command lines, lasting from "sh -c ...". (Bug#16045)
* Revert inadvertently commited changes in grep.el.Eli Zaretskii2013-12-061-9/+3
|
* * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): TouchDmitry Gutov2013-12-062-2/+7
| | | | up the last change.
* Merge Org 8.2.4Bastien Guerry2013-12-0624-426/+604
|
* * progmodes/octave.el (inferior-octave-prompt): Use shy groups.Leo Liu2013-12-062-21/+32
| | | | | | | (inferior-octave-startup): Always use "octave> " for prompt. (octave-goto-function-definition) (octave-sync-function-file-names) (octave-find-definition-default-filename): Remove redundant backquotes.
* Fix Bug#15874Dmitry Gutov2013-12-062-2/+18
| | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify syntax for `?'. (ruby-expr-beg): Expect that `!' will have syntax class "symbol" where appropriate already. (ruby-syntax-propertize-function): Propertize `?' and `!' at the end of method names.
* * lisp/isearch.el (isearch--saved-overriding-local-map): New internal variable.Juri Linkov2013-12-062-1/+15
| | | | | | | | (isearch-mode): Set it to the initial value of `overriding-terminal-local-map'. (isearch-pre-command-hook): Compare `overriding-terminal-local-map' with `isearch--saved-overriding-local-map'. Fixes: debbugs:16035
* Add caching variant of `completion-table-dynamic'Dmitry Gutov2013-12-063-18/+36
| | | | | | | | | | * lisp/minibuffer.el (completion-table-with-cache): New function. * lisp/progmodes/octave.el (inferior-octave-completion-table): Turn back into function, use `completion-table-with-cache'. Update all references. Fixes: debbugs:11906
* * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^.Cameron Desautels2013-12-052-1/+7
| | | | | | * test/automated/regexp-tests.el: New file. Fixes: debbugs:16046
* eww: add command to view page sourceTed Zlatanov2013-12-052-0/+29
| | | | | | | | | | * net/eww.el (eww-current-source): New variable to store page source. (eww-display-html, eww-mode, eww-save-history) (eww-restore-history): Use it. (eww-view-source): New command to view page source. Opportunistically uses `html-mode' to highlight the buffer. (eww-mode-map): Install it.
* Minor changes, detected by test suite.Michael Albinus2013-12-052-13/+24
| | | | | | | | | * net/dbus.el (dbus-unregister-service) (dbus-escape-as-identifier, dbus-unescape-from-identifier): Fix docstring. (dbus-unregister-service): Skip :serial entries in `dbus-registered-objects-table'. (dbus-byte-array-to-string): New optional arg MULTIBYTE.
* Trim whitespace in lm-keywords-listTed Zlatanov2013-12-042-2/+7
| | | | | * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace around keywords with extra `split-string' argument.
* Avoid compiler warning in w32xfns.c.Eli Zaretskii2013-12-041-3/+9
| | | | src/w32xfns.c: Include window.h, to avoid a compiler warning.
* Add ChangeLog for last commit: In windmove-other-window-loc handle ↵Martin Rudalics2013-12-041-0/+5
| | | | | | | navigation between windows (Bug#16017). * windmove.el (windmove-other-window-loc): Handle navigation between windows (excluding the minibuffer window - Bug#16017).
* In XTflash fix coordinate of bottom area to flash (Bug#16044).Martin Rudalics2013-12-041-5/+9
| | | | | * xterm.c (XTflash): Fix coordinate of bottom area to flash (Bug#16044).
* * net/dbus.el (dbus-byte-array-to-string): Accept also byte arraysMichael Albinus2013-12-042-4/+18
| | | | | | in D-Bus type syntax. (dbus-unescape-from-identifier): Use `byte-to-string' in order to preserve unibyte strings. (Bug#16048)
* Fix eldoc-in-minibuffer's modeline update.Stefan Monnier2013-12-032-11/+13
| | | | | | | * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message): Call force-mode-line-update is the proper buffer. Fixes: debbugs:16042
* Remember log-edit comment when the buffer is killedDmitry Gutov2013-12-042-4/+15
| | | | | | | | | | * lisp/vc/log-edit.el (log-edit-add-new-comment): Rename to `log-edit-remember-comment', make argument optional. Adjust all callers. (log-edit-mode): Add `log-edit-remember-comment' to `kill-buffer-hook' locally. (log-edit-kill-buffer): Don't remember comment explicitly since the buffer is killed anyway.
* * lisp/isearch.el (isearch-mode, isearch-done): Don't set arg LOCALJuri Linkov2013-12-042-4/+9
| | | | | | | | | in add-hook and remove-hook for multi-buffer search. * doc/lispref/searching.texi (Search and Replace): Fix `unread-command-events' and add ref. Fixes: debbugs:16035
* * notifications.el (notifications-close-notification): Call theTom Regner2013-12-032-1/+6
| | | | D-Bus method with `id' being an `:uint32'. (Bug#16030)
* lisp/net/eww.el (eww-render): Don't pass arg to eww-display-imageKatsumi Yamaoka2013-12-032-1/+5
|
* * lisp/window.el (display-buffer-no-window): New action function.Juri Linkov2013-12-034-14/+43
| | | | | | | | | | | | | | (display-buffer-alist, display-buffer): Doc fix. (Bug#13594) * lisp/simple.el (shell-command): Add window alist entry `allow-no-window' to `display-buffer'. (async-shell-command): Doc fix. * lisp/progmodes/compile.el (compilation-start): Rename window alist entry `no-display-ok' to `allow-no-window'. * doc/lispref/windows.texi (Choosing Window): Rename `no-display-ok' to `allow-no-window'.
* lisp/gnus/ChangeLog: Fix last commitKatsumi Yamaoka2013-12-031-1/+1
|
* lisp/gnus/message.el (message-send-mail-with-sendmail): Don't kill error ↵Vitalie Spinu2013-12-032-1/+8
| | | | buffer if sending fails
* Support the new log-edit behavior in vc-git-log-edit-toggle-amendDmitry Gutov2013-12-033-7/+31
| | | | | | | | | | * lisp/vc/log-edit.el (log-edit-set-header): Extract from `log-edit-toggle-header'. (log-edit-extract-headers): Separate the summary, when extracted from header, from the rest of the message with an empty line. * lisp/vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary line, if present, to the Summary header.
* * lisp/epa-file.el (epa-file-insert-file-contents): Ensure we insert textStefan Monnier2013-12-022-13/+18
| | | | | | in current-buffer. Fixes: debbugs:16029
* * lisp/emacs-lisp/debug.el (debugger-toggle-locals): New command.Helmut Eller2013-12-022-6/+84
| | | | | | | | | | | (debugger-mode-map): Bind it. (debugger--backtrace-base): New function. (debugger-eval-expression): Use it. (debugger-frame-number): Skip local vars when present. (debugger--locals-visible-p, debugger--insert-locals) (debugger--show-locals, debugger--hide-locals): New functions. * src/eval.c (Fbacktrace__locals): New function. (syms_of_eval): Defsubr it.
* * net/tramp-sh.el (tramp-remote-process-environment): Do not set "LC_ALL".Michael Albinus2013-12-022-3/+25
| | | | | (tramp-get-remote-locale): New defun. (tramp-open-connection-setup-interactive-shell): Use it.
* * subr.el (process-live-p): Return nil for non-process. Leo Liu2013-12-026-11/+22
| | | | | | | | | | * progmodes/sh-script.el (sh-shell-process): * progmodes/octave.el (inferior-octave-process-live-p): * progmodes/gdb-mi.el (gdb-delchar-or-quit) (gdb-inferior-io-sentinel): * emacs-lock.el (emacs-lock-live-process-p): All uses changed. Fixes: debbugs:16023
* Fix minor log-edit-show-files annoyancesDmitry Gutov2013-12-022-5/+13
| | | | | | | * lisp/vc/log-edit.el (log-edit-kill-buffer): Move the use of `save-selected-window' to `log-edit-hide-buf'. This makes `log-edit-show-files' idempotent. (log-edit-show-files): Mark the new window as dedicated.
* Install the actual changes missing in previous revisionDmitry Gutov2013-12-021-7/+23
| | | | | | | | | | * lisp/vc/log-edit.el (log-edit-mode-map): Add binding for `log-edit-kill-biffer'. (log-edit-hide-buf): Add a FIXME comment. (log-edit-add-new-comment): New function, extracted from `log-edit-done'. (log-edit-done, log-edit-add-to-changelog): Use it. (log-edit-kill-buffer): New command.
* Implement log-edit-kill-bufferDmitry Gutov2013-12-021-0/+10
| | | | | | | | | | * vc/log-edit.el (log-edit-mode-map): Add binding for `log-edit-kill-biffer'. (log-edit-hide-buf): Add a FIXME comment. (log-edit-add-new-comment): New function, extracted from `log-edit-done'. (log-edit-done, log-edit-add-to-changelog): Use it. (log-edit-kill-buffer): New command.
* Spelling and punctuation fixes.Paul Eggert2013-12-014-8/+9
|
* eww: Have `q' do a normal `quit-window' instead of killing the buffer.Lars Magne Ingebrigtsen2013-12-012-7/+6
|
* * lisp/simple.el (newline): Mention `electric-indent-mode'.Stefan Monnier2013-12-012-17/+16
| | | | Fixes: debbugs:16015
* Allow customizing the checkboxes in ewwRüdiger Sonderfeld2013-12-012-6/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/shr.el (shr-tag-table): Fix comment typo. * net/eww.el (eww-text-input-types): : New const. (eww-process-text-input): Treat input types in `eww-text-input-types' as text. * net/shr.el (shr-tag-video): Display content for video if no poster is available. (shr-tag-audio): Add support for <audio> tag. * net/eww.el (eww-use-external-browser-for-content-type): New variable. (eww-render): Handle `eww-use-external-browser-for-content-type'. Use \\` to match beginning of string instead of ^. (eww-browse-with-external-browser): Provide optional URL parameter. (eww-render): Set `eww-current-title' back to "". * net/shr.el (shr-prefer-media-type-alist): : New customizable variable. (shr--get-media-pref): New function. (shr--extract-best-source): New function. (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when no :src tag was specified. * net/eww.el (eww-form-checkbox-selected-symbol): New customizable variable. (eww-form-checkbox-symbol): New customizable variable. (eww-form-checkbox): Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'. (eww-toggle-checkbox): Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
* Allow preferring some media types over othersRüdiger Sonderfeld2013-12-012-2/+68
| | | | | | | | | * net/shr.el (shr-prefer-media-type-alist): : New customizable variable. (shr--get-media-pref): New function. (shr--extract-best-source): New function. (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when no :src tag was specified.
* (eww-render): Set `eww-current-title' back to "".Rüdiger Sonderfeld2013-12-012-0/+2
|
* Fix typo after manual merge in last checkin.Lars Magne Ingebrigtsen2013-12-011-2/+2
|
* Option to always use external-browser for certain content.Rüdiger Sonderfeld2013-12-012-5/+23
| | | | | | | | * net/eww.el (eww-use-external-browser-for-content-type): New variable. (eww-render): Handle `eww-use-external-browser-for-content-type'. Use \\` to match beginning of string instead of ^. (eww-browse-with-external-browser): Provide optional URL parameter.
* (shr-tag-audio): Add support for <audio> tag.Rüdiger Sonderfeld2013-12-012-0/+7
|
* Display content for video if no poster is available.Rüdiger Sonderfeld2013-12-012-1/+10
| | | | | * net/shr.el (shr-tag-video): Display content for video if no poster is available.
* Treat HTML5 input types as textRüdiger Sonderfeld2013-12-011-1/+8
| | | | | | * net/eww.el (eww-text-input-types): : New const. (eww-process-text-input): Treat input types in `eww-text-input-types' as text.
* Fix comment typoRüdiger Sonderfeld2013-12-012-1/+5
| | | | * net/shr.el (shr-tag-table): Fix comment typo.
* Compilation warning fixLars Magne Ingebrigtsen2013-12-011-5/+5
| | | | | | Move eww-link-keymap definition to before usage Fixes: debbugs:15243
* Special mode buffers shouldn't query before exiting.Lars Magne Ingebrigtsen2013-12-012-4/+3
| | | | (eww-quit): Special mode buffers shouldn't query before exiting.
* Don't reload eww pages when browsing to different #targetsLars Magne Ingebrigtsen2013-12-013-24/+69
| | | | | | | * net/eww.el (eww-follow-link): New command to avoid reloading pages when we follow #target links. Fixes: debbugs:15243
* Fix Changelog typos.Juanma Barranquero2013-12-011-5/+5
|
* Support <optgroup> tags in <select> forms.Kenjiro NAKAYAMA2013-12-012-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/eww.el (eww-tag-select): Support <optgroup> tags in <select> forms. Test case: <html> <head><title>SELECT TEST</title></head> <body> <form method="POST" action="./dummy.php"> <input type="text" name="text1"> <input type="submit" name="btn1" value="val1"> <select> <optgroup label="group 1"> <option value="a">Value A</option> <option value="b">Value B</option> </optgroup> <optgroup label="group 2"> <option value="c">Value C</option> <option value="d">Value D</option> </optgroup> </select> </form> </body> </html> Fixes: debbugs:15860