<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test, branch feature/uniquify-as-function</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>* test/lisp/emacs-lisp/find-func-tests.el: New file (for bug#43393)</title>
<updated>2020-09-14T20:04:22+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2020-09-14T20:04:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e408f2fab24ea81f74d9b84dc83ee67d562846dc'/>
<id>e408f2fab24ea81f74d9b84dc83ee67d562846dc</id>
<content type='text'>
* lisp/emacs-lisp/ert-x.el (ert-simulate-keys): New macro.

* test/lisp/international/mule-tests.el
(mule-cmds--test-universal-coding-system-argument): Use it and enable
the test also in batch mode.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/ert-x.el (ert-simulate-keys): New macro.

* test/lisp/international/mule-tests.el
(mule-cmds--test-universal-coding-system-argument): Use it and enable
the test also in batch mode.
</pre>
</div>
</content>
</entry>
<entry>
<title>Calc: fix binomial coefficients for negative arguments (bug#16999)</title>
<updated>2020-09-14T09:19:22+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2020-09-11T09:43:15+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0e00f199cd3599977f75326bb7adc9d70390661e'/>
<id>0e00f199cd3599977f75326bb7adc9d70390661e</id>
<content type='text'>
For some values outside integers 0≤k≤n, (n choose k) gave wrong
results, entered infinite recursion or used unreasonably amounts of
stack space.  This change fixes that and extends the function to all
integer arguments using the definitions from M. J. Kronenburg
(https://arxiv.org/abs/1105.3689).

* lisp/calc/calc-comb.el (calcFunc-choose):
Fix sign error to prevent infinite recursion and extend function to
handle all integer arguments.
(math-choose-iter, math-choose-float-iter): Rewrite in iterative form;
no TCO in elisp yet.
* test/lisp/calc/calc-tests.el (calc-tests--fac, calc-tests--choose)
(calc-tests--check-choose, calc-tests--explain-choose)
(calc-tests--calc-to-number): New helper functions.
(calc-choose): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some values outside integers 0≤k≤n, (n choose k) gave wrong
results, entered infinite recursion or used unreasonably amounts of
stack space.  This change fixes that and extends the function to all
integer arguments using the definitions from M. J. Kronenburg
(https://arxiv.org/abs/1105.3689).

* lisp/calc/calc-comb.el (calcFunc-choose):
Fix sign error to prevent infinite recursion and extend function to
handle all integer arguments.
(math-choose-iter, math-choose-float-iter): Rewrite in iterative form;
no TCO in elisp yet.
* test/lisp/calc/calc-tests.el (calc-tests--fac, calc-tests--choose)
(calc-tests--check-choose, calc-tests--explain-choose)
(calc-tests--calc-to-number): New helper functions.
(calc-choose): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add facility to make module functions interactive (Bug#23486).</title>
<updated>2020-09-13T18:26:47+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2020-09-13T18:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=da0e75e7410226d7fd6d760f0ebe8a04d815506d'/>
<id>da0e75e7410226d7fd6d760f0ebe8a04d815506d</id>
<content type='text'>
* src/module-env-28.h: Add field for 'make_interactive' function.

* src/emacs-module.c (Lisp_Module_Function): Add new field holding the
interactive form.
(allocate_module_function): Adapt to structure layout change.
(module_make_interactive, module_function_interactive_form): New
functions.
(initialize_environment): Use them.

* src/eval.c (Fcommandp):
* src/data.c (Finteractive_form): Also handle interactive module
functions.

* test/data/emacs-module/mod-test.c (Fmod_test_identity): New test
function.
(emacs_module_init): Create two interactive module test functions.

* test/src/emacs-module-tests.el (module/interactive/return-t)
(module/interactive/return-t-int, module/interactive/identity):
New unit tests.

* doc/lispref/internals.texi (Module Functions): Document new
function.  Rework paragraph about wrapping module functions, as the
example no longer applies.

* etc/NEWS: Document new facility.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/module-env-28.h: Add field for 'make_interactive' function.

* src/emacs-module.c (Lisp_Module_Function): Add new field holding the
interactive form.
(allocate_module_function): Adapt to structure layout change.
(module_make_interactive, module_function_interactive_form): New
functions.
(initialize_environment): Use them.

* src/eval.c (Fcommandp):
* src/data.c (Finteractive_form): Also handle interactive module
functions.

* test/data/emacs-module/mod-test.c (Fmod_test_identity): New test
function.
(emacs_module_init): Create two interactive module test functions.

* test/src/emacs-module-tests.el (module/interactive/return-t)
(module/interactive/return-t-int, module/interactive/identity):
New unit tests.

* doc/lispref/internals.texi (Module Functions): Document new
function.  Rework paragraph about wrapping module functions, as the
example no longer applies.

* etc/NEWS: Document new facility.
</pre>
</div>
</content>
</entry>
<entry>
<title>Kill gpg-agents started by mml-sec-tests (bug#43358)</title>
<updated>2020-09-13T14:05:25+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2020-09-13T14:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c2dea983e8016dab6e76a10d8b02ffbf894e2760'/>
<id>c2dea983e8016dab6e76a10d8b02ffbf894e2760</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a conversion failure in tramp-archive-tests (Bug#43353)</title>
<updated>2020-09-13T11:25:52+00:00</updated>
<author>
<name>Michael Albinus</name>
</author>
<published>2020-09-13T11:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a6321fd7990f4e8e46e850bf60cc49925592ec2a'/>
<id>a6321fd7990f4e8e46e850bf60cc49925592ec2a</id>
<content type='text'>
* test/lisp/net/tramp-archive-tests.el
(tramp-archive-test-file-archive-hexlified): New defun.
(tramp-archive-test02-file-name-dissect): Use it.  (Bug#43353)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/net/tramp-archive-tests.el
(tramp-archive-test-file-archive-hexlified): New defun.
(tramp-archive-test02-file-name-dissect): Use it.  (Bug#43353)
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't force LC_ALL=C upon make check (bug#43353)</title>
<updated>2020-09-13T03:22:37+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2020-09-13T03:22:37+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=18f390af8f11d24c2259131bd45cfd3156cfc234'/>
<id>18f390af8f11d24c2259131bd45cfd3156cfc234</id>
<content type='text'>
* test/Makefile.in (TEST_LOCALE): Remove.
(emacs): Don't force LC_ALL=C, since it causes problems with
non-ascii directories.  This mirrors a 7-year old lisp/Makefile change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/Makefile.in (TEST_LOCALE): Remove.
(emacs): Don't force LC_ALL=C, since it causes problems with
non-ascii directories.  This mirrors a 7-year old lisp/Makefile change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark some diff tests as failing in nonascii directories</title>
<updated>2020-09-13T02:47:29+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2020-09-13T02:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5e7733694e9bbf77759267b6d0386383315d48b3'/>
<id>5e7733694e9bbf77759267b6d0386383315d48b3</id>
<content type='text'>
* test/lisp/vc/diff-mode-tests.el (diff-mode-test-font-lock)
(diff-mode-test-font-lock-syntax-one-line):
Expect failure in non-ascii directories.

; * lisp/vc/diff-mode.el (diff-hunk-file-names): Comment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/vc/diff-mode-tests.el (diff-mode-test-font-lock)
(diff-mode-test-font-lock-syntax-one-line):
Expect failure in non-ascii directories.

; * lisp/vc/diff-mode.el (diff-hunk-file-names): Comment.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adapt some tests for Emacs's excitingly variable quoting format</title>
<updated>2020-09-12T18:57:42+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2020-09-12T18:57:42+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3e073520b341228d7a54a242e3d09862948e5c08'/>
<id>3e073520b341228d7a54a242e3d09862948e5c08</id>
<content type='text'>
* test/lisp/subr-tests.el (subr-test-version-parsing):
* test/lisp/emacs-lisp/gv-tests.el (gv-dont-define-expander-other-file):
* test/src/callint-tests.el (call-interactively/incomplete-multibyte-sequence):
* test/src/emacs-module-tests.el (module/describe-function-1):
Don't fail if curly quotes are in use, as they can be if LC_ALL != C.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/subr-tests.el (subr-test-version-parsing):
* test/lisp/emacs-lisp/gv-tests.el (gv-dont-define-expander-other-file):
* test/src/callint-tests.el (call-interactively/incomplete-multibyte-sequence):
* test/src/emacs-module-tests.el (module/describe-function-1):
Don't fail if curly quotes are in use, as they can be if LC_ALL != C.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix copyright years</title>
<updated>2020-09-12T17:56:04+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2020-09-12T17:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6818867a2e8e5af8fd4fce89771c241bc418d36b'/>
<id>6818867a2e8e5af8fd4fce89771c241bc418d36b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup in dbus.el, dbus-tests.el</title>
<updated>2020-09-12T17:33:44+00:00</updated>
<author>
<name>Michael Albinus</name>
</author>
<published>2020-09-12T17:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2fca3015ddcbdfee524ff58bb4ce31bf1f91a3c4'/>
<id>2fca3015ddcbdfee524ff58bb4ce31bf1f91a3c4</id>
<content type='text'>
* lisp/net/dbus.el (dbus-error-no-reply): New defconst.
(dbus-call-method): Use it.
(dbus-call-method-asynchronously, dbus-register-signal): Fix docstring.
(dbus-unregister-object): Obey :serial entries in
`dbus-registered-objects-table'.

* test/lisp/net/dbus-tests.el (dbus-test04-register-method)
(dbus-test05-register-property): Extend tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/net/dbus.el (dbus-error-no-reply): New defconst.
(dbus-call-method): Use it.
(dbus-call-method-asynchronously, dbus-register-signal): Fix docstring.
(dbus-unregister-object): Obey :serial entries in
`dbus-registered-objects-table'.

* test/lisp/net/dbus-tests.el (dbus-test04-register-method)
(dbus-test05-register-property): Extend tests.
</pre>
</div>
</content>
</entry>
</feed>
