<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs, branch scratch/comp-safety</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>* doc/lispref/functions.texi (Declare Form): Mention 'safety' in 'type'.</title>
<updated>2024-05-07T10:05:58+00:00</updated>
<author>
<name>Andrea Corallo</name>
</author>
<published>2024-05-07T10:04:32+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f2600c509d9dcd6dd3d763ca8c2e409bab7cfbcb'/>
<id>f2600c509d9dcd6dd3d763ca8c2e409bab7cfbcb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* etc/NEWS (Safety compilation parameter): Add entry.</title>
<updated>2024-05-07T08:42:02+00:00</updated>
<author>
<name>Andrea Corallo</name>
</author>
<published>2024-05-07T08:19:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=88932e6d3c417a68447b8407d31ea7eb6e5a572a'/>
<id>88932e6d3c417a68447b8407d31ea7eb6e5a572a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a test for 'safety'</title>
<updated>2024-05-07T08:41:54+00:00</updated>
<author>
<name>Andrea Corallo</name>
</author>
<published>2024-05-05T07:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d20a79529725ac6e8c7960d6087851ab8136790b'/>
<id>d20a79529725ac6e8c7960d6087851ab8136790b</id>
<content type='text'>
* test/src/comp-tests.el (safety-1): Define test.
(comp-tests-check-ret-type-spec): Set 'safety' to 0.
* test/src/comp-resources/comp-test-funcs.el (comp-test-safety-0-f)
(comp-test-safety-1-f, comp-test-safety-2-f): New functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/comp-tests.el (safety-1): Define test.
(comp-tests-check-ret-type-spec): Set 'safety' to 0.
* test/src/comp-resources/comp-test-funcs.el (comp-test-safety-0-f)
(comp-test-safety-1-f, comp-test-safety-2-f): New functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some 'safety' documentation</title>
<updated>2024-05-07T08:40:38+00:00</updated>
<author>
<name>Andrea Corallo</name>
</author>
<published>2024-05-04T06:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b5410a90f93ca4c3d0e739165f43aa117c5c4161'/>
<id>b5410a90f93ca4c3d0e739165f43aa117c5c4161</id>
<content type='text'>
* lisp/emacs-lisp/bytecomp.el (safety): Better doc.
* lisp/emacs-lisp/comp.el (comp--type-relax-alist): Likewise.
* doc/lispref/functions.texi (Declare Form): Add safety.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/bytecomp.el (safety): Better doc.
* lisp/emacs-lisp/comp.el (comp--type-relax-alist): Likewise.
* doc/lispref/functions.texi (Declare Form): Add safety.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'safety' function declaration</title>
<updated>2024-05-07T08:40:31+00:00</updated>
<author>
<name>Andrea Corallo</name>
</author>
<published>2024-05-03T20:45:04+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=158954a792060d94a817106908e1235f0c9d43cf'/>
<id>158954a792060d94a817106908e1235f0c9d43cf</id>
<content type='text'>
* lisp/emacs-lisp/comp.el (comp-known-predicates): Use
'comp-func-safety'.
(comp-ctxt, comp-mvar-type-hint-match-p): New 'safety' slot.
(comp-c-func-name): New function.
(comp--spill-lap-function, comp--intern-func-in-ctxt): Update.
* lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Spill safety.
* lisp/emacs-lisp/byte-run.el (byte-run--set-completion): New alias.
(defun-declarations-alist): Update.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/comp.el (comp-known-predicates): Use
'comp-func-safety'.
(comp-ctxt, comp-mvar-type-hint-match-p): New 'safety' slot.
(comp-c-func-name): New function.
(comp--spill-lap-function, comp--intern-func-in-ctxt): Update.
* lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Spill safety.
* lisp/emacs-lisp/byte-run.el (byte-run--set-completion): New alias.
(defun-declarations-alist): Update.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce 'safety' variable</title>
<updated>2024-05-07T08:40:13+00:00</updated>
<author>
<name>Andrea Corallo</name>
</author>
<published>2024-05-03T20:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cb953b7bc5b7c259bb452872d543b6fa6b142ad3'/>
<id>cb953b7bc5b7c259bb452872d543b6fa6b142ad3</id>
<content type='text'>
* lisp/emacs-lisp/bytecomp.el (safety): New customize.
* lisp/emacs-lisp/comp.el (comp--type-relax-alist): New constant.
(comp--maybe-relax-simple-type, comp--maybe-relax-function-type): New
functions.
(comp-known-predicates): Make use of.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/bytecomp.el (safety): New customize.
* lisp/emacs-lisp/comp.el (comp--type-relax-alist): New constant.
(comp--maybe-relax-simple-type, comp--maybe-relax-function-type): New
functions.
(comp-known-predicates): Make use of.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify Emacs server detection on Android</title>
<updated>2024-05-07T01:21:59+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-05-07T01:21:59+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3bc9c38c471983431bc6768dd6cfe9e059e44a3b'/>
<id>3bc9c38c471983431bc6768dd6cfe9e059e44a3b</id>
<content type='text'>
* lib-src/emacsclient.c (set_local_socket) [HAVE_ANDROID]: Do
not consider XDG_RUNTIME_DIR or test the ownership or
accessibility of TMPDIR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/emacsclient.c (set_local_socket) [HAVE_ANDROID]: Do
not consider XDG_RUNTIME_DIR or test the ownership or
accessibility of TMPDIR.
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable text-conversion in map-ynp</title>
<updated>2024-05-07T01:02:00+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-05-07T01:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d4d9db8dc6ee20d3c0c1b2e647f40ebf2cc719f3'/>
<id>d4d9db8dc6ee20d3c0c1b2e647f40ebf2cc719f3</id>
<content type='text'>
* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Bind
overriding-text-conversion-style to nil around read-event and
arrange that the input method be reset.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Bind
overriding-text-conversion-style to nil around read-event and
arrange that the input method be reset.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug#66151</title>
<updated>2024-05-07T00:53:56+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-05-07T00:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6583916a058324f857d83af5a716d1142f94758f'/>
<id>6583916a058324f857d83af5a716d1142f94758f</id>
<content type='text'>
* src/fontset.c (free_realized_fontsets): Never call
recompute_basic_faces on dead frames.  (bug#66151)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/fontset.c (free_realized_fontsets): Never call
recompute_basic_faces on dead frames.  (bug#66151)
</pre>
</div>
</content>
</entry>
<entry>
<title>`read': give fuller error message for errors following "#".</title>
<updated>2024-05-06T20:14:57+00:00</updated>
<author>
<name>Alan Mackenzie</name>
</author>
<published>2024-05-06T20:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=67e1b9d0553238ec6a5af68b41f43ba157f529e1'/>
<id>67e1b9d0553238ec6a5af68b41f43ba157f529e1</id>
<content type='text'>
This solves bug#70702.

* src/lread.c (READ_AND_BUFFER, INVALID_SYNTAX_WITH_BUFFER):
New macros.
(read0): For errors in characters sequences beginning with "#",
output the entire character sequence rather than just "#".

* test/src/lread-tests.el (lread-test-bug70702): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This solves bug#70702.

* src/lread.c (READ_AND_BUFFER, INVALID_SYNTAX_WITH_BUFFER):
New macros.
(read0): For errors in characters sequences beginning with "#",
output the entire character sequence rather than just "#".

* test/src/lread-tests.el (lread-test-bug70702): New test.
</pre>
</div>
</content>
</entry>
</feed>
