emacs/lisp/emacs-lisp
Stefan Monnier 59b5723c9b Add online-help support to describe types
* lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
(describe-symbol): Improve the selection of default.

* lisp/help-mode.el: Require cl-lib.
(describe-symbol-backends): Move from help-fns.el.
(help-make-xrefs): Use it.

* lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
for types.
(cl--typedef-regexp): New const.
(find-function-regexp-alist): Add entry for types.
(cl-help-type, cl-type-definition): New buttons.
(cl-find-class): New function.
(cl-describe-type): New command.
(cl--describe-class, cl--describe-class-slot)
(cl--describe-class-slots): New functions, moved from eieio-opt.el.

* lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
(cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
New functions.  Moved from eieio-opt.el.
(cl--generic-class-parents): New function, extracted from
cl--generic-struct-specializers.
(cl--generic-struct-specializers): Use it.

* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
Improve constructor's docstrings.
(cl-struct-unknown-slot): New error.
(cl-struct-slot-offset): Use it.

* lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
definition in current-load-list.

* lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
(eieio--add-new-slot): Set it.
(eieio-defclass-internal): Use new name for current-load-list.
(eieio-oref): Add compiler-macro to warn about unknown slots.
* lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
as compile-time as well.  Improve constructor docstrings.

* lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
(eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
(eieio-class-def): Remove button.
(eieio-help-constructor): Use new name for load-history element.
(eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
(eieio-method-documentation): Move to cl-generic.el.
(eieio-display-method-list): Use new names.

* lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
Add "define-linline".
(lisp-fdefs): Remove "defsubst".
(el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".

* lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
(macroexp--warn-and-return): Use it to avoid inf-loops.
Add `compile-only' argument.
2015-07-07 02:14:16 -04:00
..
advice.el Fix some “nested” quoting confusion in doc strings 2015-06-21 12:38:08 -07:00
autoload.el Improve reproducibility of generated loaddefs file. 2015-06-30 14:59:04 -04:00
avl-tree.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
backquote.el A few more doc string fixes (Bug#20385) 2015-05-28 00:45:00 -07:00
benchmark.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bindat.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
byte-opt.el Address some compilation warnings. 2015-06-16 20:04:35 -04:00
byte-run.el * etc/TODO: Remove obsolete entries. 2015-03-25 14:28:25 -04:00
bytecomp.el Address a compilation warning. 2015-06-16 20:44:23 -04:00
cconv.el Add (:documentation <form>) for dynamically-generated docstrings 2015-02-05 14:28:16 -05:00
chart.el * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias. 2015-05-11 23:50:08 -07:00
check-declare.el * lisp/emacs-lisp/check-declare.el (check-declare-warn): 2015-06-16 20:45:35 -04:00
checkdoc.el * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords): 2015-06-10 17:06:02 -04:00
cl-extra.el Add online-help support to describe types 2015-07-07 02:14:16 -04:00
cl-generic.el Add online-help support to describe types 2015-07-07 02:14:16 -04:00
cl-indent.el Fix indentation for with-output-to-string 2015-06-26 18:03:30 +08:00
cl-lib.el Initialize cl--gensym-counter to 0 2015-06-27 10:59:08 -07:00
cl-macs.el Add online-help support to describe types 2015-07-07 02:14:16 -04:00
cl-preloaded.el Add online-help support to describe types 2015-07-07 02:14:16 -04:00
cl-seq.el Fix bootstrap (void function cl-member). 2015-05-13 19:02:31 -04:00
cl.el (define-modify-macro): Make sure cl--arglist-args is defined 2015-05-06 17:43:43 -04:00
copyright.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
crm.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cursor-sensor.el Deprecate intangible' and point-entered' properties 2015-04-13 15:51:15 -04:00
debug.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
derived.el ; * lisp/emacs-lisp/derived.el (derived-mode-make-docstring): 2015-06-15 18:02:33 -04:00
disass.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
easy-mmode.el In strings, prefer plain and ' to \ and \' 2015-06-30 15:08:02 -07:00
easymenu.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edebug.el Replace gui-method macros with cl-generic with &context 2015-05-23 11:32:29 -04:00
eieio-base.el (eieio-persistent-save): Don't ignore `file' arg (bug#20972) 2015-07-06 11:55:37 -04:00
eieio-compat.el * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove 2015-07-02 10:59:32 -04:00
eieio-core.el Add online-help support to describe types 2015-07-07 02:14:16 -04:00
eieio-custom.el Spelling fixes 2015-05-05 12:25:48 -07:00
eieio-datadebug.el EIEIO: Change class's representation to unify instance & class slots 2015-03-18 23:02:26 -04:00
eieio-opt.el Add online-help support to describe types 2015-07-07 02:14:16 -04:00
eieio-speedbar.el * lisp/emacs-lisp/eieio*.el: Fix up warnings and improve compatibility 2015-01-21 14:39:06 -05:00
eieio.el Add online-help support to describe types 2015-07-07 02:14:16 -04:00
eldoc.el * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505) 2015-05-05 22:18:19 -04:00
elint.el Don't require help-fns when not needed 2015-05-20 08:24:23 -07:00
elp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ert-x.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ert.el Generate curved quotes in ert doc 2015-06-02 07:33:14 -07:00
ewoc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
find-func.el Make find-function-on-key use the current window 2015-06-22 03:25:38 +03:00
float-sup.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
generator.el Address some compilation warnings. 2015-06-16 20:04:35 -04:00
generic.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gv.el * lisp/progmodes/gud.el: Use lexical-binding. 2015-03-03 14:23:49 -05:00
helper.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
inline.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
let-alist.el * lisp/let-alist.el: move to lisp/emacs-lisp/let-alist.el 2015-06-17 15:40:58 +01:00
lisp-mnt.el Fix byte-compiler warnings about looking-back. 2015-04-20 21:55:00 -04:00
lisp-mode.el Add online-help support to describe types 2015-07-07 02:14:16 -04:00
lisp.el Further lisp-complete-symbol related cleanup. 2015-05-18 20:51:47 -04:00
macroexp.el Add online-help support to describe types 2015-07-07 02:14:16 -04:00
map-ynp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
map.el Revert "Define `map-elt' as a generalized variable" 2015-06-21 23:44:50 +02:00
nadvice.el Fix quoting of help for functions with odd names 2015-06-11 10:24:38 -07:00
package-x.el Quieten compilation, eg in --without-x builds. 2015-05-08 20:13:47 -04:00
package.el Spelling fixes 2015-06-30 19:47:29 -07:00
pcase.el * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround. 2015-06-16 20:44:57 -04:00
pp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
re-builder.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
regexp-opt.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
regi.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ring.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
rx.el '[:graph:]' now excludes whitespace, not just ' ' 2015-04-15 23:47:01 -07:00
seq.el * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring 2015-07-02 00:58:16 +02:00
shadow.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
smie.el Merge from origin/emacs-24 2015-03-29 14:14:15 -07:00
subr-x.el Improve parameter name 2015-05-20 18:50:38 +03:00
syntax.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
tabulated-list.el * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): 2015-06-29 10:11:16 +01:00
tcover-ses.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tcover-unsafep.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
testcover.el * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487) 2015-05-06 10:50:48 -04:00
timer.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tq.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
trace.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
unsafep.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
warnings.el Ensure early startup warnings are visible at the end. (Bug#20792) 2015-06-12 19:26:21 -07:00