bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[21.2]: dired expects a window with event where a frame may be


From: Marshall, Simon
Subject: [21.2]: dired expects a window with event where a frame may be
Date: Thu, 18 Apr 2002 11:11:47 +0100

In GNU Emacs 21.2.1 (sparc-sun-solaris2.6, GNU/LessTif Version 2.1
Release 0.93.3)
 of 2002-03-21 on ashanti
configured using `configure  --prefix=/rvcarma/marshals/slash/usr/local
--x-includes=/usr/openwin/include:/rvcarma/marshals/slash/usr/local/incl
ude:/rvcarma/marshals/slash/usr/local/include/X11
--x-libraries=/usr/openwin/lib:/rvcarma/marshals/slash/usr/local/lib:/rv
carma/marshals/slash/usr/local/lib/X11 --with-x-toolkit=motif'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_UK
  value of $LC_CTYPE: en_UK
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: en_UK
  value of $LC_NUMERIC: en_UK
  value of $LC_TIME: en_UK
  value of $LANG: en_UK
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

emacs -q
Options/Enter Debugger on Error
C-x d RET
click mouse-2 down on a filename, drag the pointer off the window and
release

This gives:

Debugger entered--Lisp error: (wrong-type-argument window-live-p #<frame
emacs@ashanti 0x4ac400\ >)
  window-buffer(#<frame emacs@ashanti 0x4ac400\ >)
  dired-mouse-find-file-other-window((drag-mouse-2 (#<window 3 on ~> 496
(473 . 122) 4958260) (#<frame emacs@ashanti 0x4ac400\ > nil (706 . 184)
4961034)))
  call-interactively(dired-mouse-find-file-other-window)

This is probably because dired-mouse-find-file-other-window has the
form:

(window-buffer (posn-window (event-end event)))

and event-end returns a frame event, not a window event.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]