From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Keegan Carruthers-Smith" Newsgroups: gmane.emacs.bugs Subject: bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC Date: Sat, 9 Aug 2008 12:39:51 +0200 Message-ID: <6d7c2a160808090339m2d2f5561heacbdd2f2c81acfc@mail.gmail.com> References: <489ACBB1.30805@gmx.at> <6d7c2a160808081639w5de5d8d9ob2d1769eadec1af@mail.gmail.com> <489D67AD.20807@gmx.at> <6d7c2a160808090327k54093873ha744ea3f12959789@mail.gmail.com> Reply-To: Keegan Carruthers-Smith , 466@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218278875 27742 80.91.229.12 (9 Aug 2008 10:47:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Aug 2008 10:47:55 +0000 (UTC) To: 466@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 09 12:48:46 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KRlzv-0001Bn-Rw for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Aug 2008 12:48:36 +0200 Original-Received: from localhost ([127.0.0.1]:43965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRlz0-0004Lo-2Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Aug 2008 06:47:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRlyq-0004Ko-Lf for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 06:47:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRlyo-0004Hx-Di for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 06:47:27 -0400 Original-Received: from [199.232.76.173] (port=57584 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRlyo-0004Hi-1v for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 06:47:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60360) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRlyn-0001Qg-MM for bug-gnu-emacs@gnu.org; Sat, 09 Aug 2008 06:47:25 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m79AlNJY001047; Sat, 9 Aug 2008 03:47:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m79Aj3sh032287; Sat, 9 Aug 2008 03:45:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Keegan Carruthers-Smith" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 09 Aug 2008 10:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 466 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 466-submit@emacsbugs.donarmstrong.com id=B466.121827839730764 (code B ref 466); Sat, 09 Aug 2008 10:45:03 +0000 Original-Received: (at 466) by emacsbugs.donarmstrong.com; 9 Aug 2008 10:39:57 +0000 Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m79Adq7X030758 for <466@emacsbugs.donarmstrong.com>; Sat, 9 Aug 2008 03:39:54 -0700 Original-Received: by fk-out-0910.google.com with SMTP id f40so1121698fka.1 for <466@emacsbugs.donarmstrong.com>; Sat, 09 Aug 2008 03:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=QaGaDItVZu+IuCyLhSFOGYLErD9EOey19fidPrpTcyI=; b=snvlGE/onKmas3qXucVYXOvCwkt6bPkI8v2i6y+vJ2CPTiGRD73l8Z4wrcVN+Rlal8 Sq9qytxbUNzKu8Vk3cP9hImUoybmvcKhXWOMSqVAZ0vXSshT6QPzof7FxXLhH7XKVxjB fMVg+cOuAgQZj/7I7hyCgjQBj5KdLIVDw0evs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NhxY5J+Td/u4SP62AmEzDts/bws5WH4cGx1CD2zSdYZ3+jouE70EApgbVUGQ+xaWmg nRvX9db+BzE/fSe/cz/c6hdaHusc1FK6ENDmbgYiQ3TLwN6ioBFnK/hZQerHM6wo0MDx Pg2eRahkdA7HdUE1NBm91SGTIvvTUS3kFkwp8= Original-Received: by 10.187.198.8 with SMTP id a8mr228702faq.78.1218278391870; Sat, 09 Aug 2008 03:39:51 -0700 (PDT) Original-Received: by 10.187.215.18 with HTTP; Sat, 9 Aug 2008 03:39:51 -0700 (PDT) In-Reply-To: <6d7c2a160808090327k54093873ha744ea3f12959789@mail.gmail.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 09 Aug 2008 06:47:27 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19182 Archived-At: Hey, I don't have window-move.el, it's defined in windmove.el Also, when i was debugging i had the ERC buffer running in the bottom left corner. When I run debug on windmove-find-other-window it doesnt give me any output, but does take me to line 468 in windmove.el. The line is (let* ((actual-current-window (or window (selected-window))) in the function windmove-find-other-window If i do the debug on windmove-right, nothing happens I may be doing something wrong because I have never debugged lisp code before, so could be doing it totally wrong. I am a programmer though in C++, haskell, python and java though, so I do understand the concepts behind debugging lisp. I'll read the info pages on edebug sometime so I can maybe investigate the problem as well. On Sat, Aug 9, 2008 at 11:47 AM, martin rudalics wrote: >> Hey, >> I ran edebug-eval-expression on (windmove-left) and got >> call-interactively: Symbol's value as variable is void: >> edebug-outside-windows >> >> Hope this helps > > Not really. Please try the following. In a one-window frame do > > C-x 2 C-x o C-x 3 > > that is your frame should appear as follows: > > ----- > | | > |-----| > | | | > ----- > > In the lower right window display the ERC buffer, in the lower left > window the buffer you want to move to. Next display window-move.el in > the top window, move point to the definition of > `windmove-find-other-window' and type C-u C-M-x to "instrument that > function for debugging". > > Finally, go to the ERC window, and call `window-left'. edebug should > now redirect focus to the upper window and you can type SPACE to step > through `windmove-find-other-window'. If possible, do the same for a > non-ERC buffer in the lower right window too to tell where executions > differ. > > Thanks, martin >