<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src, 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>Merge from origin/emacs-30</title>
<updated>2025-04-05T11:07:28+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2025-04-05T11:07:28+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d42ee9f33a281cb443ec17ed7f41ce48166c16df'/>
<id>d42ee9f33a281cb443ec17ed7f41ce48166c16df</id>
<content type='text'>
38fec86281e ; Improve the documentation of 'slice' display spec (bug#...
3f05b455f7e ; * src/editfns.c (Fmessage): Mention 'inhibit-message' (...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
38fec86281e ; Improve the documentation of 'slice' display spec (bug#...
3f05b455f7e ; * src/editfns.c (Fmessage): Mention 'inhibit-message' (...
</pre>
</div>
</content>
</entry>
<entry>
<title>Teach 'current-column' to account for images</title>
<updated>2025-04-05T10:24:22+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2025-04-05T10:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=52e7a71e3f90fede27864e366977e23bfc193891'/>
<id>52e7a71e3f90fede27864e366977e23bfc193891</id>
<content type='text'>
* src/indent.c (check_display_width): Handle 'image' and 'slice'
display specs, instead of using the width of the underlying text.
Accept 2 additional arguments: WINDOW and SCAN_BYTE.  (Bug#76107)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/indent.c (check_display_width): Handle 'image' and 'slice'
display specs, instead of using the width of the underlying text.
Accept 2 additional arguments: WINDOW and SCAN_BYTE.  (Bug#76107)
</pre>
</div>
</content>
</entry>
<entry>
<title>; * src/xdisp.c (display_mode_line, display_mode_element): Fix comments.</title>
<updated>2025-04-05T09:35:42+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2025-04-05T09:35:42+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bf7b3c5ddd5f66cd0f4927c983789128b43056ba'/>
<id>bf7b3c5ddd5f66cd0f4927c983789128b43056ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix mouse highlighting for compact mode lines (bug#77336)</title>
<updated>2025-04-05T09:30:46+00:00</updated>
<author>
<name>Pengji Zhang</name>
</author>
<published>2025-04-02T12:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c94f0d3dc82a72baa0ba8d69beda220aaf0b2d91'/>
<id>c94f0d3dc82a72baa0ba8d69beda220aaf0b2d91</id>
<content type='text'>
When 'mode-line-compact' is non-nil, the mode line string is
displayed as a whole.  That confuses the computation of ranges
of mouse highlighting on the mode line because all the glyphs
have the same Lisp object source.  As such, in this commit we
instead split the mode line string by sources, and display those
elements one by one, so the boundaries of each element could be
correctly detected for the purpose of mouse highlighting.

* src/xdisp.c (display_mode_line): Display mode line elements
one by one when 'mode-line-compact' is non-nil.
(display_mode_element): Record source element number of the
stored string via a text property.
(Fformat_mode_line): Initialize 'mode_line_elt_no' to 0.
(syms_of_xdisp): New symbol for the text property.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When 'mode-line-compact' is non-nil, the mode line string is
displayed as a whole.  That confuses the computation of ranges
of mouse highlighting on the mode line because all the glyphs
have the same Lisp object source.  As such, in this commit we
instead split the mode line string by sources, and display those
elements one by one, so the boundaries of each element could be
correctly detected for the purpose of mouse highlighting.

* src/xdisp.c (display_mode_line): Display mode line elements
one by one when 'mode-line-compact' is non-nil.
(display_mode_element): Record source element number of the
stored string via a text property.
(Fformat_mode_line): Initialize 'mode_line_elt_no' to 0.
(syms_of_xdisp): New symbol for the text property.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pacify gcc -Wclobbered in Freplace_region_contents</title>
<updated>2025-04-02T20:53:00+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-04-02T20:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5039ad24a362d88ac43d79f9fa5a5ba11f0da61b'/>
<id>5039ad24a362d88ac43d79f9fa5a5ba11f0da61b</id>
<content type='text'>
* src/editfns.c (Freplace_region_contents): Redo slightly to
pacify gcc -Wclobbered, by hoisting the eassume out of SCHARS and
into the caller later, where it’ll do more good anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/editfns.c (Freplace_region_contents): Redo slightly to
pacify gcc -Wclobbered, by hoisting the eassume out of SCHARS and
into the caller later, where it’ll do more good anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix display of wide characters in display margins on TTY frames</title>
<updated>2025-04-02T17:25:09+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2025-04-02T17:25:09+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=df82855aeb0038c810a451272eb34ae88984e8f6'/>
<id>df82855aeb0038c810a451272eb34ae88984e8f6</id>
<content type='text'>
* src/xdisp.c (display_line): Remove incomplete glyph sequence of
the last multi-column character, if not all of its glyphs fit in
the marginal area.  (Bug#77452)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/xdisp.c (display_line): Remove incomplete glyph sequence of
the last multi-column character, if not all of its glyphs fit in
the marginal area.  (Bug#77452)
</pre>
</div>
</content>
</entry>
<entry>
<title>More thorough fix for image slices on mode/header-line</title>
<updated>2025-04-02T13:12:03+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2025-04-02T13:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a9661e643b1235e82b7ba0c9c9c2cd8fa533b5a6'/>
<id>a9661e643b1235e82b7ba0c9c9c2cd8fa533b5a6</id>
<content type='text'>
* src/xdisp.c (note_mode_line_or_margin_highlight): Remove
correction of DX and DY due to image slices, as this is now done
in 'mode_line_string'.
* src/dispnew.c (mode_line_string): Make DX and DY account for
image slices.  (Bug#77429)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/xdisp.c (note_mode_line_or_margin_highlight): Remove
correction of DX and DY due to image slices, as this is now done
in 'mode_line_string'.
* src/dispnew.c (mode_line_string): Make DX and DY account for
image slices.  (Bug#77429)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix :map property on sliced images on mode line and header line</title>
<updated>2025-04-01T15:40:59+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2025-04-01T15:40:59+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=975d58c4c8d22555a702c418bb68225e6fc630d0'/>
<id>975d58c4c8d22555a702c418bb68225e6fc630d0</id>
<content type='text'>
* src/xdisp.c (note_mode_line_or_margin_highlight): Fix coordinates
for image slices wrt ':map' keyword when the image is on the mode
line or header line.  (Bug#77429)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/xdisp.c (note_mode_line_or_margin_highlight): Fix coordinates
for image slices wrt ':map' keyword when the image is on the mode
line or header line.  (Bug#77429)
</pre>
</div>
</content>
</entry>
<entry>
<title>; * src/editfns.c (Fmessage): Mention 'inhibit-message' (bug#77257).</title>
<updated>2025-03-30T14:38:25+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2025-03-30T14:38:25+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3f05b455f7e52e70871f47810fe42f1f36fa783b'/>
<id>3f05b455f7e52e70871f47810fe42f1f36fa783b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Respect narrowed buffers when parsing JSON (bug#77325)</title>
<updated>2025-03-30T11:52:07+00:00</updated>
<author>
<name>Pip Cet</name>
</author>
<published>2025-03-28T02:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=67e34f0ed8f6d3bbc78187a18f71010c70e10426'/>
<id>67e34f0ed8f6d3bbc78187a18f71010c70e10426</id>
<content type='text'>
* src/json.c (Fjson_insert): Simplify 'memcpy' argument.
(Fjson_parse_buffer): Only read to ZV, not all the way to Z.
* test/src/json-tests.el (with-all-gap-positions-in-temp-buffer):
New macro.
(json-parse-buffer/restricted): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/json.c (Fjson_insert): Simplify 'memcpy' argument.
(Fjson_parse_buffer): Only read to ZV, not all the way to Z.
* test/src/json-tests.el (with-all-gap-positions-in-temp-buffer):
New macro.
(json-parse-buffer/restricted): New test.
</pre>
</div>
</content>
</entry>
</feed>
