1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-18 11:50:38 -08:00
Commit graph

59462 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
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
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
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
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
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
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
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
Tassilo Horn
79d7167f20 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
(reftex-citation-prompt, reftex-default-bibliography)
(reftex-bib-or-thebib, reftex-get-bibfile-list)
(reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
(reftex-bib-sort-author, reftex-bib-sort-year)
(reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
(reftex-extract-bib-entries-from-thebibliography)
(reftex-get-bibkey-default, reftex-get-bib-names)
(reftex-parse-bibtex-entry, reftex-get-bib-field)
(reftex-format-bib-entry, reftex-parse-bibitem)
(reftex-format-bibitem, reftex-do-citation)
(reftex-figure-out-cite-format, reftex-offer-bib-menu)
(reftex-restrict-bib-matches, reftex-extract-bib-file)
(reftex-insert-bib-matches, reftex-format-citation)
(reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
(reftex-create-bibtex-file): Add docstrings, mostly by converting
existing comments into docstrings.
2013-06-12 14:42:35 +02:00
Xue Fuqiao
6186a2767f Merge from mainline. 2013-06-12 20:12:47 +08:00
Xue Fuqiao
5f9dbd7a12 * lisp/ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix. 2013-06-12 19:42:12 +08:00
Joakim Verona
e6fa6da689 Merge branch 'trunk' into xwidget
Conflicts:
	src/Makefile.in
	src/keyboard.c
	src/termhooks.h
2013-06-12 12:32:25 +02:00
Andreas Schwab
94df41ab95 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
for auto-save files.
2013-06-12 12:31:24 +02:00
Glenn Morris
84d6f46535 * lisp/ido.el: Convert some function comments to basic doc strings 2013-06-12 00:54:57 -07:00
Glenn Morris
001809f678 * lisp/ido.el (ido-delete-ignored-files): Remove.
(ido-wide-find-dirs-or-files, ido-make-file-list-1):
Go back to calling ido-ignore-item-p directly.

Doesn't seem worth looping over files twice in ido-make-file-list-1.
2013-06-12 00:46:01 -07:00
Eyal Lotem
08c73ed2a5 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold (tiny change)
Fixes: debbugs:13003
2013-06-12 00:25:05 -07:00
Glenn Morris
a7f3fecc54 * lisp/ido.el (ido-delete-ignored-files): Rewrite to avoid cl-lib. 2013-06-12 00:22:20 -07:00
Eyal Lotem
834b5ded7a Respect ido-ignore-item-p in ido-wide-find-dirs-or-files (tiny change)
* lisp/ido.el (ido-delete-ignored-files): New function,
split from ido-make-file-list-1.
(ido-wide-find-dirs-or-files): Maybe ignore files. 
(ido-make-file-list-1): Use ido-delete-ignored-files.

Fixes: debbugs:13003
2013-06-12 00:18:49 -07:00
Leo Liu
cbb3eb522d Fix last change to octave.el 2013-06-12 10:58:03 +08:00
Leo Liu
daabf15ad8 * progmodes/octave.el (inferior-octave-startup)
(inferior-octave-completion-table)
(inferior-octave-track-window-width-change)
(octave-eldoc-function-signatures, octave-help)
(octave-find-definition): Use single quoted strings.
(inferior-octave-startup-args): Change default value.
(inferior-octave-startup): Do not hard code "-i" and
"--no-line-editing".
(inferior-octave-resync-dirs): Add optional arg NOERROR.
(inferior-octave-directory-tracker): Use it.
(octave-goto-function-definition): Robustify.
(octave-help): Support highlighting operators in 'See also'.
(octave-find-definition): Find subfunctions only in Octave mode.
2013-06-12 10:37:38 +08:00
Stefan Monnier
cf4e5178a3 * lisp/help-fns.el (help-fns--compiler-macro): If the handler function is
named, then put a link to it.
* lisp/help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
* lisp/emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
(cl-typep): Use it.
(cl-eval-when): Simplify debug spec.
(cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
compiler-macro function instead of setting `compiler-macro-file'.
2013-06-11 22:16:02 -04:00