all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#3686: 23.1.50; Sticky mouse-face highlighting
@ 2009-06-26  7:59 ` Stephen Berman
  2009-06-27  3:55   ` bug#3686: marked as done (23.1.50; Sticky mouse-face highlighting) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Berman @ 2009-06-26  7:59 UTC (permalink / raw
  To: emacs-pretest-bug

1. Create the file ~/test.el with this content:

(setq diary-display-function 'diary-fancy-display
      diary-number-of-entries 7)

2. Create the file ~/diary with this content:

Jun 26, 2009 10:00 This is a test
Jun 27, 2009 10:00 This is a test
Jun 28, 2009 10:00 This is a test
Jun 29, 2009 10:00 This is a test

3. emacs -Q -l ~/test.el

4. `M-x diary' pops up a fancy diary buffer with this content (line
numbers added for subsequent reference):

1    Friday, June 26, 2009
2    =====================
3    10:00 This is a test
4    
5    Saturday, June 27, 2009
6    =======================
7    10:00 This is a test
8    
9    Sunday, June 28, 2009
10   =====================
11   10:00 This is a test
12   
13   Monday, June 29, 2009
14   =====================
15   10:00 This is a test
16

5. Move the mouse pointer over the fancy diary buffer.
=> As expected, line 3, 7, 11, and 15 have mouse-face highlighting when
   the mouse pointer moves over them.  However, lines 4, 8, and 12 (but
   not 16) also get mouse-face highlighting, and it remains when the
   mouse pointer moves off of those lines.

I suspect this bug is due to this change:

2009-06-22  Chong Yidong  <cyd@stupidchicken.com>

	* w32term.c (x_draw_glyph_string): Use the glyph string's width
	rather than its background_width for drawing the overline and
	underline (Bug#489).

	* xterm.c (x_draw_glyph_string): Use the glyph string's width
	rather than its background_width for drawing the overline and
	underline (Bug#489).
	(xg_default_icon_file): New variable.
	(syms_of_xterm): Initialize it to the Emacs SVG icon file.
	(x_bitmap_icon): Under GTK, use xg_default_icon_file.

	* xdisp.c (Qbefore_string, Qafter_string): Add externs.
	(load_overlay_strings): Remove externs.
	(fast_find_position): Function deleted.
	(mouse_face_from_buffer_pos): New function, based on
	fast_find_position.  Correctly handle before-strings,
	display-strings, and after-strings (Bug#1220).
	(note_mouse_highlight): Use mouse_face_from_buffer_pos.

since it does not happen with my previous build before this change, but
I don't have time right now to confirm this by reverting the change.


In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-06-23 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
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: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t





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

* bug#3686: marked as done (23.1.50; Sticky mouse-face highlighting)
  2009-06-26  7:59 ` bug#3686: 23.1.50; Sticky mouse-face highlighting Stephen Berman
@ 2009-06-27  3:55   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-06-27  3:55 UTC (permalink / raw
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]


Your message dated Fri, 26 Jun 2009 23:50:54 -0400
with message-id <87hby29vxd.fsf@stupidchicken.com>
and subject line 23.1.50; Sticky mouse-face highlighting
has caused the Emacs bug report #3686,
regarding 23.1.50; Sticky mouse-face highlighting
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
3686: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3686
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4907 bytes --]

From: Stephen Berman <stephen.berman@gmx.net>
To: emacs-pretest-bug@gnu.org
Subject: 23.1.50; Sticky mouse-face highlighting
Date: Fri, 26 Jun 2009 09:59:54 +0200
Message-ID: <87d48rqvb9.fsf@escher.local.home>

1. Create the file ~/test.el with this content:

(setq diary-display-function 'diary-fancy-display
      diary-number-of-entries 7)

2. Create the file ~/diary with this content:

Jun 26, 2009 10:00 This is a test
Jun 27, 2009 10:00 This is a test
Jun 28, 2009 10:00 This is a test
Jun 29, 2009 10:00 This is a test

3. emacs -Q -l ~/test.el

4. `M-x diary' pops up a fancy diary buffer with this content (line
numbers added for subsequent reference):

1    Friday, June 26, 2009
2    =====================
3    10:00 This is a test
4    
5    Saturday, June 27, 2009
6    =======================
7    10:00 This is a test
8    
9    Sunday, June 28, 2009
10   =====================
11   10:00 This is a test
12   
13   Monday, June 29, 2009
14   =====================
15   10:00 This is a test
16

5. Move the mouse pointer over the fancy diary buffer.
=> As expected, line 3, 7, 11, and 15 have mouse-face highlighting when
   the mouse pointer moves over them.  However, lines 4, 8, and 12 (but
   not 16) also get mouse-face highlighting, and it remains when the
   mouse pointer moves off of those lines.

I suspect this bug is due to this change:

2009-06-22  Chong Yidong  <cyd@stupidchicken.com>

	* w32term.c (x_draw_glyph_string): Use the glyph string's width
	rather than its background_width for drawing the overline and
	underline (Bug#489).

	* xterm.c (x_draw_glyph_string): Use the glyph string's width
	rather than its background_width for drawing the overline and
	underline (Bug#489).
	(xg_default_icon_file): New variable.
	(syms_of_xterm): Initialize it to the Emacs SVG icon file.
	(x_bitmap_icon): Under GTK, use xg_default_icon_file.

	* xdisp.c (Qbefore_string, Qafter_string): Add externs.
	(load_overlay_strings): Remove externs.
	(fast_find_position): Function deleted.
	(mouse_face_from_buffer_pos): New function, based on
	fast_find_position.  Correctly handle before-strings,
	display-strings, and after-strings (Bug#1220).
	(note_mouse_highlight): Use mouse_face_from_buffer_pos.

since it does not happen with my previous build before this change, but
I don't have time right now to confirm this by reverting the change.


In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-06-23 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
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: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t


[-- Attachment #3: Type: message/rfc822, Size: 1474 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 3686-done@emacsbugs.donarmstrong.com
Subject: 23.1.50; Sticky mouse-face highlighting
Date: Fri, 26 Jun 2009 23:50:54 -0400
Message-ID: <87hby29vxd.fsf@stupidchicken.com>

I've checked in a fix.  Thanks for reporting this bug.

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

end of thread, other threads:[~2009-06-27  3:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87hby29vxd.fsf@stupidchicken.com>
2009-06-26  7:59 ` bug#3686: 23.1.50; Sticky mouse-face highlighting Stephen Berman
2009-06-27  3:55   ` bug#3686: marked as done (23.1.50; Sticky mouse-face highlighting) Emacs bug Tracking System

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.