unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [mituharu@math.s.chiba-u.ac.jp: Cursors in fringe not redrawn by expose events.]
@ 2007-04-26  4:24 Richard Stallman
  2007-04-26 15:25 ` Kim F. Storm
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2007-04-26  4:24 UTC (permalink / raw)
  To: emacs-devel

Would someone please DTRT and ack?

------- Start of forwarded message -------
X-Spam-Status: No, score=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,
	UNPARSEABLE_RELAY autolearn=no version=3.1.0
Date: Wed, 25 Apr 2007 17:46:53 +0900
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: emacs-pretest-bug@gnu.org
Organization: Faculty of Science, Chiba University
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Subject: Cursors in fringe not redrawn by expose events.

Cursors in the fringe area don't get redrawn by expose events.

1) emacs -Q -D
2) `C-u 80 SPC' and move the cursor to the right fringe.
3) Move the frame so the cursor area goes outside the screen.
4) Move back the frame to the original position.

Whether the step 4 causes expose events or not would depend on the X
server.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/mituharu/src/cvs/emacs/etc/DEBUG for instructions.


In GNU Emacs 22.0.99.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-04-25 on localhost.localdomain
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40300000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.eucJP
  locale-coding-system: japanese-iso-8bit
  default-enable-multibyte-characters: t


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mituharu@math.s.chiba-u.ac.jp: Cursors in fringe not redrawn by expose events.]
  2007-04-26  4:24 [mituharu@math.s.chiba-u.ac.jp: Cursors in fringe not redrawn by expose events.] Richard Stallman
@ 2007-04-26 15:25 ` Kim F. Storm
  2007-04-27 19:01   ` Chong Yidong
  0 siblings, 1 reply; 6+ messages in thread
From: Kim F. Storm @ 2007-04-26 15:25 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

> Would someone please DTRT and ack?

I thought we wanted to make a release soon ?!?!?

IMO, TRT is to delay fixing this !

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mituharu@math.s.chiba-u.ac.jp: Cursors in fringe not redrawn by expose events.]
  2007-04-26 15:25 ` Kim F. Storm
@ 2007-04-27 19:01   ` Chong Yidong
  2007-04-28  4:07     ` Richard Stallman
  2007-04-28  6:10     ` Jan Djärv
  0 siblings, 2 replies; 6+ messages in thread
From: Chong Yidong @ 2007-04-27 19:01 UTC (permalink / raw)
  To: Kim F. Storm; +Cc: rms, emacs-devel

storm@cua.dk (Kim F. Storm) writes:

> Richard Stallman <rms@gnu.org> writes:
>
>> Would someone please DTRT and ack?
>
> I thought we wanted to make a release soon ?!?!?

I was also under that impression.

I suggest removing this from FOR-RELEASE.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mituharu@math.s.chiba-u.ac.jp: Cursors in fringe not redrawn by expose events.]
  2007-04-27 19:01   ` Chong Yidong
@ 2007-04-28  4:07     ` Richard Stallman
  2007-04-28 11:02       ` YAMAMOTO Mitsuharu
  2007-04-28  6:10     ` Jan Djärv
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2007-04-28  4:07 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel, storm

I'd like someone to look at this bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mituharu@math.s.chiba-u.ac.jp: Cursors in fringe not redrawn by expose events.]
  2007-04-27 19:01   ` Chong Yidong
  2007-04-28  4:07     ` Richard Stallman
@ 2007-04-28  6:10     ` Jan Djärv
  1 sibling, 0 replies; 6+ messages in thread
From: Jan Djärv @ 2007-04-28  6:10 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel, rms, Kim F. Storm



Chong Yidong skrev:
> storm@cua.dk (Kim F. Storm) writes:
> 
>> Richard Stallman <rms@gnu.org> writes:
>>
>>> Would someone please DTRT and ack?
>> I thought we wanted to make a release soon ?!?!?
> 
> I was also under that impression.
> 
> I suggest removing this from FOR-RELEASE.

FWIW I can't even reproduce the bug.  Let's get on with the release.

	Jan D.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [mituharu@math.s.chiba-u.ac.jp: Cursors in fringe not redrawn by expose events.]
  2007-04-28  4:07     ` Richard Stallman
@ 2007-04-28 11:02       ` YAMAMOTO Mitsuharu
  0 siblings, 0 replies; 6+ messages in thread
From: YAMAMOTO Mitsuharu @ 2007-04-28 11:02 UTC (permalink / raw)
  To: rms; +Cc: Chong Yidong, storm, emacs-devel

>>>>> On Sat, 28 Apr 2007 00:07:28 -0400, Richard Stallman <rms@gnu.org> said:

> I'd like someone to look at this bug.

I tried it for myself.  Of course, I leave the decision to experts.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

Index: src/xdisp.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v
retrieving revision 1.1149
diff -c -p -r1.1149 xdisp.c
*** src/xdisp.c	24 Apr 2007 01:32:41 -0000	1.1149
--- src/xdisp.c	28 Apr 2007 10:49:57 -0000
*************** phys_cursor_in_rect_p (w, r)
*** 23403,23408 ****
--- 23403,23426 ----
  {
    XRectangle cr, result;
    struct glyph *cursor_glyph;
+   struct glyph_row *row;
+ 
+   if (w->phys_cursor.vpos >= 0
+       && w->phys_cursor.vpos < w->current_matrix->nrows
+       && (row = MATRIX_ROW (w->current_matrix, w->phys_cursor.vpos),
+ 	  row->enabled_p)
+       && row->cursor_in_fringe_p)
+     {
+       /* Cursor is in the fringe.  */
+       cr.x = window_box_right_offset (w,
+ 				      (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (w)
+ 				       ? RIGHT_MARGIN_AREA
+ 				       : TEXT_AREA));
+       cr.y = row->y;
+       cr.width = WINDOW_RIGHT_FRINGE_WIDTH (w);
+       cr.height = row->height;
+       return x_intersect_rectangles (&cr, r, &result);
+     }
  
    cursor_glyph = get_phys_cursor_glyph (w);
    if (cursor_glyph)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-04-28 11:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26  4:24 [mituharu@math.s.chiba-u.ac.jp: Cursors in fringe not redrawn by expose events.] Richard Stallman
2007-04-26 15:25 ` Kim F. Storm
2007-04-27 19:01   ` Chong Yidong
2007-04-28  4:07     ` Richard Stallman
2007-04-28 11:02       ` YAMAMOTO Mitsuharu
2007-04-28  6:10     ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).