aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-05-02 20:12:37 +0000
committerGerd Moellmann2000-05-02 20:12:37 +0000
commit576da55d72eed0857d4beeed3aa4df694a21d0c0 (patch)
treefa38489360b49a4b7a79e4fda4bcb1df1e97c327
parent1d18bc3a67cfe076a2b32149f017e7860b12bc70 (diff)
downloademacs-576da55d72eed0857d4beeed3aa4df694a21d0c0.tar.gz
emacs-576da55d72eed0857d4beeed3aa4df694a21d0c0.zip
*** empty log message ***
-rw-r--r--etc/NEWS13
-rw-r--r--lisp/ChangeLog3
-rw-r--r--src/ChangeLog26
3 files changed, 40 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0c2c2225078..23e50b9eefd 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2273,8 +2273,17 @@ The following is a list of properties all image types share.
2273 2273
2274`:ascent ASCENT' 2274`:ascent ASCENT'
2275 2275
2276ASCENT must be a number in the range 0..100, and specifies the percentage 2276ASCENT must be a number in the range 0..100, or the symbol `center'.
2277of the image's height to use for its ascent. Default is 50. 2277If it is a number, it specifies the percentage of the image's height
2278to use for its ascent.
2279
2280If not specified, ASCENT defaults to the value 50 which means that the
2281image will be centered with the base line of the row it appears in.
2282
2283If ASCENT is `center' the image is vertically centered with text drawn
2284in the same face as the image. The point the image is aligned with is
2285the middle of the height of the face's font. That point is usually
2286different from the font's base line.
2278 2287
2279`:margin MARGIN' 2288`:margin MARGIN'
2280 2289
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7c92ade76b2..a4762a29de5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12000-05-02 Gerd Moellmann <gerd@gnu.org> 12000-05-02 Gerd Moellmann <gerd@gnu.org>
2 2
3 * files.el (recover-session): Make directories as necessary
4 if they don't exist yet.
5
3 * calendar/cal-french.el 6 * calendar/cal-french.el
4 (french-calendar-multibyte-special-days-array) 7 (french-calendar-multibyte-special-days-array)
5 (french-calendar-special-days-array): Change French text. 8 (french-calendar-special-days-array): Change French text.
diff --git a/src/ChangeLog b/src/ChangeLog
index 9e02c0ed45b..19ee3b145f8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,31 @@
12000-05-02 Gerd Moellmann <gerd@gnu.org> 12000-05-02 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xterm.h (struct face): Add forward declaration.
4 (struct image): Ditto.
5 (image_ascent): Add prototype.
6
7 * xterm.c (x_produce_image_glyph, x_draw_image_foreground)
8 (x_draw_image_relief, x_draw_image_foreground_1): Call function
9 image_ascent instead of using IMAGE_ASCENT.
10
11 * dispextern.h (DEFAULT_IMAGE_HEIGHT): New macro.
12 (IMAGE_ASCENT): Removed.
13
14 * xfns.c (Qcenter): New variable.
15 (enum image_value_type): Add IMAGE_ASCENT_VALUE.
16 (parse_image_spec): Handle IMAGE_ASCENT_VALUE.
17 (image_ascent): New function.
18 (lookup_image): Recognize `:ascent center'.
19 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format)
20 (tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE.
21 (xbm_load): Don't set image's ascent here.
22 (xbm_image_p, xpm_image_p, pbm_image_p, png_image_p)
23 (jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't
24 check ascent values here.
25 (Fimagep, Flookup_image [GLYPH_DEBUG]: Removed.
26 (syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions.
27 (syms_of_xfns): Initialize Qcenter.
28
3 * eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near 29 * eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near
4 to the limits, increase the limits. 30 to the limits, increase the limits.
5 31