<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lib-src, branch master</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>Allow retrieving scheduler information in seccomp (bug#80656)</title>
<updated>2026-03-25T16:08:32+00:00</updated>
<author>
<name>Pip Cet</name>
</author>
<published>2026-03-25T13:09:48+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2ca648068fa1fcfca5da72383babe1abce2e4ee8'/>
<id>2ca648068fa1fcfca5da72383babe1abce2e4ee8</id>
<content type='text'>
* lib-src/seccomp-filter.c (main): Add rules for 'sched_getscheduler'
and 'sched_getaffinity'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/seccomp-filter.c (main): Add rules for 'sched_getscheduler'
and 'sched_getaffinity'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pacify clang -Wunused-result</title>
<updated>2026-03-01T19:36:47+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2026-03-01T19:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6e8dd0f898dccde926a4e6ecee22b39eaf21472d'/>
<id>6e8dd0f898dccde926a4e6ecee22b39eaf21472d</id>
<content type='text'>
Problem reported by badli al rashid (bug#80512).
* lib-src/make-docfile.c (scan_c_stream): Avoid a tricky ungetc+getc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem reported by badli al rashid (bug#80512).
* lib-src/make-docfile.c (scan_c_stream): Avoid a tricky ungetc+getc.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Extend emacs server protocol for empty arguments"</title>
<updated>2026-02-08T16:52:12+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2026-02-08T16:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7fd6fa4a8b71615fa21dc990503736d4405193c6'/>
<id>7fd6fa4a8b71615fa21dc990503736d4405193c6</id>
<content type='text'>
This reverts this change:

  Author:     Andreas Schwab &lt;schwab@linux-m68k.org&gt;
  AuthorDate: Sun Feb 8 12:34:02 2026 +0100

    Extend emacs server protocol for empty arguments

    An empty argument is represented by &amp;0.  On the receiving side, &amp;0 is
    replaced by nothing.

    * lisp/server.el (server-unquote-arg): Replace "&amp;0" by nothing.
    (server-quote-arg): Produce "&amp;0" for an empty string.
    * lib-src/emacsclient.c (quote_argument): Produce "&amp;0" for an
    empty string.
    (unquote_argument): Replace "&amp;0" by nothing.   (Bug#80356)

The bug in question was already fixed by this change:

  Author:     Sean Whitton &lt;spwhitton@spwhitton.name&gt;
  AuthorDate: Fri Nov 7 12:33:21 2025 +0000

    Don't discard empty string arguments from emacsclient

    * lisp/server.el (server--process-filter-1): Don't discard empty
    string arguments from emacsclient.
    (server-eval-args-left):
    * doc/emacs/misc.texi (emacsclient Options):
    * etc/NEWS: Document the change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts this change:

  Author:     Andreas Schwab &lt;schwab@linux-m68k.org&gt;
  AuthorDate: Sun Feb 8 12:34:02 2026 +0100

    Extend emacs server protocol for empty arguments

    An empty argument is represented by &amp;0.  On the receiving side, &amp;0 is
    replaced by nothing.

    * lisp/server.el (server-unquote-arg): Replace "&amp;0" by nothing.
    (server-quote-arg): Produce "&amp;0" for an empty string.
    * lib-src/emacsclient.c (quote_argument): Produce "&amp;0" for an
    empty string.
    (unquote_argument): Replace "&amp;0" by nothing.   (Bug#80356)

The bug in question was already fixed by this change:

  Author:     Sean Whitton &lt;spwhitton@spwhitton.name&gt;
  AuthorDate: Fri Nov 7 12:33:21 2025 +0000

    Don't discard empty string arguments from emacsclient

    * lisp/server.el (server--process-filter-1): Don't discard empty
    string arguments from emacsclient.
    (server-eval-args-left):
    * doc/emacs/misc.texi (emacsclient Options):
    * etc/NEWS: Document the change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend emacs server protocol for empty arguments</title>
<updated>2026-02-08T12:21:28+00:00</updated>
<author>
<name>Andreas Schwab</name>
</author>
<published>2026-02-08T11:34:02+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7586a5474cd6c1ea8510b5a8178c74160cc783d0'/>
<id>7586a5474cd6c1ea8510b5a8178c74160cc783d0</id>
<content type='text'>
An empty argument is represented by &amp;0.  On the receiving side, &amp;0 is
replaced by nothing.

* lisp/server.el (server-unquote-arg): Replace "&amp;0" by nothing.
(server-quote-arg): Produce "&amp;0" for an empty string.
* lib-src/emacsclient.c (quote_argument): Produce "&amp;0" for an
empty string.
(unquote_argument): Replace "&amp;0" by nothing.   (Bug#80356)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An empty argument is represented by &amp;0.  On the receiving side, &amp;0 is
replaced by nothing.

* lisp/server.el (server-unquote-arg): Replace "&amp;0" by nothing.
(server-quote-arg): Produce "&amp;0" for an empty string.
* lib-src/emacsclient.c (quote_argument): Produce "&amp;0" for an
empty string.
(unquote_argument): Replace "&amp;0" by nothing.   (Bug#80356)
</pre>
</div>
</content>
</entry>
<entry>
<title>; Add 2026 to copyright years.</title>
<updated>2026-01-01T12:54:34+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2026-01-01T12:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c31f6adc31d48076c63ad82b83b2970e1b0d7b9b'/>
<id>c31f6adc31d48076c63ad82b83b2970e1b0d7b9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make-docfile preferring streq</title>
<updated>2025-12-14T22:47:22+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-12-14T22:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5fe0b9e6b017d7f6662ee7fcb5aa6d1ce2ede316'/>
<id>5fe0b9e6b017d7f6662ee7fcb5aa6d1ce2ede316</id>
<content type='text'>
* lib-src/make-docfile.c (main, add_global, compare_globals):
Prefer streq to strcmp where either will do.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/make-docfile.c (main, add_global, compare_globals):
Prefer streq to strcmp where either will do.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support nested parens in make-docfile args</title>
<updated>2025-12-14T22:47:21+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-12-14T22:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=19e5d27dafa84d93cb84469c9f21594c05204bb3'/>
<id>19e5d27dafa84d93cb84469c9f21594c05204bb3</id>
<content type='text'>
* lib-src/make-docfile.c (scan_c_stream): Allow nested parens.
E.g., ‘(Lisp_Object XXX (force))’ for the identifier ‘force’,
where XXX is a macro.  This is for future changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/make-docfile.c (scan_c_stream): Allow nested parens.
E.g., ‘(Lisp_Object XXX (force))’ for the identifier ‘force’,
where XXX is a macro.  This is for future changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix make-docfile strncmp typo</title>
<updated>2025-12-14T22:47:21+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-12-14T22:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=aeab91bc55db67222cb9142476916ad08d32c98f'/>
<id>aeab91bc55db67222cb9142476916ad08d32c98f</id>
<content type='text'>
* lib-src/make-docfile.c (write_c_args):
Don’t mishandle the identifiers ‘v’, ‘vo’, and ‘voi’.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/make-docfile.c (write_c_args):
Don’t mishandle the identifiers ‘v’, ‘vo’, and ‘voi’.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve make-docfile.c for C23</title>
<updated>2025-12-14T22:47:21+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-12-14T22:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1269bbdaa91b4eb9d17117bfd0718de297040271'/>
<id>1269bbdaa91b4eb9d17117bfd0718de297040271</id>
<content type='text'>
* lib-src/make-docfile.c (write_c_args): Don’t diagnose “()”.
In C23 it’s equivalent to (void), and it works fine (albeit with
less type-checking) in older C.  Omit first arg, which is no
longer needed.  Caller changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lib-src/make-docfile.c (write_c_args): Don’t diagnose “()”.
In C23 it’s equivalent to (void), and it works fine (albeit with
less type-checking) in older C.  Omit first arg, which is no
longer needed.  Caller changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some make-docfile core dumps</title>
<updated>2025-12-14T22:47:21+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-12-14T22:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=51b8a7c7cb4132ce1fc239c86b5858fa7636b488'/>
<id>51b8a7c7cb4132ce1fc239c86b5858fa7636b488</id>
<content type='text'>
This bit me when I ran ‘make’ with typos in the Emacs source.
* lib-src/make-docfile.c (struct rcsoc_state.buf_lim):
New member.
(read_c_string_or_comment): Initialize it.
(put_char, scan_c_stream): Check for buffer overflow.
(scan_c_stream): Output a diagnostic rather than aborting
when the buffer overflows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This bit me when I ran ‘make’ with typos in the Emacs source.
* lib-src/make-docfile.c (struct rcsoc_state.buf_lim):
New member.
(read_c_string_or_comment): Initialize it.
(put_char, scan_c_stream): Check for buffer overflow.
(scan_c_stream): Output a diagnostic rather than aborting
when the buffer overflows.
</pre>
</div>
</content>
</entry>
</feed>
