Hi -
regarding this error:
On 29 Apr 2005, at 02:55, YAMAMOTO Mitsuharu wrote:
Furthermore, I often get a "mouse-sel-selection-overlay: No overlay corresponding to CLIPBOARD selection" error when I try close a frame with the mouse (the window closer). The frame stays up. Not sure where that is coming from. The message appears in a different window (than the one displayed in the frame to be closed), and it seems to only occur with some frames and is not tied to their mode / buffer / dedicated-ness.
Does the following patch solve the above problem?
(Below for your reference)
this patch DOES NOT solve the problem, unfortunately. The call stack when the error occured:
Debugger entered--Lisp error: (error "No overlay corresponding to CLIPBOARD selection")
signal(error ("No overlay corresponding to CLIPBOARD selection"))
error("No overlay corresponding to %s selection" CLIPBOARD)
mouse-sel-selection-overlay(CLIPBOARD)
mouse-sel-lost-selection-hook(CLIPBOARD)
delete-frame(#<frame Emacs - mac-modifier-keys.new2.patch 0x13d1460> t)
handle-delete-frame((delete-frame (#<frame Emacs - mac-modifier-keys.new2.patch 0x13d1460>)))
call-interactively(handle-delete-frame)
read-file-name("Find file: " nil "/Users/dr/Projects/emacs/src/" nil)
find-file-read-args("Find file: " nil)
call-interactively(find-file)
Cheers David
Index: src/macselect.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/macselect.c,v retrieving revision 1.2 diff -c -r1.2 macselect.c *** src/macselect.c 25 Apr 2005 01:46:56 -0000 1.2 --- src/macselect.c 29 Apr 2005 01:50:33 -0000 *************** *** 622,628 **** hooks = Vx_lost_selection_functions; selection_symbol = Fcar (Fcar (Vselection_alist));
! if (!EQ (hooks, Qunbound)) { for (; CONSP (hooks); hooks = Fcdr (hooks)) call1 (Fcar (hooks), selection_symbol); --- 622,629 ---- hooks = Vx_lost_selection_functions; selection_symbol = Fcar (Fcar (Vselection_alist));
! if (!EQ (hooks, Qunbound) ! && !NILP (Fx_selection_owner_p (selection_symbol))) { for (; CONSP (hooks); hooks = Fcdr (hooks)) call1 (Fcar (hooks), selection_symbol); *************** *** 646,652 **** hooks = Vx_lost_selection_functions; selection_symbol = Fcar (Fcar (XCDR (rest)));
! if (!EQ (hooks, Qunbound)) { for (; CONSP (hooks); hooks = Fcdr (hooks)) call1 (Fcar (hooks), selection_symbol); --- 647,654 ---- hooks = Vx_lost_selection_functions; selection_symbol = Fcar (Fcar (XCDR (rest)));
! if (!EQ (hooks, Qunbound) ! && !NILP (Fx_selection_owner_p (selection_symbol))) { for (; CONSP (hooks); hooks = Fcdr (hooks)) call1 (Fcar (hooks), selection_symbol);
_______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
