From: David Reitter Date: Wed, 20 Aug 2008 17:53:23 +0000 (+0000) Subject: get_phys_cursor_geometry: redraw wider pixels on Nextstep, too. X-Git-Tag: emacs-pretest-23.0.90~3403 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b8c63ae9edec74ffad844804992c2665b88d275b;p=emacs.git get_phys_cursor_geometry: redraw wider pixels on Nextstep, too. ensure_echo_area_buffers: add comment. --- diff --git a/src/ChangeLog b/src/ChangeLog index 34dedfdd554..d4891906dc3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,15 @@ +2008-08-20 David Reitter + + * 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 * 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) 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]))