1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 22:20:24 -08:00
Commit graph

112149 commits

Author SHA1 Message Date
Grégoire Jadi
da95bc007d Handle xwidgets like processes and delete them when their buffer is killed.
* lisp/xwidget.el (xwidget-kill-buffer-query-function): New function to
query a user before killing a buffer with xwidgets in it.

This function is stored in `kill-buffer-query-functions' and called from
`kill-buffer'.
* src/buffer.c (Fkill_buffer): Call `kill_buffer_xwidgets'.
* src/xwidget.c (kill_buffer_xwidgets): Delete xwidgets attached to the
specified buffer.
* src/xwidget.h (kill_buffer_xwidgets): Add definition.
2013-06-24 10:22:45 +02:00
Grégoire Jadi
d65ea7dd1d * src/xwidget.c (Fmake_xwidget): Store xwidget in Vxwidget_list.
(syms_of_xwidget): Rename Vxwidget_alist to Vxwidget_list and register
`get-buffer-xwidgets' as a new subr.
(Fget_buffer_xwidgets): New function to return a list of xwidgets attached
to the specified buffer.
2013-06-24 10:22:45 +02:00
Grégoire Jadi
4d3eadf4d5 * src/xwidget.h (XXWIDGET): XXWIDGET expects a PSEUDOVECTOR not a display
spec.
2013-06-24 10:14:54 +02:00
Grégoire Jadi
ff248cdcce * src/xwidget.c: Fix a lot of errors when compiling with --enable-checking
and --enable-check-lisp-object-type.
2013-06-24 09:45:38 +02:00
Grégoire Jadi
1a0f9e5e80 Merge branch 'jave-xwidget' into xwidget 2013-06-15 11:24:47 +02:00
Joakim Verona
2a342ba649 Merge branch 'trunk' into xwidget 2013-06-14 23:54:26 +02:00
Glenn Morris
230dcbaf2f * term/xterm.el (xterm--query): Stop after first matching handler. (Bug#14615) 2013-06-14 14:37:38 -04:00
Lars Magne Ingebrigtsen
4452891d08 lisp/gnus/eww.el (eww-submit): Get submit button logic right when hitting RET on non-submit buttons
lisp/gnus/shr.el: Remove shr-preliminary-table-render, since that can't really be used for anything in practice
2013-06-14 11:16:26 +00:00
Ivan Kanis
1c7971e241 Fix date in ChangeLog 2013-06-14 11:59:14 +02:00
Albert Krewinkel
745b097bf7 lisp/gnus/sieve.el: Rebind q to (sieve-bury-buffer), bind Q to (sieve-manage-quit)
doc/misc/sieve.texi: (Managing Sieve): Fix port in example, fix documentation for keys q and Q
(Standards): Reference RFC5804 as the defining document of the managesieve protocol
2013-06-14 09:48:49 +00:00
Ivan Kanis
d4466a91f2 Add support for dired in saveplace. 2013-06-14 11:32:01 +02:00
Glenn Morris
7cb18056e6 New defcustoms need :version tags 2013-06-13 23:51:56 -07:00
Stefan Monnier
bf1e6ae81d * lisp/subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
through a symbol rather than letrec.
2013-06-14 00:11:00 -04:00
Katsumi Yamaoka
0a36080d55 lisp/gnus/eww.el: Fix indentation 2013-06-14 03:26:34 +00:00
David Edmondson
0583b68648 lisp/gnus/mml2015.el (mml2015-maximum-key-image-dimension): New user option to control the maximum size of photo ID image
(mml2015-epg-key-image-to-string): Respect it
2013-06-14 03:24:05 +00:00
Lars Magne Ingebrigtsen
3d95242e0e lisp/gnus/shr.el (shr-tag-table-1): Mark the preliminary table renderings instead of the final one so that we can more easily distinguish them
lisp/gnus/eww.el (eww-submit): Compute the submission URL correctly
2013-06-14 03:22:26 +00:00
Stefan Monnier
1b8dff239b * lisp/emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
(package-desc): Add `dir' field.
(package-desc-full-name): New function.
(package-load-descriptor): Combine the two arguments.  Don't use `load'.
(package-maybe-load-descriptor): Remove.
(package-load-all-descriptors): Just call package-load-descriptor.
(package--disabled-p): New function.
(package-desc-vers, package-desc-doc): Remove aliases.
(package--dir): Remove function.
(package-activate): Check if a package is disabled.
(package-process-define-package): New function, extracted from
define-package.
(define-package): Turn into a place holder.
(package-unpack-single, package-tar-file-info):
Use package--description-file.
(package-compute-transaction): Use package--disabled-p.
(package-download-transaction): Don't call
package-maybe-load-descriptor since they're all loaded anyway.
(package-install): Change argument to be a pkg-desc.
(package-delete): Use a single pkg-desc argument.
(describe-package-1): Use package-desc-dir instead of package--dir.
Use package-desc property instead of package-symbol.
(package-install-button-action): Adjust accordingly.
(package--push): Rewrite.
(package-menu--print-info): Adjust accordingly.  Change the ID format
to be a pkg-desc.
(package-menu-describe-package, package-menu-get-status)
(package-menu--find-upgrades, package-menu-mark-upgrades)
(package-menu-execute, package-menu--name-predicate):
Adjust accordingly.
* lisp/startup.el (package--description-file): New function.
(command-line): Use it.
* lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
Use package-desc-version.
2013-06-13 23:20:18 -04:00
Stefan Monnier
0b31660d3c * lisp/emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
(byte-compile-preprocess): Use it.
(byte-compile-file-form-defalias): Try a bit harder to use macros we
can't quite recognize.
(byte-compile-add-to-list): Remove.
* lisp/emacs-lisp/cconv.el (cconv-warnings-only): New function.
(cconv-closure-convert): Add assertion.

* lisp/emacs-lisp/map-ynp.el: Use lexical-binding.
(map-y-or-n-p): Remove unused vars `tail' and `object'.
Factor out some repeated code.
* etc/NEWS (utf-8 for el): Move to the incompatible section.
2013-06-13 22:31:28 -04:00
Xue Fuqiao
99c8128098 ChangeLog fix. 2013-06-14 06:43:33 +08:00
Xue Fuqiao
cd0527a418 ChangeLog fix. 2013-06-14 06:33:43 +08:00
Stefan Monnier
de0503df97 * lisp/subr.el (with-eval-after-load): New macro.
(eval-after-load): Allow form to be a function.
take advantage of lexical-binding.
(do-after-load-evaluation): Use dolist and adjust to new format.
* lisp/simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
* doc/lispref/loading.texi (Hooks for Loading): Document with-eval-after-load
instead of eval-after-load.  Don't document after-load-alist.
* src/lread.c (syms_of_lread):
* src/fns.c (Fprovide): Adjust to new format of after-load-alist.
2013-06-13 18:24:52 -04:00
Juri Linkov
bc5c8c5a6a * lisp/isearch.el (isearch-query-replace): Add " symbol" and other
possible search modes from `isearch-message-prefix' to the prompt.
(isearch-occur): Use `with-isearch-suspended' to not exit Isearch
when reading a regexp to collect.

* lisp/replace.el (perform-replace): Display "symbol " and other search
modes from `isearch-message-prefix' in the *Help* buffer.
2013-06-14 01:08:45 +03:00
Juri Linkov
a22289f7ab * lisp/isearch.el (word-search-regexp): Match whitespace if the search
string begins or ends in whitespace.  The LAX arg is applied to
both ends of the search string.  Use `regexp-quote' and explicit
\< and \> instead of \b.  Use \` and \' instead of ^ and $.
(isearch-symbol-regexp): Sync with `word-search-regexp' where word
boundaries are replaced with symbol boundaries, and characters
between symbols match non-word non-symbol syntax.

Fixes: debbugs:14602
2013-06-14 00:49:10 +03:00
Juri Linkov
cb89acab6c * lisp/isearch.el (isearch-del-char): Don't exceed the length of `isearch-string'
by the prefix arg.

Fixes: debbugs:14563
2013-06-14 00:11:42 +03:00
Juri Linkov
6e8cfc81e7 Add prefix arg to more isearch commands.
* lisp/isearch.el (isearch-yank-word, isearch-yank-line)
(isearch-char-by-name, isearch-quote-char)
(isearch-printing-char, isearch-process-search-char):
Add optional count prefix arg. 

* lisp/international/isearch-x.el (isearch-process-search-multibyte-characters):
Add optional count prefix arg.

Fixes: debbugs:14563
2013-06-13 23:50:51 +03:00
Vitalie Spinu
c23d55f45b * lisp/subr.el (internal-push-keymap, internal-pop-keymap): New functions.
(set-temporary-overlay-map): Use them; and take advantage of
lexical-binding.

Fixes: debbugs:14095
2013-06-13 16:43:53 -04:00
Glenn Morris
8baeb37a95 tty-handle-args fix for bug#14608
* startup.el (tty-handle-args): Don't just discard "--" and anything after.
2013-06-13 13:59:10 -04:00
Paul Eggert
3865c463f5 * DEBUG: Document -fno-omit-frame-pointer. 2013-06-13 10:52:21 -07:00
Stefan Monnier
9df2f513ea * lisp/gnus/sieve-manage.el (sieve-manage-open-server): Don't quote lambda.
Use plist-get rather than CL's getf.
(sieve-manage-parse-capability): Avoid CL's remove-if.
2013-06-13 13:05:22 -04:00
Paul Eggert
11169e6f1a * DEBUG: Document -Og. 2013-06-13 10:04:08 -07:00
Glenn Morris
ba947bc42f * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes. 2013-06-13 09:44:26 -07:00
Lars Magne Ingebrigtsen
94fa6ec7b3 lisp/gnus/shr.el (shr-expand-url): Expansion should chop off the bits after the last slash
lisp/gnus/eww.el (eww-tag-select): Use the first value as the default value
2013-06-13 14:31:52 +00:00
Grégoire Jadi
c75684e760 * src/xwidget.c: Add missing header.
The header webkit/webkitwebpolicydecision.h is required for
`webkit_web_policy_decision_download'.
2013-06-13 16:02:48 +02:00
Glenn Morris
01024b7f20 Auto-commit of loaddefs files. 2013-06-13 06:21:04 -04:00
Michael Albinus
9abefce436 Implement changes in Secret Service API. Make it backward compatible.
* net/secrets.el (secrets-struct-secret-content-type): New defonst.
(secrets-create-item): Use it.  Prefix properties with interface.
2013-06-13 12:12:34 +02:00
Grégoire Jadi
e32984567a * lisp/xwidget.el (report-xwidget-bug): Add a function to submit a bug
with the proper address and pseudo-header.
* README.xwidget: Update the documentation to mention
`report-xwidget-bug'.
2013-06-13 09:42:41 +02:00
Glenn Morris
bb102690de * etc/NEWS: Mention term-suppress-hard-newline 2013-06-12 23:35:32 -07:00
Michael Albinus
58556eb49e Fix typo in comment. 2013-06-13 08:28:05 +02:00
Glenn Morris
0605ec8e4f * admin/admin.el (manual-style-string): Use new file manual.css. 2013-06-12 23:18:57 -07:00
Gnus developers
d652f4d02f lisp/gnus/eww.el (eww): Prepend urls with http:// if scheme is missing
(eww-mode): Use `define-derived-mode'
(eww-parse-headers): Parse headers from beginning of buffer so that file:// links work
(eww-detect-charset): Detect charset from the <meta> tag
2013-06-13 06:07:43 +00:00
Michael Hoffman
5755011f76 * term.el (term-suppress-hard-newline): New option (tiny change)
(term-emulate-terminal): Respect term-suppress-hard-newline.

Fixes: debbugs:12017
2013-06-12 22:27:05 -07:00
Glenn Morris
0530d5ca3d * etc/NEWS: Add entry about utf-8 for elisp files 2013-06-12 22:19:59 -07:00
Kelly Dean
afbfe14326 * src/fileio.c (Fdo_auto_save): Trap errors in auto-save-hook (tiny change)
Fixes: debbugs:14479
2013-06-12 22:13:05 -07:00
E Sabof
1261d2daee image-dired-dired-toggle-marked-thumbs tiny change
* lisp/image-dired.el (image-dired-dired-toggle-marked-thumbs):
Only remove a `thumb-file' overlay.

Fixes: debbugs:14548
2013-06-12 22:10:48 -07:00
Lars Magne Ingebrigtsen
65e704b9ab lisp/gnus/shr.el (shr-tag-svg): Ignore <svg> 2013-06-12 22:32:33 +00:00
Joakim Verona
bfa52886b9 Merge branch 'xwidget' of https://github.com/daimrod/xwidget-emacs into xwidget 2013-06-12 23:37:36 +02:00
Joakim Verona
dd7febaa6c merge upstream 2013-06-12 23:08:43 +02:00
Joakim Verona
68e305005f mention the git repo 2013-06-12 23:04:28 +02:00
Grégoire Jadi
868490bbe1 * mail/reporter.el (reporter-submit-bug-report): Handle missing package-name.
Fixes: debbugs:14600
2013-06-12 09:08:17 -07:00
Grégoire Jadi
32a590b04a Merge branch 'jave-xwidget' into xwidget 2013-06-12 17:06:09 +02:00