~ubuntu-elisp/emacs/+git/master:feature/cl-lib-improvements

Last commit made on 2023-11-21
Get this branch:
git clone -b feature/cl-lib-improvements https://git.launchpad.net/~ubuntu-elisp/emacs/+git/master

Branch merges

Branch information

Name:
feature/cl-lib-improvements
Repository:
lp:~ubuntu-elisp/emacs/+git/master

Recent commits

1f6fdf1... by Dmitry Gutov <email address hidden>

(seq-contains-pred): Split off list-specialized impl into separate method

* lisp/emacs-lisp/seq.el (seq-contains-pred): Split off
list-specialized impl into separate method. The result is a bit
slower (about 10%?), but better structured.

94849ba... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

seq.el: experimental seq.el speedups

* lisp/emacs-lisp/seq.el (seq-contains-p): Rework.
(seq-uniq): Rework
(seq-difference-2): New function
(seq-difference-3): New function

679311c... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Cl-lib: optimize and reword docstrins of cl-some and cl-every

* lisp/emacs-lisp/cl-extra.el (cl-some, cl-every): Rework.

bcea05d... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Cl-lib: optimize cl-set-difference and cl-nset-difference

Also correct a bytecomp.el warning about cl-nset-difference
being called with a constant second argument. It's not a
problem, as it isn't destroyed.

* lisp/emacs-lisp/bytecomp.el (byte-compile-form): Tweak.

* lisp/emacs-lisp/cl-seq.el (cl--with-member-test): New helper
macro.
(cl-set-difference): Use it. Reword docstring.
(cl-nset-difference): Use it. Reword docstring.

232f399... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Cl-lib: rework docstring of some functions in cl-seq.el

Also rework some local variable names

* lisp/emacs-lisp/cl-seq.el (cl-reduce, cl-fill)
(cl-remove, cl-remove-if, cl-remove-if-not)
(cl-delete, cl-delete-if, cl-delete-if-not): Rework documentation.

fff9b6e... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Fix test failures in test/lisp/minibuffer-tests.el

bug#48841, bug#47711

In some instances the test code needed to be updated to make different
assumptions about implementation details.

In others, like the ones about the completions-first-difference face,
minor parts of the actual user-visible behaviour were broken.

* test/lisp/minibuffer-tests.el (completion-test1): Robustify test.
(completion--pcm-score): Don't assume completion-score is stored
in string as a property.

* lisp/minibuffer.el (completion--hilit-from-re): Take new parameter.
(completion-pcm--hilit-commonality): Use it.

c9d7740... by Eli Zaretskii

Merge from origin/emacs-29

ce0ebb91f25 Improve documentation of read syntax and printed represen...
81f84b00a5d ; * doc/lispref/modes.texi (Other Font Lock Variables): A...
434592b0746 ; * lisp/dired.el (dired-use-ls-dired): Doc fix (bug#67053).
fe000236cf2 Improve documentation of signaling errors in batch mode
103ca678ac1 Fix treesit-simple-indent-presets docstring (bug#67007)
b7871cefe7b Prevent an infinite loop in todo-mode (bug#66994)
fa8cc4c9ee2 Fix cmake-ts-mode indentation (Bug#66845)
5bdc61bc0ef Update to Org 9.6.11
18e2de1bec9 ; * lisp/bindings.el (right-word, left-word): Doc fix.
4f0fc3bfda3 ; Document core input events problems with XInput2

4594250... by Po Lu <email address hidden>

; * lisp/touch-screen.el (touch-screen-track-tap): Fix typo.

68b8df5... by Po Lu <email address hidden>

Enable canceling tap gestures

* doc/lispref/commands.texi (Touchscreen Events): Relate new
THRESHOLD argument to touch-screen-track-tap.

* lisp/button.el (push-button):

* lisp/wid-edit.el (widget-button--check-and-call-button):
Provide a threshold to enable canceling button presses.

* lisp/touch-screen.el (touch-screen-track-tap): Enable
canceling tap gestures and resuming touch sequence translation
if the touch point exceeds a set threshold.

ce0ebb9... by Eli Zaretskii

Improve documentation of read syntax and printed representation

* doc/lispref/objects.texi (Syntax for Strings): Describe in more
detail how to specify special characters in string literals.
(Printed Representation, Character Type, Nonprinting Characters):
Improve information and add cross-references about printed
representation and read syntax. (Bug#67033)