Files
emacs/lisp
Jim Porter 5f9b5803be Fix zooming images in SHR
Previously, for images with no alt-text, the zoomed image wouldn't get
properly inserted.  For images with alt-text, both the zoomed and
unzoomed image would be displayed at once (bug#71666).

* lisp/net/shr.el (shr-sliced-image): New face.
(shr-zoom-image): Reimplement using
'next/previous-single-property-change', and don't bother deleting any of
the text.
(shr-image-fetched): Clean up any overlays when deleting the old region.
(shr-put-image): Ensure we always have a non-empty string to put the
image on.  For sliced images, just use "*", since we'll repeat it, so we
can't preserve the original buffer text exactly anyway.  Apply an
overlay to sliced images to prevent unsightly text decorations.
(shr-tag-img): Move the placeholder space insertion where it should be
and explain what it's doing.

* test/lisp/net/shr-tests.el (shr-test--max-wait-time)
(shr-test-wait-for): New helper functions.
(shr-test/zoom-image): New test.
2024-06-22 23:09:00 -07:00
..
2024-06-16 22:38:26 +02:00
2024-06-17 17:45:48 +08:00
2024-06-16 22:38:26 +02:00
2024-06-11 11:06:37 +02:00
2024-06-15 13:06:09 -04:00
2024-06-22 23:09:00 -07:00
2024-06-22 18:44:19 +02:00
2024-06-23 08:01:28 +03:00
2024-06-22 08:23:18 -04:00
2024-06-16 22:38:26 +02:00
2024-05-14 11:17:25 +02:00
2024-05-25 10:33:07 +03:00
2024-06-12 10:19:32 +03:00
2024-05-14 11:17:25 +02:00
2024-06-16 22:38:26 +02:00
2024-06-07 12:00:32 +02:00
2024-06-01 08:34:43 -04:00
2024-06-04 22:16:28 -07:00
2024-06-16 22:38:26 +02:00
2024-06-03 15:06:02 +02:00
2024-06-03 14:35:51 +03:00
2024-06-17 17:45:48 +08:00
2024-06-09 20:40:59 +08:00
2024-06-21 20:07:50 +02:00
2024-06-14 16:42:32 +08:00
2024-06-04 22:16:28 -07:00
2024-06-03 20:39:41 +08:00
2024-05-10 15:56:30 +03:00
2024-06-08 07:34:20 -04:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.