Commit b8c63ae9 authored by David Reitter's avatar David Reitter

get_phys_cursor_geometry: redraw wider pixels on Nextstep, too.

ensure_echo_area_buffers: add comment.
parent 595d6a93
2008-08-20 David Reitter <david.reitter@gmail.com>
* nsfns.m (ns_lisp_to_cursor_type): Replace with generic xfns.c
* nsterm.m: remove ns-specific code for cursor blinking
(ns_draw_window_cursor): clear cursor properly rather than
redrawing the area. Respect width of bar cursors.
These changes enable the use of generic blink-cursor-mode and
generic cursor types in NS and support smooth cursor movements (do
not blink off after command).
* xdisp.c (get_phys_cursor_geometry): redraw wider rectangle on
Nextstep, too.
2008-08-19 Kenichi Handa <handa@m17n.org>
* font.c (Vfont_log_deferred): New variable.
......
......@@ -2093,7 +2093,7 @@ get_phys_cursor_geometry (w, row, glyph, xp, yp, heightp)
rectangle as wide as the glyph, but use a canonical character
width instead. */
wd = glyph->pixel_width - 1;
#ifdef HAVE_NTGUI
#if defined(HAVE_NTGUI) || defined(HAVE_NS)
wd++; /* Why? */
#endif
......@@ -8292,6 +8292,9 @@ ensure_echo_area_buffers ()
sprintf (name, " *Echo Area %d*", i);
echo_buffer[i] = Fget_buffer_create (build_string (name));
XBUFFER (echo_buffer[i])->truncate_lines = Qnil;
/* to force word wrap in echo area -
it was decided to postpone this*/
/* XBUFFER (echo_buffer[i])->word_wrap = Qt; */
for (j = 0; j < 2; ++j)
if (EQ (old_buffer, echo_area_buffer[j]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment