emacs/lisp/emacs-lisp
Spencer Baugh ae4171efdc Support numeric indexing in let-alist
let-alist is very useful.  But sometimes an alist contains a list in
the middle, which contains yet more alists.  Previously, this was
somewhat painful to deal with, and required something like:

(let-alist alist
  (let-alist (nth 0 .a)
    (let-alist (nth 3 .b)
       .c)))

Now, the following works:

(let-alist alist
  .a.0.b.3.c)

* lisp/emacs-lisp/let-alist.el (let-alist--access-sexp): Properly
parse numbers to handle lists.  (Bug#66509)
(let-alist--list-to-sexp): Use nth to handle numbers.
(let-alist): Update docs.
2024-09-19 03:54:59 +02:00
..
advice.el ad-activate-advised-definition: Use proper function objects 2024-05-30 18:57:56 -04:00
avl-tree.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
backquote.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
backtrace.el (backtrace--print-func-and-args): Fix (part of) bug#70436 2024-04-20 11:23:58 -04:00
benchmark.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
bindat.el * lisp/emacs-lisp/bindat.el (sint): Burp in dynbind (bug#69749) 2024-03-15 12:45:09 -04:00
byte-opt.el Don't hide not and null arity errors 2024-06-17 13:14:08 +02:00
byte-run.el Add some basic checking for function type declarations 2024-07-24 19:20:11 +02:00
bytecomp.el Checkdoc fixes in emacs-lisp/*.el 2024-07-08 14:30:37 +02:00
cconv.el Use a dedicated type to represent interpreted-function values 2024-04-28 11:58:12 -04:00
chart.el ; * lisp/emacs-lisp/chart.el (chart--directory-size): Simpler regexp 2024-09-09 10:30:02 +02:00
check-declare.el Do not attempt to check declarations in lock files 2024-02-20 22:49:07 +01:00
checkdoc.el Merge from origin/emacs-30 2024-08-24 06:04:51 -04:00
cl-extra.el (cl--describe-class-slots): Avoid cryptic t type 2024-04-09 18:33:01 -04:00
cl-generic.el Improve navigation to cl-defgeneric uses 2024-05-26 05:56:14 +03:00
cl-indent.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cl-lib.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cl-macs.el (cl-defstruct): Improve handling of unknown options 2024-04-16 21:17:47 -04:00
cl-preloaded.el Rename subr-native-elisp to native-comp-function (bug#71123) 2024-05-28 20:52:40 -04:00
cl-print.el Use a dedicated type to represent interpreted-function values 2024-04-28 11:58:12 -04:00
cl-seq.el Safer and faster string sorting 2024-05-12 14:58:38 +02:00
comp-common.el Add 'message' to 'comp-primitive-type-specifiers' 2024-06-03 17:55:16 +02:00
comp-cstr.el Generalize 'comp-cstr-symbol-p' 2024-07-11 16:26:49 +02:00
comp-run.el ; * lisp/emacs-lisp/comp-run.el (native--compile-async): Improve warning. 2024-07-06 20:32:49 +03:00
comp.el Fix 'comp--type-check-optim-block' it using 'comp-cstr-type-p' 2024-07-11 16:26:49 +02:00
compat.el ; * lisp/emacs-lisp/compat.el: Fix header style. 2024-08-18 11:47:38 +02:00
cond-star.el ; * lisp/emacs-lisp/cond-star.el: Fix whitespace. 2024-08-11 16:09:28 +00:00
copyright.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
crm.el Support minibuffer-visible-completions in completing-read-multiple 2024-08-07 19:52:36 +03:00
cursor-sensor.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
debug-early.el (backtrace-on-redisplay-error): Use handler-bind 2024-01-04 16:37:01 -05:00
debug.el debug.el: Prevent re-entering the debugger for the same error 2024-03-16 23:10:48 -04:00
derived.el derived.el: Delete old code (bug#68625) 2024-01-29 19:04:59 -05:00
disass.el Redirect calls to subr-native-elisp-p to native-comp-function-p 2024-05-28 20:53:25 -04:00
easy-mmode.el Disambiguate minor-mode variable in its function docstring 2024-08-15 10:37:36 +03:00
easymenu.el ; Improve documentation of 'easy-menu-define' 2024-09-14 11:55:08 +03:00
edebug.el (edebug--called-interactively-skip): Fix bug#71934 2024-07-04 11:47:01 -04:00
eieio-base.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-core.el (cl-type-of): New function to return more precise types (bug#69739) 2024-03-18 09:29:47 -04:00
eieio-custom.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-datadebug.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-opt.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
eieio-speedbar.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio.el eieio-core.el: Always put a parent in the parents of a class 2024-03-08 02:04:59 -05:00
eldoc.el Checkdoc fixes in emacs-lisp/*.el 2024-07-08 14:30:37 +02:00
elint.el Take file-local variables into account in elint-file (bug#69076) 2024-02-14 08:54:04 +01:00
elp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ert-font-lock.el Fix symbol list matching regexps. 2024-04-01 11:13:12 +02:00
ert-x.el Complete change of ert-remote-temporary-file-directory 2024-01-06 18:15:23 +01:00
ert.el (pp): Indent lines right when starting in col > 0 2024-08-26 11:49:37 -04:00
ewoc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
faceup.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
find-func.el ; fix previous find-function change 2024-07-18 09:05:53 +02:00
float-sup.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generate-lisp-file.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generator.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generic.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gv.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
helper.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
hierarchy.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
icons.el * lisp/emacs-lisp/icons.el (define-icon): Add 'doc-string' to 'declare'. 2024-04-17 21:01:14 +03:00
inline.el * lisp/emacs-lisp/inline.el (inline-const-val): Improve docstring 2024-01-30 13:14:32 -05:00
let-alist.el Support numeric indexing in let-alist 2024-09-19 03:54:59 +02:00
lisp-mnt.el Merge from savannah/emacs-30 2024-07-07 10:23:08 +08:00
lisp-mode.el Use a dedicated type to represent interpreted-function values 2024-04-28 11:58:12 -04:00
lisp.el Change 'type' declaration to 'ftype' 2024-05-14 11:17:25 +02:00
loaddefs-gen.el Address compilation errors and warnings on x86 Solaris 10 systems 2024-05-26 11:50:45 +08:00
macroexp.el Checkdoc fixes in emacs-lisp/*.el 2024-07-08 14:30:37 +02:00
map-ynp.el Correct earlier change to map-ynp 2024-05-08 20:26:08 +08:00
map.el * lisp/emacs-lisp/map.el (map--make-pcase-bindings): Fix use in Emacs<30 2024-02-21 08:49:15 -05:00
memory-report.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
multisession.el Fix multisession.el when SQLite becomes unavailable 2024-09-07 10:42:01 +03:00
nadvice.el Use a dedicated type to represent interpreted-function values 2024-04-28 11:58:12 -04:00
oclosure.el Use a dedicated type to represent interpreted-function values 2024-04-28 11:58:12 -04:00
package-vc.el ; * admin/MAINTAINERS: Note what I maintain 2024-07-27 11:01:36 +02:00
package-x.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
package.el ; Avoid byte-compiler warning in package.el 2024-07-07 08:51:16 +03:00
pcase.el Clarify that 'pcase-lambda' only destructs 2024-08-04 16:53:51 +02:00
pp.el (pp): Indent lines right when starting in col > 0 2024-08-26 11:49:37 -04:00
radix-tree.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
range.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
re-builder.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
regexp-opt.el Change 'type' declaration to 'ftype' 2024-05-14 11:17:25 +02:00
regi.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ring.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rmc.el ; Fix typos in symbols 2024-06-29 17:29:38 +02:00
rx.el Remove misspelled rx category chinse-two-byte 2024-08-01 10:42:24 +02:00
seq.el ; * admin/MAINTAINERS: Remove Nicolas Petton. 2024-07-25 16:15:52 +02:00
shadow.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
shortdoc.el ; * lisp/vc/vc-git.el (vc-git--out-str): Doc fix. 2024-03-18 15:59:54 +02:00
shorthands.el Improve shorthands-font-lock-shorthands (bug#67390) 2024-02-03 08:40:03 -06:00
smie.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
subr-x.el Merge from savannah/emacs-30 2024-09-11 13:21:58 +08:00
syntax.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
tabulated-list.el * lisp/buff-menu.el (Buffer-menu-group-sort-by): New defcustom. 2024-06-07 19:57:07 +03:00
tcover-ses.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
testcover.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
text-property-search.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
thunk.el ; * admin/MAINTAINERS: Remove Nicolas Petton. 2024-07-25 16:15:52 +02:00
timer-list.el Use timer accessors instead of aref/aset 2024-07-25 14:40:35 +02:00
timer.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
tq.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
trace.el Merge from origin/emacs-29 2024-02-10 05:07:56 -05:00
track-changes.el Spelling fixes 2024-06-04 22:16:28 -07:00
unsafep.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
vtable.el Fix alignment and documentation of vtable.el 2024-09-07 11:27:03 +03:00
warnings.el * lisp/emacs-lisp/warnings.el (display-warning): Add guardrails for window. 2024-05-06 20:00:23 +03:00