summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* "Use instead" obsolescence messages should end with "."Glenn Morris2014-02-061-1/+1
|
* Move iswitchb.el to obsolete/Glenn Morris2014-02-061-1/+1
| | | | | | | | | | | | | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00501.html * lisp/obsolete/iswitchb.el: Move to obsolete/. * lisp/simple.el (iswitchb-mode): Add manual autoloads to ease transition, since obsolete/ is not scanned for autoloads. * lisp/emacs-lisp/authors.el (authors-valid-file-names): Add iswitchb.el. * doc/emacs/ack.texi (Acknowledgments): No longer mention obsolete files. * doc/misc/viper.texi (File and Buffer Handling): Prefer ido to iswitchb. * etc/NEWS: Related edits.
* * lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't startStefan Monnier2014-02-061-2/+11
| | | | | | | with a space. Limit the symbols considered to the ones that are bound or fbound (bug#16646). Fixes: debbugs:16664
* Define and use `completion-table-merge'Dmitry Gutov2014-02-061-1/+1
| | | | | | | | | * lisp/minibuffer.el (completion-table-merge): New function. * lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Use `completion-table-merge' instead of `completion-table-in-turn'. Fixes: debbugs:16604
* * lisp/emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes inAnders Lindgren2014-02-041-1/+1
| | | | | | the names. Fixes: debbugs:16620
* * lisp/help-fns.el (help-C-file-name): Handle advised functions.Stefan Monnier2014-02-012-1/+6
| | | | | | | | * lisp/emacs-lisp/find-func.el (find-function-C-source): Idem. * lisp/emacs-lisp/nadvice.el (advice--cd*r): New function. * help-fns.el (describe-function-1): Use it. Fixes: debbugs:16478
* trace.el doc updatesGlenn Morris2014-01-301-19/+28
| | | | | | | | | * lisp/emacs-lisp/trace.el (trace--read-args, trace-function-foreground) (trace-function-background): Doc fixes. Commentary update for this package now using nadvice.el, not advice.el. * etc/NEWS: Related edits.
* Auto-commit of loaddefs files.Glenn Morris2014-01-301-1/+1
|
* * etc/NEWS: ElDoc related edit.Glenn Morris2014-01-291-0/+1
| | | | * lisp/emacs-lisp/eldoc.el: Related commentary.
* Replace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'Glenn Morris2014-01-292-5/+5
| | | | | | | | | | | * lisp/hexl.el (hexl-mode-hook): * lisp/ielm.el (ielm-mode-hook): * lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook) (lisp-interaction-mode-hook): * lisp/progmodes/cfengine.e (cfengine3-documentation-function): Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'. * lisp/emacs-lisp/eldoc.el: Same in commentary.
* * eieio-opt.el (eieio-help-generic): Fix last change.Stefan Monnier2014-01-291-1/+1
| | | | Fixes: debbugs:16584
* * lisp/emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'Stefan Monnier2014-01-291-1/+1
| | | | | | is a symbol. Fixes: debbugs:16584
* Silence byte-compiler warning.Juanma Barranquero2014-01-241-3/+1
| | | | | * emacs-lisp/bytecomp.el (byte-compile-file): Remove unused local variable `file-name'.
* * lisp/emacs-lisp/cl-macs.el: Improve type->predicate mapping.Stefan Monnier2014-01-231-2/+17
| | | | | | | (cl--macroexp-fboundp): New function. (cl--make-type-test): Use it. Fixes: debbugs:16520
* Doc fixes related to zero prefix argument of eval-expression etcGlenn Morris2014-01-221-11/+14
| | | | | * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp): * simple.el (eval-expression): Doc fixes.
* * lisp/emacs-lisp/authors.el (authors-fixed-entries): Addition.Glenn Morris2014-01-221-0/+1
|
* * lisp/emacs-lisp/package.el: Write files silently.Stefan Monnier2014-01-221-36/+38
| | | | | | | | | | (package-autoload-ensure-default-file) (package-generate-description-file, package--write-file-no-coding) (package-install-from-archive, package--download-one-archive): Tell `write-region' to stay quiet. (package-menu-mode, package-menu--print-info): Omit the Archive column if there's only one archive. (package-all-keywords, package--has-keyword-p): Remove dead code.
* authors.el small additionsGlenn Morris2014-01-211-1/+5
| | | | | | | * lisp/emacs-lisp/authors.el (authors-valid-file-names): (authors-renamed-files-alist): Additions. * lisp/ChangeLog.5, etc/ChangeLog: Clarify old entries.
* Unduplicate the lib-src/ and etc/ ChangeLogsGlenn Morris2014-01-211-0/+1
| | | | * lisp/emacs-lisp/authors.el (authors-valid-file-names): Related additions.
* Fix some function declarationsGlenn Morris2014-01-212-2/+2
| | | | | | | | | | | | * lisp/calc/calc-embed.el (thing-at-point-looking-at): * lisp/emacs-lisp/map-ynp.el (x-popup-dialog): * lisp/obsolete/lmenu.el (x-popup-dialog): * lisp/emacs-lisp/package.el (url-recreate-url): * lisp/mail/mailclient.el (clipboard-kill-ring-save): * lisp/subr.el (x-popup-dialog): Update declaration. * lisp/mail/rmail.el (rmail-mime-message-p): * lisp/window.el (tool-bar-lines-needed): Remove unnecessary declaration.
* * lisp/emacs-lisp/eldoc.el: Properly remove message in minibuffer case.Stefan Monnier2014-01-211-12/+18
| | | | | | | | (eldoc--message-command-p): New function. (eldoc-display-message-p): Use it. (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the message is not automatically erased for us. (eldoc-print-current-symbol-info): Erase previous message, if any.
* Do not document subr-x.el in the manualsGlenn Morris2014-01-201-0/+3
| | | | | | | | | * doc/lispref/hash.texi (Other Hash): Do not mention subr-x.el functions; reverts 2013-12-22 change. * lisp/emacs-lisp/subr-x.el: Comment. * etc/NEWS: Small related edits.
* * lisp/emacs-lisp/authors.el (authors-aliases): Add more entriesGlenn Morris2014-01-171-0/+2
|
* Add some entries to authors.el variablesGlenn Morris2014-01-171-2/+9
| | | | | * lisp/emacs-lisp/authors.el (authors-aliases) (authors-renamed-files-alist): Add some entries.
* * lisp/emacs-lisp/authors.el (authors-aliases): Remove more unused entriesGlenn Morris2014-01-161-9/+6
| | | | * lisp/leim/quail/tibetan.el, lisp/menu-bar.el: Fix author header comment.
* * lisp/emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.Glenn Morris2014-01-161-27/+7
| | | | | | | * lisp/jka-cmpr-hook.el, lisp/jka-compr.el, lisp/progmodes/antlr-mode.el: * doc/misc/autotype.texi: Fix author header comments. * lisp/org/ChangeLog: ChangeLog fix.
* Make M-x authors return zero *Authors Errors* from current logsGlenn Morris2014-01-161-82/+313
| | | | | | | | | | | | | | | | | * lisp/emacs-lisp/authors.el (authors-obsolete-files-regexps): (authors-ignored-files): Add some entries, remove others. (authors-ambiguous-files, authors-valid-file-names): Add some entries. (authors-renamed-files-alist): Add, remove, and adjust entries. (authors-renamed-files-regexps): Add some entries. Remove some very broad ones. Make some entries `lax'. (authors-lax-changelogs): New constant. (authors-disambiguate-file-name): Treat top-level specially. (authors-lax-changelog-p): New function. (authors-canonical-file-name): Check file as written against authors-valid-file-names. Do not special-case etc/. Handle `lax' logs and authors-renamed-files-regexps elements. * admin/make-tarball.txt: Update for no expected *Authors Errors*.
* Finally make package-desc--keywords workDmitry Gutov2014-01-161-1/+1
| | | | | * lisp/emacs-lisp/package.el (package-desc--keywords): Use `nth' instead of `cdr'.
* * lisp/emacs-lisp/package.el (package-desc--keywords): Use `cdr' withDmitry Gutov2014-01-161-5/+5
| | | | `assoc'. Make private. Update all callers.
* Use whole file-name-history'.Daniel Colascione2014-01-151-1/+1
|
* * lisp/emacs-lisp/package.el (package-desc-keywords): New function.Dmitry Gutov2014-01-151-4/+13
| | | | | | | (describe-package-1, package-all-keywords) (package--has-keyword-p): Use it. Fixes: debbugs:16222
* * lisp/emacs-lisp/edebug.el (edebug--display): Move protective let-bindingStefan Monnier2014-01-131-131/+134
| | | | | | so it applies in the right buffer. Fixes: debbugs:16410
* Some minor fixesLeo Liu2014-01-121-1/+1
| | | | | * dired-x.el (dired-mode-map): Fix last change. * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
* Spelling fixes.Paul Eggert2014-01-111-2/+2
| | | | | | | | | | * lisp/emacs-lisp/generic.el (generic--normalize-comments): Rename from generic--normalise-comments. All uses changed. * lisp/play/bubbles.el (bubbles--neighborhood-score): (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood) (bubbles--neighborhood-available) (bubbles--update-neighborhood-score): Rename from names with 'neighbourhood'. All uses changed.
* Re-implement the feature of showing eldoc info after editing.Leo Liu2014-01-121-24/+28
| | | | | | | | | | | | | | | * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove. (eldoc-edit-message-commands): New function. (eldoc-print-after-edit): New variable. (eldoc-pre-command-refresh-echo-area): Emit message only by eldoc-message-commands. (eldoc-mode): Restrict eldoc-message-commands to editing commands if eldoc-print-after-edit is set. * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc. Fixes: debbugs:16346
* * lisp/emacs-lisp/authors.el (authors-fixed-entries): UpdateGlenn Morris2014-01-101-12/+19
| | | | for files that no longer exist.
* Restore compatibilty with 23.1 (Tested)Eric S. Raymond2014-01-101-1/+1
|
* Update Eli Zaretskii's entry in authors.el.Eli Zaretskii2014-01-101-1/+2
| | | | lisp/emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
* Spelling fixes.Paul Eggert2014-01-091-1/+1
| | | | | | * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro. * woman.el (woman-mark-horizontal-position): Rename from woman-mark-horizonal-position. Use changed.
* Restore generated autoloads in eieio.el.David Engster2014-01-093-28/+19
| | | | | | | * emacs-lisp/eieio-custom.el: * emacs-lisp/eieio-opt.el: Set generated autoload file to 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org. * emacs-lisp/eieio.el: Regenerate autoloads.
* Rename INSTALL.BZR to UNSTALL.REPOm and carry that through in other files.Eric S. Raymond2014-01-081-0/+1
|
* Proper help support for EIEIO classes and methods.David Engster2014-01-082-331/+226
|\
| * Rewrite EIEIO help functions and hook them into help system.David Engster2014-01-082-331/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * help-fns.el (help-fns-describe-function-functions): New variable to call functions for augmenting help buffers. (describe-function-1): Remove explicit calls to `help-fns--compiler-macro', `help-fns--parent-mode' and `help-fns--obsolete'. Put them in above new variable instead, and call them through `run-hook-with-args'. * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from `eieio-describe-class'. Not meant for interactive use anymore, but to augment existing help buffers. Remove optional second argument. Create proper button for file location. Rewrite function to use `insert' instead of `princ' and `prin1' where possible. (eieio-help-class-slots): Rename from `eieio-describe-class-slots'. (eieio-method-def, eieio-class-def): Move further up. (describe-method, describe-generic, eieio-describe-method): Remove aliases. (eieio-help-constructor, eieio-help-generic): Rename from `eieio-describe-constructor' and `eieio-describe-generic', resp. Rewrite to use `insert' in the current buffer and use proper help buttons. (eieio-help-find-method-definition) (eieio-help-find-class-definition): Also accept symbols as arguments. (eieio-help-mode-augmentation-maybee): Remove. (eieio-describe-class-sb): Use `describe-function'. * emacs-lisp/eieio.el (help-fns-describe-function-functions): Add `eieio-help-generic' and `eieio-help-constructor'.
* | Fix 2014-01-08T11:19:30Z!bzg@gnu.orgBastien Guerry2014-01-081-8/+7
| | | | | | | | | | * emacs-lisp/package.el (package-installed-p): Fix my previous commit (2014-01-08T11:19:30Z!bzg@gnu.org).
* | * lisp/emacs-lisp/package.el (package-delete): Only remove pkg-desc fromStefan Monnier2014-01-081-20/+21
| | | | | | | | package-alist.
* | package.el: various fixes.Bastien Guerry2014-01-081-2/+3
| | | | | | | | | | | | * emacs-lisp/package.el (package-installed-p): First check if the package name is in package-alist. (package-delete): Correctly delete the package from package-alist.
* | emacs-lisp/package.el (package--check-signature): Fix download error handlingDaiki Ueno2014-01-081-5/+6
|/ | | | | | | | | * emacs-lisp/package.el (url-recreate-url): Declare. (url-http-target-url): Declare. (package-handle-response): Include requested URL in the error message. (package--check-signature): Don't re-signal errors from package--with-work-buffer. Suggested by Stefan Monnier.
* emacs-lisp/package.el (package-delete): Delete package completelyBastien Guerry2014-01-071-1/+1
| | | | | * emacs-lisp/package.el (package-delete): Also delete the package name from `package-alist', not its description only.
* * lisp/abbrev.el (define-abbrev): Beware new meaning of fboundp.Stefan Monnier2014-01-064-14/+10
| | | | | | | | | | | * lisp/emacs-lisp/elint.el (elint-find-builtins): * lisp/emacs-lisp/eldoc.el (eldoc-symbol-function): * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn) (byte-compile-file-form-defmumble, byte-compile, byte-compile-form): * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): * lisp/apropos.el (apropos-safe-documentation): * lisp/subr.el (symbol-file): Remove redundant fboundp. * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
* Spelling fixes.Paul Eggert2014-01-052-2/+2
| | | | | | | | | | | | | | | | * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel): * emacs-lisp/debug.el (cancel-debug-on-entry): * epg.el (epg-error-to-string): * files.el (recover-file): * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region): * mail/emacsbug.el (report-emacs-bug-hook): * mail/sendmail.el (mail-recover): * ses.el (ses-yank-resize): * term/ns-win.el (ns-print-buffer): Spelling fixes in diagnostics, mostly for "canceled" with one L. * epg.el (epg-key-capability-alist): Rename from misspelled version. All uses changed. * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.