summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* lisp/gnus/eww.el: Fix indentationKatsumi Yamaoka2013-06-141-2/+2
|
* lisp/gnus/mml2015.el (mml2015-maximum-key-image-dimension): New user option ↵David Edmondson2013-06-142-1/+19
| | | | | | to control the maximum size of photo ID image (mml2015-epg-key-image-to-string): Respect it
* lisp/gnus/shr.el (shr-tag-table-1): Mark the preliminary table renderings ↵Lars Magne Ingebrigtsen2013-06-143-13/+24
| | | | | | instead of the final one so that we can more easily distinguish them lisp/gnus/eww.el (eww-submit): Compute the submission URL correctly
* * lisp/emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.Stefan Monnier2013-06-134-226/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* * lisp/emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.Stefan Monnier2013-06-135-53/+59
| | | | | | | | | | | | | | (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.
* ChangeLog fix.Xue Fuqiao2013-06-141-1/+1
|
* ChangeLog fix.Xue Fuqiao2013-06-141-5/+5
|
* * lisp/subr.el (with-eval-after-load): New macro.Stefan Monnier2013-06-133-35/+58
| | | | | | | | | | | (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.
* * lisp/isearch.el (isearch-query-replace): Add " symbol" and otherJuri Linkov2013-06-143-11/+35
| | | | | | | | | 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.
* * lisp/isearch.el (word-search-regexp): Match whitespace if the searchJuri Linkov2013-06-142-10/+41
| | | | | | | | | | | 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
* * lisp/isearch.el (isearch-del-char): Don't exceed the length of ↵Juri Linkov2013-06-142-1/+12
| | | | | | | | `isearch-string' by the prefix arg. Fixes: debbugs:14563
* Add prefix arg to more isearch commands.Juri Linkov2013-06-133-36/+60
| | | | | | | | | | | | * 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
* * lisp/subr.el (internal-push-keymap, internal-pop-keymap): New functions.Vitalie Spinu2013-06-132-23/+51
| | | | | | | (set-temporary-overlay-map): Use them; and take advantage of lexical-binding. Fixes: debbugs:14095
* tty-handle-args fix for bug#14608Glenn Morris2013-06-132-1/+4
| | | | * startup.el (tty-handle-args): Don't just discard "--" and anything after.
* * lisp/gnus/sieve-manage.el (sieve-manage-open-server): Don't quote lambda.Stefan Monnier2013-06-132-9/+15
| | | | | Use plist-get rather than CL's getf. (sieve-manage-parse-capability): Avoid CL's remove-if.
* * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.Glenn Morris2013-06-132-2/+8
|
* lisp/gnus/shr.el (shr-expand-url): Expansion should chop off the bits after ↵Lars Magne Ingebrigtsen2013-06-133-4/+20
| | | | | | the last slash lisp/gnus/eww.el (eww-tag-select): Use the first value as the default value
* Auto-commit of loaddefs files.Glenn Morris2013-06-131-2/+2
|
* Implement changes in Secret Service API. Make it backward compatible.Michael Albinus2013-06-132-20/+43
| | | | | * net/secrets.el (secrets-struct-secret-content-type): New defonst. (secrets-create-item): Use it. Prefix properties with interface.
* lisp/gnus/eww.el (eww): Prepend urls with http:// if scheme is missingGnus developers2013-06-132-7/+30
| | | | | | (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
* * term.el (term-suppress-hard-newline): New option (tiny change)Michael Hoffman2013-06-122-2/+15
| | | | | | (term-emulate-terminal): Respect term-suppress-hard-newline. Fixes: debbugs:12017
* image-dired-dired-toggle-marked-thumbs tiny changeE Sabof2013-06-122-4/+13
| | | | | | | * lisp/image-dired.el (image-dired-dired-toggle-marked-thumbs): Only remove a `thumb-file' overlay. Fixes: debbugs:14548
* lisp/gnus/shr.el (shr-tag-svg): Ignore <svg>Lars Magne Ingebrigtsen2013-06-122-0/+8
|
* * mail/reporter.el (reporter-submit-bug-report): Handle missing package-name.Grégoire Jadi2013-06-122-4/+9
| | | | Fixes: debbugs:14600
* * textmodes/reftex-cite.el (reftex-cite-regexp-hist)Tassilo Horn2013-06-123-146/+157
| | | | | | | | | | | | | | | | | | | (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.
* Merge from mainline.Xue Fuqiao2013-06-1232-730/+1257
|\
| * * lisp/ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.Xue Fuqiao2013-06-122-1/+5
| |
| * * international/mule.el (auto-coding-alist): Use utf-8-emacs-unixAndreas Schwab2013-06-122-1/+6
| | | | | | | | for auto-save files.
| * * lisp/ido.el: Convert some function comments to basic doc stringsGlenn Morris2013-06-121-45/+43
| |
| * * lisp/ido.el (ido-delete-ignored-files): Remove.Glenn Morris2013-06-122-21/+21
| | | | | | | | | | | | | | (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.
| * * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold (tiny change)Eyal Lotem2013-06-122-1/+3
| | | | | | | | Fixes: debbugs:13003
| * * lisp/ido.el (ido-delete-ignored-files): Rewrite to avoid cl-lib.Glenn Morris2013-06-122-5/+9
| |
| * Respect ido-ignore-item-p in ido-wide-find-dirs-or-files (tiny change)Eyal Lotem2013-06-122-14/+27
| | | | | | | | | | | | | | | | | | * 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
| * Fix last change to octave.elLeo Liu2013-06-121-1/+1
| |
| * * progmodes/octave.el (inferior-octave-startup)Leo Liu2013-06-122-34/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
| * * lisp/help-fns.el (help-fns--compiler-macro): If the handler function isStefan Monnier2013-06-115-37/+52
| | | | | | | | | | | | | | | | | | | | 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'.
| * lisp/gnus/eww.el (eww-convert-widgets): Make widgets from non-tabular ↵Lars Magne Ingebrigtsen2013-06-122-12/+47
| | | | | | | | | | | | layouts work, too (eww-tag-select): Implement <select>
| * First part of Daniel Hackney's patch to package.el.Stefan Monnier2013-06-114-208/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el: Use defstruct. (package-desc): New, main struct. (package--bi-desc, package--ac-desc): New structs, used to describe the format in external files. (package-desc-vers): Replace with package-desc-version accessor. (package-desc-doc): Replace with package-desc-summary accessor. (package-activate-1): Remove `package' arg since the pkg-vec now includes the name. (define-package): Use package-desc-from-define. (package-unpack-single): Change file-name arg to be a symbol. (package--add-to-archive-contents): Use package-desc-create and new accessor functions to package--ac-desc. (package-buffer-info, package-tar-file-info): Return a package-desc. (package-install-from-buffer): Remove `type' argument. Change pkg-info arg to be a package-desc. (package-install-file): Adjust accordingly. Use \' to match EOS. (package--from-builtin): New function. (describe-package-1, package-menu--generate): Use it. (package--make-autoloads-and-compile): Change name arg to be a symbol. (package-generate-autoloads): Idem and return the name of the file. * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal): Change pkg-info arg to be a package-desc. Use package-make-ac-desc. (package-upload-file): Use \' to match EOS. * lisp/finder.el (finder-compile-keywords): Use package-make-builtin.
| * * lisp/vc/vc.el (vc-deduce-fileset): Change error message.Stefan Monnier2013-06-112-13/+19
| | | | | | | | | | (vc-read-backend): New function. (vc-next-action): Use it.
| * * lisp/subr.el (function-arity): Remove (mistakenly added).Stefan Monnier2013-06-112-26/+2
| | | | | | | | Fixes: debbugs:14590
| * * lisp/progmodes/prolog.el (prolog-make-keywords-regexp): Remove.Stefan Monnier2013-06-112-35/+15
| | | | | | | | | | | | | | (prolog-font-lock-keywords): Use regexp-opt instead. Don't manually highlight strings. (prolog-mode-variables): Simplify comment-start-skip. (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
| * * lisp/emacs-lisp/generic.el (generic--normalise-comments)Stefan Monnier2013-06-112-36/+61
| | | | | | | | | | | | | | (generic-set-comment-syntax, generic-set-comment-vars): New functions. (generic-mode-set-comments): Use them. (generic-bracket-support): Use setq-local. (generic-make-keywords-list): Declare obsolete.
| * lisp-mode font-lock fox for bug#14574Glenn Morris2013-06-112-2/+7
| | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Prettify after setting font-lock-defaults.
| * Fix typos.Juanma Barranquero2013-06-114-26/+35
| | | | | | | | | | | | | | | | | | * lisp/replace.el (query-replace, occur-read-regexp-defaults-function) (replace-search): * lisp/subr.el (declare-function, number-sequence, local-set-key) (substitute-key-definition, locate-user-emacs-file) (with-silent-modifications, split-string, eval-after-load): Fix typos, remove unneeded backslashes and reflow some docstrings.
| * * lisp/international/mule-conf.el (file-coding-system-alist): Use utf-8 asStefan Monnier2013-06-112-0/+6
| | | | | | | | default for Elisp files.
| * lisp/gnus/sievel-manage.el: fully support STARTTLS, fix bit rotAlbert Krewinkel2013-06-112-163/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make sieve-manage-open work with STARTTLS: shorten stream managing functions by using open-protocol-stream to do most of the work. Has the nice benefit of enabling STARTTLS. * Remove unneeded functions and options: the following functions and options are neither in the API, nor called by any other function, so they are deleted: - sieve-manage-network-p - sieve-manage-network-open - sieve-manage-starttls-p - sieve-manage-starttls-open - sieve-manage-forward - sieve-manage-streams - sieve-manage-stream-alist The options could not be applied in a meaningful way anymore; they didn't happen to have much effect before. * Cosmetic changes and code clean-up * Enable Multibyte for SieveManage buffers: The parser won't properly handle umlauts and line endings unless multibyte is turned on in the process buffer. * Wait for capabilities after STARTTLS: following RFC5804, the server sends new capabilities after successfully establishing a TLS connection with the client. The client should update the cached list of capabilities, but we just ignore the answer for now.
| * * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,Glenn Morris2013-06-102-10/+6
| | | | | | | | | | | | although define-derived-mode was doing this anyway. Fixes: debbugs:14583
| * lisp/gnus/eww.el (eww-tag-input): Support password fieldsLars Magne Ingebrigtsen2013-06-112-3/+12
| | | | | | | | (eww-submit): Support POST
| * Spelling fixes.Paul Eggert2013-06-102-8/+8
| |
| * lisp/gnus/eww.el (eww-tag-form): Protect against degenerate formsLars Magne Ingebrigtsen2013-06-102-2/+5
| |