1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 05:22:04 -08:00
Commit graph

111445 commits

Author SHA1 Message Date
Juri Linkov
31489a32f5 * lisp/files-x.el (modify-file-local-variable-prop-line): Add local
variables to the end of the existing comment on the first line.
Use `file-auto-mode-skip' to skip interpreter magic line,
and also skip XML declaration.
2013-06-16 01:44:38 +03:00
Ted Zlatanov
2809512e04 lisp/gnus/auth-source.el (netrc backend): Support single-quoted strings, multiline entries 2013-06-15 21:59:59 +00:00
Stefan Monnier
66bd25ab33 * lisp/emacs-lisp/package.el: Don't activate packages older than builtin.
(package-obsolete-list): Rename from package-obsolete-alist, and make
it into a simple list of package-desc.
(package-strip-version): Remove.
(package-built-in-p): Use package--builtin-versions.
(package-mark-obsolete): Simplify.
(package-process-define-package): Mark it obsolete if older than the
builtin version.
(package-handle-response): Use line-end-position.
(package-read-archive-contents, package--download-one-archive):
Simplify.
(package--add-to-archive-contents): Skip if older than the builtin or
installed version.
(package-menu-describe-package): Fix last change.
(package-list-unversioned): New var.
(package-menu--generate): Use it.

* lisp/Makefile.in (autoloads): Set autoload-builtin-package-versions.

* lisp/startup.el (package--builtin-versions): New var.
(package-subdirectory-regexp): Remove.
(package--description-file): Hard code its value instead.

* lisp/emacs-lisp/autoload.el: Manage package--builtin-versions.
(autoload--insert-text, autoload--insert-cookie-text): New functions.
(autoload-builtin-package-versions): New variable.
(autoload-generate-file-autoloads): Use them.
Remove the list of autoloaded functions/macros from the
(autoload...) comments.
2013-06-15 11:36:11 -04:00
Xue Fuqiao
d862673b61 * admin/notes/changelogs: Mention trivial changes in Change Log. 2013-06-15 21:21:17 +08:00
Eli Zaretskii
9583ec36c4 Fix bug #14567 with jumpy scrolling of tall images.
src/xdisp.c (Fline_pixel_height): New function, required for solving
 bug #14567.

 lisp/simple.el (line-move-partial): Don't jump to the next screen
 line as soon as it becomes visible.  Instead, continue enlarging
 the vscroll until the portion of a tall screen line that's left on
 display is about the height of the frame's default font.
2013-06-15 12:34:20 +03:00
Eli Zaretskii
d1ad37b23f Add coding cookie to lisp/emacs-lisp/lisp-mode.el. 2013-06-15 12:16:49 +03:00
Xue Fuqiao
179fcac854 NEWS fix. 2013-06-15 15:45:06 +08:00
Paul Eggert
210272cebb * fns.c (Fcopy_sequence): Simplify XTYPE calculation. 2013-06-15 00:41:42 -07:00
Glenn Morris
b86a85ca5e vc-compilation-mode fixes
* lisp/vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
compilation-error-regexp-alist void, or local while let-bound.
2013-06-14 19:50:47 -07:00
Glenn Morris
f0100d8adc * make-mode.el (makefile-mode-syntax-table): Treat "=" as punctuation.
Fixes: debbugs:14614
2013-06-14 19:25:00 -07:00
Juanma Barranquero
05e7ce9037 lisp/help-fns.el (describe-variable): Add extra line for permanent-local vars. 2013-06-15 03:12:05 +02:00
Simen Heggestøyl
12e5e86e89 Add some new scheme features (tiny change)
* lisp/progmodes/scheme.el (scheme-font-lock-keywords-2):
Add export, import, library. 
(library): Set indent function.

Fixes: debbugs:9164
2013-06-14 17:37:49 -07: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
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
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
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