* Re: mouse cursor and iso-accents-mode
[not found] <OF9C692CFD.E107510A-ON85256C9F.004E3197-85256C9F.004F4431@ftid.com>
@ 2002-12-31 5:48 ` Richard Stallman
2003-01-20 19:19 ` Jan D.
0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2002-12-31 5:48 UTC (permalink / raw)
Cc: John.Tobey
No, running with "-q" and renaming .emacs do not solve it. I also tried
cleaning out my X resources with "xrdb </dev/null" and got the same result.
I hope that someone who can observe this problem will decide to
debug it and track down the actual cause.
======================================================================
Start emacs as an X window and enter iso-accents-mode. Whenever you
type a composite character, for example `" SPC' for the `"' character,
the mouse cursor becomes the wristwatch shape and the usual mouse
functions cease to work. Everything reverts to normal at the next RET
or C-SPC or C-p or certain other actions. Normal typing of text,
however, does not cause the mouse to resume functioning.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mouse cursor and iso-accents-mode
2002-12-31 5:48 ` mouse cursor and iso-accents-mode Richard Stallman
@ 2003-01-20 19:19 ` Jan D.
2003-02-23 21:50 ` Jan D.
0 siblings, 1 reply; 4+ messages in thread
From: Jan D. @ 2003-01-20 19:19 UTC (permalink / raw)
Cc: emacs-devel
> No, running with "-q" and renaming .emacs do not solve it. I also
> tried
> cleaning out my X resources with "xrdb </dev/null" and got the same
> result.
>
> I hope that someone who can observe this problem will decide to
> debug it and track down the actual cause.
>
> ======================================================================
> Start emacs as an X window and enter iso-accents-mode. Whenever you
> type a composite character, for example `" SPC' for the `"' character,
> the mouse cursor becomes the wristwatch shape and the usual mouse
> functions cease to work. Everything reverts to normal at the next RET
> or C-SPC or C-p or certain other actions. Normal typing of text,
> however, does not cause the mouse to resume functioning.
This happens every time on the RC branch and 21.2, but not at all in CVS
HEAD. I haven't found yet how to fix this in RC, but I'm looking.
Jan D.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mouse cursor and iso-accents-mode
2003-01-20 19:19 ` Jan D.
@ 2003-02-23 21:50 ` Jan D.
2003-02-23 21:52 ` Jan D.
0 siblings, 1 reply; 4+ messages in thread
From: Jan D. @ 2003-02-23 21:50 UTC (permalink / raw)
Cc: emacs-devel
Jan D. wrote:
>> No, running with "-q" and renaming .emacs do not solve it. I also
>> tried
>> cleaning out my X resources with "xrdb </dev/null" and got the
>> same result.
>>
>> I hope that someone who can observe this problem will decide to
>> debug it and track down the actual cause.
>>
>> ======================================================================
>> Start emacs as an X window and enter iso-accents-mode. Whenever you
>> type a composite character, for example `" SPC' for the `"'
>> character,
>> the mouse cursor becomes the wristwatch shape and the usual mouse
>> functions cease to work. Everything reverts to normal at the next
>> RET
>> or C-SPC or C-p or certain other actions. Normal typing of text,
>> however, does not cause the mouse to resume functioning.
>
>
> This happens every time on the RC branch and 21.2, but not at all in CVS
> HEAD. I haven't found yet how to fix this in RC, but I'm looking.
>
In CVS head there is this:
#if 0
#ifdef HAVE_WINDOW_SYSTEM
if (display_hourglass_p)
start_hourglass ();
#endif
#endif
i.e. this makes the hourglass never to be shown. In RC, the code is not
surrounded by the same #if 0/#endif.
The changes occured here:
2002-03-04 Pavel Janík <Pavel@Janik.cz>
* lread.c (read_filtered_event): Do not call start_hourglass
before returning.
Do you remember the reason for this change? Should we delete the code? What
are the risks of putting the same fix in RC?
I see unwanted hourglass in RC in other situations as well, for example opening
a file, modify it but don't save, open the file with emacsclient and when Emacs
asks, "Revert buffer from file ...", then say yes. After that the hourglass
appears, and has to be removed by C-g. I have a fix for that, but I am not
sure this is RC material (although at work, we have this program that uses
Eamcs and emacsclient so I see this bug *alot* :-), I need some opinion on
that. I am checking the fix into the trunk.
Thanks,
Jan D.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mouse cursor and iso-accents-mode
2003-02-23 21:50 ` Jan D.
@ 2003-02-23 21:52 ` Jan D.
0 siblings, 0 replies; 4+ messages in thread
From: Jan D. @ 2003-02-23 21:52 UTC (permalink / raw)
Cc: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 590 bytes --]
Jan D. wrote:
> I see unwanted hourglass in RC in other situations as well, for example
> opening a file, modify it but don't save, open the file with emacsclient
> and when Emacs asks, "Revert buffer from file ...", then say yes. After
> that the hourglass appears, and has to be removed by C-g. I have a fix
> for that, but I am not sure this is RC material (although at work, we
> have this program that uses Eamcs and emacsclient so I see this bug
> *alot* :-), I need some opinion on that. I am checking the fix into the
> trunk.
>
Forgot the patch, here it is.
Jan D.
[-- Attachment #2: emacsRC.diff --]
[-- Type: text/plain, Size: 2001 bytes --]
Index: keyboard.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/keyboard.c,v
retrieving revision 1.626.4.4
diff -c -r1.626.4.4 keyboard.c
*** keyboard.c 29 Sep 2002 17:50:27 -0000 1.626.4.4
--- keyboard.c 23 Feb 2003 21:51:33 -0000
***************
*** 1309,1314 ****
--- 1309,1323 ----
void safe_run_hooks P_ ((Lisp_Object));
static void adjust_point_for_property P_ ((int));
+ /* Cancel hourglass from protect_unwind.
+ ARG is not used. */
+ static Lisp_Object
+ cancel_hourglass_unwind (arg)
+ Lisp_Object arg;
+ {
+ cancel_hourglass ();
+ }
+
Lisp_Object
command_loop_1 ()
{
***************
*** 1632,1652 ****
}
/* Here for a command that isn't executed directly */
!
#ifdef HAVE_X_WINDOWS
! if (display_hourglass_p)
! start_hourglass ();
#endif
! nonundocount = 0;
! if (NILP (current_kboard->Vprefix_arg))
! Fundo_boundary ();
! Fcommand_execute (Vthis_command, Qnil, Qnil, Qnil);
#ifdef HAVE_X_WINDOWS
! if (display_hourglass_p)
! cancel_hourglass ();
#endif
}
directly_done: ;
current_kboard->Vlast_prefix_arg = Vcurrent_prefix_arg;
--- 1641,1668 ----
}
/* Here for a command that isn't executed directly */
!
! {
#ifdef HAVE_X_WINDOWS
! int scount = specpdl_ptr - specpdl;
!
! if (display_hourglass_p)
! {
! record_unwind_protect (cancel_hourglass_unwind, Qnil);
! start_hourglass ();
! }
#endif
! nonundocount = 0;
! if (NILP (current_kboard->Vprefix_arg))
! Fundo_boundary ();
! Fcommand_execute (Vthis_command, Qnil, Qnil, Qnil);
#ifdef HAVE_X_WINDOWS
! if (display_hourglass_p)
! unbind_to (scount, Qnil);
#endif
+ }
}
directly_done: ;
current_kboard->Vlast_prefix_arg = Vcurrent_prefix_arg;
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-02-23 21:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <OF9C692CFD.E107510A-ON85256C9F.004E3197-85256C9F.004F4431@ftid.com>
2002-12-31 5:48 ` mouse cursor and iso-accents-mode Richard Stallman
2003-01-20 19:19 ` Jan D.
2003-02-23 21:50 ` Jan D.
2003-02-23 21:52 ` Jan D.
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.