<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/emacs.git/test, branch scratch/python-eldoc-async</title>
<subtitle>git.savannah.gnu.org: git/emacs.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/'/>
<entry>
<title>Merge from origin/emacs-27</title>
<updated>2020-07-07T14:50:39+00:00</updated>
<author>
<name>Glenn Morris</name>
<email>rgm@gnu.org</email>
</author>
<published>2020-07-07T14:50:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=3b36b38713aefb3aba40b3c094246782e8893f80'/>
<id>3b36b38713aefb3aba40b3c094246782e8893f80</id>
<content type='text'>
59e768d64a Fix undefined behavior in json.c (Bug#42113)
cce00bef03 Fix ACTION argument of 'display-buffer' call in gud.el
0121db2702 * src/keyboard.c (Fclear_this_command_keys): Doc fix.
b9abf5ceb2 Improve do string of 'man'
b87fc938a0 ; * src/xdisp.c (pos_visible_p): Yet another minor fix for...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
59e768d64a Fix undefined behavior in json.c (Bug#42113)
cce00bef03 Fix ACTION argument of 'display-buffer' call in gud.el
0121db2702 * src/keyboard.c (Fclear_this_command_keys): Doc fix.
b9abf5ceb2 Improve do string of 'man'
b87fc938a0 ; * src/xdisp.c (pos_visible_p): Yet another minor fix for...
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't confuse errors with nil in bytecomp-tests.el</title>
<updated>2020-07-05T15:44:34+00:00</updated>
<author>
<name>Mattias Engdegård</name>
<email>mattiase@acm.org</email>
</author>
<published>2020-07-05T15:44:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=58e27ebb9210cbbd0c3a10992627bc1e1de89f32'/>
<id>58e27ebb9210cbbd0c3a10992627bc1e1de89f32</id>
<content type='text'>
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-check-1)
(bytecomp-explain-1, test-byte-opt-arithmetic, bytecomp-lexbind-check-1)
(bytecomp-lexbind-explain-1):
If an expression raises an error when evaluated, don't treat it as if
it had succeeded with the value nil; use 'bytecomp-check-error' as the
result instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-check-1)
(bytecomp-explain-1, test-byte-opt-arithmetic, bytecomp-lexbind-check-1)
(bytecomp-lexbind-explain-1):
If an expression raises an error when evaluated, don't treat it as if
it had succeeded with the value nil; use 'bytecomp-check-error' as the
result instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>* test/src/fns-tests.el (test-secure-hash): Test getrandom format.</title>
<updated>2020-06-29T16:55:33+00:00</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2020-06-29T16:54:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=d0872638b4f6330bdece465d6cbf5c1d85306c35'/>
<id>d0872638b4f6330bdece465d6cbf5c1d85306c35</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix undefined behavior in json.c (Bug#42113)</title>
<updated>2020-06-29T10:32:56+00:00</updated>
<author>
<name>Philipp Stephani</name>
<email>phst@google.com</email>
</author>
<published>2020-06-29T10:32:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=59e768d64ad97782249fda9e53b6adc94c6d0130'/>
<id>59e768d64ad97782249fda9e53b6adc94c6d0130</id>
<content type='text'>
* src/json.c (lisp_to_json_toplevel_1, Fjson_parse_string): Check
whether input strings are actually strings.

* test/src/json-tests.el (json-parse-string/wrong-type)
(json-serialize/wrong-hash-key-type): New regression tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/json.c (lisp_to_json_toplevel_1, Fjson_parse_string): Check
whether input strings are actually strings.

* test/src/json-tests.el (json-parse-string/wrong-type)
(json-serialize/wrong-hash-key-type): New regression tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix problem in tramp-smb.el</title>
<updated>2020-06-23T19:18:08+00:00</updated>
<author>
<name>Michael Albinus</name>
<email>michael.albinus@gmx.de</email>
</author>
<published>2020-06-23T19:18:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=35e881c5303c6ddf23b901bd2805971dc4ecf20b'/>
<id>35e881c5303c6ddf23b901bd2805971dc4ecf20b</id>
<content type='text'>
* lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
Use `directory-file-name'.

* test/lisp/net/tramp-tests.el (trace): Require it.
(tramp--test-instrument-test-case): Print also function traces.
(tramp--test-smb-p): New defun.
(tramp-test03-file-name-method-rules)
(tramp-test05-expand-file-name-relative)
(tramp-test21-file-links, tramp--test-windows-nt-or-smb-p)
(tramp--test-check-files): Use it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
Use `directory-file-name'.

* test/lisp/net/tramp-tests.el (trace): Require it.
(tramp--test-instrument-test-case): Print also function traces.
(tramp--test-smb-p): New defun.
(tramp-test03-file-name-method-rules)
(tramp-test05-expand-file-name-relative)
(tramp-test21-file-links, tramp--test-windows-nt-or-smb-p)
(tramp--test-check-files): Use it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor improvements as followup to recent RGB string-parsing change</title>
<updated>2020-06-22T15:32:01+00:00</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2020-06-22T15:32:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1'/>
<id>30ff2433b16dba2c4e36c6eda6f808c6f2cb46d1</id>
<content type='text'>
* src/xfaces.c (Finternal_color_values_from_color_spec): Rename to...
(Fcolor_values_from_color_spec): ...this.  Callers changed.
Rename the argument to SPEC and improve the doc string.
(parse_color_spec, parse_float_color_comp, parse_hex_color_comp):
Improve commentary.
(parse_color_spec): Rename the argument S to SPEC.

* etc/NEWS: Mention 'color-values-from-color-spec'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/xfaces.c (Finternal_color_values_from_color_spec): Rename to...
(Fcolor_values_from_color_spec): ...this.  Callers changed.
Rename the argument to SPEC and improve the doc string.
(parse_color_spec, parse_float_color_comp, parse_hex_color_comp):
Improve commentary.
(parse_color_spec): Rename the argument S to SPEC.

* etc/NEWS: Mention 'color-values-from-color-spec'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spurious error in beginning-of-defun in pascal-mode (bug#41740)</title>
<updated>2020-06-22T07:51:17+00:00</updated>
<author>
<name>Mattias Engdegård</name>
<email>mattiase@acm.org</email>
</author>
<published>2020-06-21T19:11:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=62426057310b2332037a26e6f70cd5cc8b2e3a11'/>
<id>62426057310b2332037a26e6f70cd5cc8b2e3a11</id>
<content type='text'>
* lisp/progmodes/pascal.el (pascal-beg-of-defun):
Ignore errors in forward-sexp.
* test/lisp/progmodes/pascal-tests.el (pascal-beg-of-defun): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/pascal.el (pascal-beg-of-defun):
Ignore errors in forward-sexp.
* test/lisp/progmodes/pascal-tests.el (pascal-beg-of-defun): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Preserve point in pascal-mode completion (bug#41740)</title>
<updated>2020-06-22T07:51:11+00:00</updated>
<author>
<name>Mattias Engdegård</name>
<email>mattiase@acm.org</email>
</author>
<published>2020-06-21T19:04:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=73daab99914b4972a7cd167b03102be4c68e83e5'/>
<id>73daab99914b4972a7cd167b03102be4c68e83e5</id>
<content type='text'>
Failure to do so caused errors in several cases.
Reported by Shinichi Sakata.

* lisp/progmodes/pascal.el (pascal-type-completion)
(pascal-completion): Wrap code that may move point in save-excursion.
* test/lisp/progmodes/pascal-tests.el: New file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Failure to do so caused errors in several cases.
Reported by Shinichi Sakata.

* lisp/progmodes/pascal.el (pascal-type-completion)
(pascal-completion): Wrap code that may move point in save-excursion.
* test/lisp/progmodes/pascal-tests.el: New file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Consolidate #RGB string parsers</title>
<updated>2020-06-21T19:22:26+00:00</updated>
<author>
<name>Mattias Engdegård</name>
<email>mattiase@acm.org</email>
</author>
<published>2020-06-12T16:12:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=9fe2bdb88a4ebd4b2286c1c2a2a2ba7411af01b6'/>
<id>9fe2bdb88a4ebd4b2286c1c2a2a2ba7411af01b6</id>
<content type='text'>
Use a single parser of color strings in the #RGB, rgb:R/G/B and
rgbi:R/G/B formats, replacing four existing ones.  Previously,
error-checking was spotty, handling of the rgbi: format not always
present, and normalization of the result was sometimes incorrect.

* src/dispextern.h: New prototype.
* src/xfaces.c (parse_hex_color_comp, parse_float_color_comp)
(parse_color_spec, Finternal-color_values_from_color_spec): New functions.
* test/src/xfaces-tests.el (xfaces-internal-color-values-from-color-spec):
New test.
* lisp/term/tty-colors.el (tty-color-standard-values):
Use internal-color-values-from-color-spec, replacing old parser.
* src/nsterm.m (ns_get_color):
* src/w32fns.c (x_to_w32_color):
* src/xterm.c (x_parse_color): Use parse_color_spec, replacing old
parsers.
(HEX_COLOR_NAME_LENGTH): Remove #define.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a single parser of color strings in the #RGB, rgb:R/G/B and
rgbi:R/G/B formats, replacing four existing ones.  Previously,
error-checking was spotty, handling of the rgbi: format not always
present, and normalization of the result was sometimes incorrect.

* src/dispextern.h: New prototype.
* src/xfaces.c (parse_hex_color_comp, parse_float_color_comp)
(parse_color_spec, Finternal-color_values_from_color_spec): New functions.
* test/src/xfaces-tests.el (xfaces-internal-color-values-from-color-spec):
New test.
* lisp/term/tty-colors.el (tty-color-standard-values):
Use internal-color-values-from-color-spec, replacing old parser.
* src/nsterm.m (ns_get_color):
* src/w32fns.c (x_to_w32_color):
* src/xterm.c (x_parse_color): Use parse_color_spec, replacing old
parsers.
(HEX_COLOR_NAME_LENGTH): Remove #define.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace some uses of cl-mapcan with mapcan</title>
<updated>2020-06-21T13:33:16+00:00</updated>
<author>
<name>Basil L. Contovounesios</name>
<email>contovob@tcd.ie</email>
</author>
<published>2020-06-21T13:31:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/emacs.git/commit/?id=a4d3897d8f0caa54be1e1d081651ed6640b7f25e'/>
<id>a4d3897d8f0caa54be1e1d081651ed6640b7f25e</id>
<content type='text'>
* lisp/progmodes/project.el (project-files, project-files):
* lisp/progmodes/xref.el (xref-backend-references)
(xref--convert-hits):
* test/lisp/emacs-lisp/package-tests.el
(package-test-strip-version): Replace cl-mapcan with equivalent
calls to mapcan.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/project.el (project-files, project-files):
* lisp/progmodes/xref.el (xref-backend-references)
(xref--convert-hits):
* test/lisp/emacs-lisp/package-tests.el
(package-test-strip-version): Replace cl-mapcan with equivalent
calls to mapcan.
</pre>
</div>
</content>
</entry>
</feed>
