aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Reitter2008-08-20 17:53:23 +0000
committerDavid Reitter2008-08-20 17:53:23 +0000
commitb8c63ae9edec74ffad844804992c2665b88d275b (patch)
treeaf8f7230a3c4eca8ec42afe7bd055eb4e0e21c6e /src
parent595d6a93bfcb03abb6c660c2adbe45ba8f9e14a3 (diff)
downloademacs-b8c63ae9edec74ffad844804992c2665b88d275b.tar.gz
emacs-b8c63ae9edec74ffad844804992c2665b88d275b.zip
get_phys_cursor_geometry: redraw wider pixels on Nextstep, too.
ensure_echo_area_buffers: add comment.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog12
-rw-r--r--src/xdisp.c5
2 files changed, 16 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 34dedfdd554..d4891906dc3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,15 @@
12008-08-20 David Reitter <david.reitter@gmail.com>
2
3 * nsfns.m (ns_lisp_to_cursor_type): Replace with generic xfns.c
4 * nsterm.m: remove ns-specific code for cursor blinking
5 (ns_draw_window_cursor): clear cursor properly rather than
6 redrawing the area. Respect width of bar cursors.
7 These changes enable the use of generic blink-cursor-mode and
8 generic cursor types in NS and support smooth cursor movements (do
9 not blink off after command).
10 * xdisp.c (get_phys_cursor_geometry): redraw wider rectangle on
11 Nextstep, too.
12
12008-08-19 Kenichi Handa <handa@m17n.org> 132008-08-19 Kenichi Handa <handa@m17n.org>
2 14
3 * font.c (Vfont_log_deferred): New variable. 15 * font.c (Vfont_log_deferred): New variable.
diff --git a/src/xdisp.c b/src/xdisp.c
index 01ca4533321..ec3d31a3532 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2093,7 +2093,7 @@ get_phys_cursor_geometry (w, row, glyph, xp, yp, heightp)
2093 rectangle as wide as the glyph, but use a canonical character 2093 rectangle as wide as the glyph, but use a canonical character
2094 width instead. */ 2094 width instead. */
2095 wd = glyph->pixel_width - 1; 2095 wd = glyph->pixel_width - 1;
2096#ifdef HAVE_NTGUI 2096#if defined(HAVE_NTGUI) || defined(HAVE_NS)
2097 wd++; /* Why? */ 2097 wd++; /* Why? */
2098#endif 2098#endif
2099 2099
@@ -8292,6 +8292,9 @@ ensure_echo_area_buffers ()
8292 sprintf (name, " *Echo Area %d*", i); 8292 sprintf (name, " *Echo Area %d*", i);
8293 echo_buffer[i] = Fget_buffer_create (build_string (name)); 8293 echo_buffer[i] = Fget_buffer_create (build_string (name));
8294 XBUFFER (echo_buffer[i])->truncate_lines = Qnil; 8294 XBUFFER (echo_buffer[i])->truncate_lines = Qnil;
8295 /* to force word wrap in echo area -
8296 it was decided to postpone this*/
8297 /* XBUFFER (echo_buffer[i])->word_wrap = Qt; */
8295 8298
8296 for (j = 0; j < 2; ++j) 8299 for (j = 0; j < 2; ++j)
8297 if (EQ (old_buffer, echo_area_buffer[j])) 8300 if (EQ (old_buffer, echo_area_buffer[j]))