From: Christopher Schmidt <ch@ristopher.com>
To: 17588@debbugs.gnu.org
Subject: bug#17588: 24.3.91; mouse-face glitchy
Date: Wed, 28 May 2014 08:27:57 -0400 (EDT) [thread overview]
Message-ID: <87sinu2ilw@ristopher.com> (raw)
In-Reply-To: <83lhtni4xv.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 27 May 2014 19:04:12 +0300")
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
Thanks a lot for your help.
> Can you see if clear_mouse_face is ever called from any other place,
> when the highlighting isn't cleared when you move the mouse pointer to
> another line of text in the same window? If there _are_ any other
> places from which clear_mouse_face is called, could you please show
> the full contents of the hlinfo struct when it arrives in
> clear_mouse_face in those other call sequences?
[-- Attachment #2: backtrace1 --]
[-- Type: application/octet-stream, Size: 4533 bytes --]
u(gdb) bt
#0 clear_mouse_face (hlinfo=hlinfo@entry=0x1394780)
at xdisp.c:27495
#1 0x0000000000457fef in note_mouse_highlight (
f=f@entry=0x1129898, x=494, y=378) at xdisp.c:28812
#2 0x00000000004b4b86 in note_mouse_movement (
frame=frame@entry=0x1129898,
event=event@entry=0x7fffffffda70) at xterm.c:3887
#3 0x00000000004bcb09 in handle_one_xevent (
dpyinfo=dpyinfo@entry=0x13946e0,
event=event@entry=0x7fffffffda70,
finish=finish@entry=0xb071e0, hold_quit=0x7fffffffdc90)
at xterm.c:6644
#4 0x00000000004be320 in event_handler_gdk (
gxev=0x7fffffffda70, ev=<optimized out>,
data=<optimized out>) at xterm.c:5720
#5 0x00007ffff65cca2a in ?? ()
from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#6 0x00007ffff65ce6f6 in ?? ()
from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#7 0x00007ffff65ce77e in ?? ()
from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#8 0x00007ffff4a89355 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007ffff4a89688 in ?? ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff4a89744 in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff69609a1 in gtk_main_iteration ()
from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00000000004b6d82 in XTread_socket (
terminal=<optimized out>, hold_quit=0x7fffffffdc90)
at xterm.c:7013
#13 0x00000000004e8be1 in gobble_input () at keyboard.c:6849
#14 0x00000000004e8605 in handle_async_input ()
at keyboard.c:7089
#15 process_pending_signals () at keyboard.c:7103
#16 0x0000000000538bba in Fmake_list (length=<optimized out>,
init=12026738) at alloc.c:2637
#17 0x0000000000557b65 in concat (nargs=nargs@entry=1,
args=args@entry=0x7fffffffde08, target_type=Lisp_Cons,
last_special=last_special@entry=false) at fns.c:588
#18 0x0000000000558170 in Fcopy_sequence (arg=19393078)
at fns.c:456
#19 0x00000000004e731f in timer_check () at keyboard.c:4567
#20 0x00000000004e7879 in readable_events (flags=1)
at keyboard.c:3447
#21 0x00000000004e8cd8 in get_input_pending (
flags=flags@entry=1) at keyboard.c:6764
#22 0x00000000004ebb9c in detect_input_pending_run_timers (
do_display=do_display@entry=true) at keyboard.c:9892
#23 0x0000000000590c6f in wait_reading_process_output (
time_limit=time_limit@entry=30, nsecs=nsecs@entry=0,
read_kbd=read_kbd@entry=-1,
do_display=do_display@entry=true, wait_for_cell=12026738,
wait_proc=wait_proc@entry=0x0, just_wait_proc=0)
at process.c:4699
#24 0x000000000041f363 in sit_for (timeout=<optimized out>,
reading=reading@entry=true,
display_option=display_option@entry=1) at dispnew.c:5805
#25 0x00000000004eca63 in read_char (commandflag=1,
map=map@entry=19194998, prev_event=12026738,
used_mouse_menu=used_mouse_menu@entry=0x7fffffffe58b,
end_time=end_time@entry=0x0) at keyboard.c:2809
#26 0x00000000004edc75 in read_key_sequence (
keybuf=keybuf@entry=0x7fffffffe660, prompt=12026738,
dont_downcase_last=dont_downcase_last@entry=false,
can_return_switch_frame=can_return_switch_frame@entry=true,
fix_current_buffer=fix_current_buffer@entry=true,
prevent_redisplay=prevent_redisplay@entry=false, bufsize=30)
at keyboard.c:9087
#27 0x00000000004ef950 in command_loop_1 () at keyboard.c:1452
#28 0x0000000000550977 in internal_condition_case (
bfun=bfun@entry=0x4ef760 <command_loop_1>,
handlers=<optimized out>,
hfun=hfun@entry=0x4e6bf0 <cmd_error>) at eval.c:1354
#29 0x00000000004e234e in command_loop_2 (
ignore=ignore@entry=12026738) at keyboard.c:1177
#30 0x000000000055085b in internal_catch (tag=12073890,
func=func@entry=0x4e2330 <command_loop_2>, arg=12026738)
at eval.c:1118
#31 0x00000000004e6807 in command_loop () at keyboard.c:1156
#32 recursive_edit_1 () at keyboard.c:777
#33 0x00000000004e6b20 in Frecursive_edit () at keyboard.c:848
#34 0x0000000000415ab9 in main (argc=0, argv=0x7fffffffe9a8)
at emacs.c:1646
(gdb) p *hlinfo
$1 = {mouse_face_beg_row = -1, mouse_face_beg_col = -1,
mouse_face_beg_x = 0, mouse_face_end_row = -1,
mouse_face_end_col = -1, mouse_face_end_x = 0,
mouse_face_window = 12026738, mouse_face_face_id = 0,
mouse_face_overlay = 12026738,
mouse_face_mouse_frame = 0x1129898, mouse_face_mouse_x = 494,
mouse_face_mouse_y = 378, mouse_face_past_end = false,
mouse_face_defer = false, mouse_face_hidden = false}
(gdb) p NILP (hlinfo->mouse_face_window)
$2 = true
[-- Attachment #3: backtrace2 --]
[-- Type: application/octet-stream, Size: 2799 bytes --]
(gdb) bt
#0 clear_mouse_face (hlinfo=hlinfo@entry=0x1394780)
at xdisp.c:27495
#1 0x0000000000457fef in note_mouse_highlight (f=0x1129898,
x=62, y=468) at xdisp.c:28812
#2 0x00000000004b4af1 in XTframe_up_to_date (f=<optimized out>)
at xterm.c:628
#3 0x000000000044c480 in redisplay_internal () at xdisp.c:13866
#4 0x000000000044e0d0 in redisplay_preserve_echo_area (
from_where=from_where@entry=8) at xdisp.c:14058
#5 0x00000000004ebbb3 in detect_input_pending_run_timers (
do_display=do_display@entry=true) at keyboard.c:9895
#6 0x0000000000590c6f in wait_reading_process_output (
time_limit=time_limit@entry=30, nsecs=nsecs@entry=0,
read_kbd=read_kbd@entry=-1,
do_display=do_display@entry=true, wait_for_cell=12026738,
wait_proc=wait_proc@entry=0x0, just_wait_proc=0)
at process.c:4699
#7 0x000000000041f363 in sit_for (timeout=<optimized out>,
reading=reading@entry=true,
display_option=display_option@entry=1) at dispnew.c:5805
#8 0x00000000004eca63 in read_char (commandflag=1,
map=map@entry=19194998, prev_event=12026738,
used_mouse_menu=used_mouse_menu@entry=0x7fffffffe58b,
end_time=end_time@entry=0x0) at keyboard.c:2809
#9 0x00000000004edc75 in read_key_sequence (
keybuf=keybuf@entry=0x7fffffffe660, prompt=12026738,
dont_downcase_last=dont_downcase_last@entry=false,
can_return_switch_frame=can_return_switch_frame@entry=true,
fix_current_buffer=fix_current_buffer@entry=true,
prevent_redisplay=prevent_redisplay@entry=false, bufsize=30)
at keyboard.c:9087
#10 0x00000000004ef950 in command_loop_1 () at keyboard.c:1452
#11 0x0000000000550977 in internal_condition_case (
bfun=bfun@entry=0x4ef760 <command_loop_1>,
handlers=<optimized out>,
hfun=hfun@entry=0x4e6bf0 <cmd_error>) at eval.c:1354
#12 0x00000000004e234e in command_loop_2 (
ignore=ignore@entry=12026738) at keyboard.c:1177
#13 0x000000000055085b in internal_catch (tag=12073890,
func=func@entry=0x4e2330 <command_loop_2>, arg=12026738)
at eval.c:1118
#14 0x00000000004e6807 in command_loop () at keyboard.c:1156
#15 recursive_edit_1 () at keyboard.c:777
#16 0x00000000004e6b20 in Frecursive_edit () at keyboard.c:848
#17 0x0000000000415ab9 in main (argc=0, argv=0x7fffffffe9a8)
at emacs.c:1646
(gdb) p *hlinfo
$3 = {mouse_face_beg_row = -1, mouse_face_beg_col = -1,
mouse_face_beg_x = 0, mouse_face_end_row = -1,
mouse_face_end_col = -1, mouse_face_end_x = 0,
mouse_face_window = 12026738, mouse_face_face_id = 0,
mouse_face_overlay = 12026738,
mouse_face_mouse_frame = 0x1129898, mouse_face_mouse_x = 62,
mouse_face_mouse_y = 468, mouse_face_past_end = false,
mouse_face_defer = false, mouse_face_hidden = false}
(gdb) p NILP( hlinfo->mouse_face_window)
$4 = true
next prev parent reply other threads:[~2014-05-28 12:27 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-25 19:04 bug#17588: 24.3.91; mouse-face glitchy Christopher Schmidt
2014-05-25 19:25 ` Eli Zaretskii
2014-05-25 20:04 ` Christopher Schmidt
2014-05-26 2:38 ` Eli Zaretskii
2014-05-26 8:35 ` Christopher Schmidt
2014-05-26 15:37 ` Eli Zaretskii
2014-05-26 20:17 ` Christopher Schmidt
2014-05-27 2:40 ` Eli Zaretskii
2014-05-27 7:21 ` Christopher Schmidt
2014-05-27 16:04 ` Eli Zaretskii
2014-05-27 17:09 ` Michael Heerdegen
2014-05-28 12:27 ` Christopher Schmidt [this message]
2014-05-28 18:39 ` Eli Zaretskii
2014-05-28 20:15 ` Christopher Schmidt
2014-05-29 15:56 ` Eli Zaretskii
2014-05-29 16:14 ` Christopher Schmidt
2014-05-29 16:49 ` Eli Zaretskii
2014-05-29 16:51 ` Eli Zaretskii
2014-05-26 20:45 ` Michael Heerdegen
2014-05-26 21:17 ` Michael Heerdegen
2014-05-27 2:42 ` Eli Zaretskii
2014-05-27 13:09 ` martin rudalics
2014-05-27 15:33 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sinu2ilw@ristopher.com \
--to=ch@ristopher.com \
--cc=17588@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).