<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/src/keymap-tests.el, branch scratch/cedet-object-name</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>Update copyright year to 2025</title>
<updated>2025-01-01T07:39:17+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-01-01T07:39:17+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4da38c632161867e914b3a13dc760f8019255f94'/>
<id>4da38c632161867e914b3a13dc760f8019255f94</id>
<content type='text'>
Run "TZ=UTC0 admin/update-copyright".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run "TZ=UTC0 admin/update-copyright".
</pre>
</div>
</content>
</entry>
<entry>
<title>Add multi/unibyte string tests for key-description</title>
<updated>2024-05-16T12:29:10+00:00</updated>
<author>
<name>Robert Pluim</name>
</author>
<published>2024-05-14T15:41:57+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cdf49336cd06c433d2aa7795672aebe413c92f54'/>
<id>cdf49336cd06c433d2aa7795672aebe413c92f54</id>
<content type='text'>
* test/src/keymap-tests.el (keymap--key-description): Add multi/unibyte
tests.

This is to check the fix for Bug#59305.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/keymap-tests.el (keymap--key-description): Add multi/unibyte
tests.

This is to check the fix for Bug#59305.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/keymap.el (define-keymap): Demote "duplicate def" to a warning</title>
<updated>2024-01-20T20:03:05+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2024-01-12T23:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=eb779ae64677e643d2d78cfc2b016088e8d7ff98'/>
<id>eb779ae64677e643d2d78cfc2b016088e8d7ff98</id>
<content type='text'>
* test/src/keymap-tests.el (keymap-test-duplicate-definitions):
Adjust accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/keymap-tests.el (keymap-test-duplicate-definitions):
Adjust accordingly.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Add 2024 to copyright years</title>
<updated>2024-01-02T01:47:10+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-01-02T01:47:10+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8e1c56ae46754dd7baedff49a464f078f0e9912d'/>
<id>8e1c56ae46754dd7baedff49a464f078f0e9912d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for Bug#62207</title>
<updated>2023-03-18T09:37:15+00:00</updated>
<author>
<name>Robert Pluim</name>
</author>
<published>2023-03-18T09:33:39+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=aedb9e3ec37512e4e2c1a6066613b2b5fcaf2aa6'/>
<id>aedb9e3ec37512e4e2c1a6066613b2b5fcaf2aa6</id>
<content type='text'>
* test/src/keymap-tests.el (keymap-unset-test-remove-and-inheritance):
New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/keymap-tests.el (keymap-unset-test-remove-and-inheritance):
New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make `keymap-set-after' work for menus</title>
<updated>2023-01-20T14:14:45+00:00</updated>
<author>
<name>Robert Pluim</name>
</author>
<published>2023-01-19T15:05:45+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=06953fc8e1d70397f421e1c6efc327af8e0bad6c'/>
<id>06953fc8e1d70397f421e1c6efc327af8e0bad6c</id>
<content type='text'>
It still doesn't work for an AFTER that's a key, though, since
`key-parse' produces vectors, and keymaps contain integers.

* lisp/keymap.el (keymap-set-after): Only parse AFTER as a key if it's
a string.  For consistency, use `key-parse' on the definition if it's
a string, just like `keymap-set'.
* test/src/keymap-tests.el (keymap-tests--command-3): New dummy command.
(keymap-set-after-menus): New test.  Check that we can insert a menu
item after a specific entry.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It still doesn't work for an AFTER that's a key, though, since
`key-parse' produces vectors, and keymaps contain integers.

* lisp/keymap.el (keymap-set-after): Only parse AFTER as a key if it's
a string.  For consistency, use `key-parse' on the definition if it's
a string, just like `keymap-set'.
* test/src/keymap-tests.el (keymap-tests--command-3): New dummy command.
(keymap-set-after-menus): New test.  Check that we can insert a menu
item after a specific entry.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use `key-parse' in `keymap-lookup'</title>
<updated>2023-01-20T14:14:45+00:00</updated>
<author>
<name>Robert Pluim</name>
</author>
<published>2023-01-19T14:58:51+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=dcd59457b48f1fb115e9847eef1c983406885717'/>
<id>dcd59457b48f1fb115e9847eef1c983406885717</id>
<content type='text'>
It's stricter than `kbd', and doesn't try to do anything with key
sequences that look like macros.

* lisp/keymap.el (keymap-lookup): Use `key-parse' instead of `kbd'.
* test/src/keymap-tests.el (keymap-set-after-menus): Test the
`keymap-set-after' API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's stricter than `kbd', and doesn't try to do anything with key
sequences that look like macros.

* lisp/keymap.el (keymap-lookup): Use `key-parse' instead of `kbd'.
* test/src/keymap-tests.el (keymap-set-after-menus): Test the
`keymap-set-after' API.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Add 2023 to copyright years.</title>
<updated>2023-01-01T10:31:12+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2023-01-01T10:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cae528457cb862dc886a34240c9d4c73035b6659'/>
<id>cae528457cb862dc886a34240c9d4c73035b6659</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Signal error on duplicate key definitions</title>
<updated>2022-08-02T12:29:43+00:00</updated>
<author>
<name>Robert Pluim</name>
</author>
<published>2022-08-02T12:22:32+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bf47851e0817abcf17eeb4a10d27cf18de2c68a2'/>
<id>bf47851e0817abcf17eeb4a10d27cf18de2c68a2</id>
<content type='text'>
* lisp/keymap.el (define-keymap, defvar-keymap): Signal error if the
same key is specified twice.  (Bug#56873)

* doc/lispref/keymaps.texi (Creating Keymaps): Document error
signaling behaviour.

* test/src/keymap-tests.el (keymap-test-duplicate-definitions): Test
duplicate definition detection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/keymap.el (define-keymap, defvar-keymap): Signal error if the
same key is specified twice.  (Bug#56873)

* doc/lispref/keymaps.texi (Creating Keymaps): Document error
signaling behaviour.

* test/src/keymap-tests.el (keymap-test-duplicate-definitions): Test
duplicate definition detection.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix typos: prefer American spelling</title>
<updated>2022-07-14T10:13:31+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2022-07-14T09:55:52+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2a05479c221d4a13b15ed731e4eb1c0de99e97ed'/>
<id>2a05479c221d4a13b15ed731e4eb1c0de99e97ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
