all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Keegan Carruthers-Smith" <keegan.csmith@gmail.com>
To: 466@emacsbugs.donarmstrong.com
Subject: bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC
Date: Sat, 9 Aug 2008 12:39:51 +0200	[thread overview]
Message-ID: <6d7c2a160808090339m2d2f5561heacbdd2f2c81acfc@mail.gmail.com> (raw)
In-Reply-To: <6d7c2a160808090327k54093873ha744ea3f12959789@mail.gmail.com>

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 <rudalics@gmx.at> 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
>






  parent reply	other threads:[~2008-08-09 10:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07 10:17 bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC martin rudalics
2008-08-08 23:39 ` Keegan Carruthers-Smith
2008-08-09  9:47   ` martin rudalics
     [not found]     ` <6d7c2a160808090327k54093873ha744ea3f12959789@mail.gmail.com>
2008-08-09 10:39       ` Keegan Carruthers-Smith [this message]
2008-08-09 10:57         ` OFFICE ZERO
     [not found]           ` <handler.466.B466.12182794274029.ackinfo@emacsbugs.donarmstrong.com>
2008-08-09 12:13             ` bug#466: Info received (bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC) OFFICE ZERO
     [not found]               ` <handler.466.B466.121828401827815.ackinfo@emacsbugs.donarmstrong.com>
2008-08-09 13:17                 ` bug#466: Info received (bug#466: Info received (bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC)) OFFICE ZERO
2008-08-09 14:14         ` bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC OFFICE ZERO
2008-08-09 14:18         ` OFFICE ZERO
2008-08-09 10:57     ` OFFICE ZERO
     [not found]       ` <handler.466.B466.12182794524036.ackinfo@emacsbugs.donarmstrong.com>
2008-08-09 12:13         ` bug#466: Info received (bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC) OFFICE ZERO
     [not found]           ` <handler.466.B466.121828401127808.ackinfo@emacsbugs.donarmstrong.com>
2008-08-09 13:17             ` bug#466: Info received (bug#466: Info received (bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC)) OFFICE ZERO
     [not found]               ` <handler.466.B466.121828786315185.ackinfo@emacsbugs.donarmstrong.com>
2008-08-09 13:51                 ` bug#466: Info received (bug#466: Info received (bug#466: Info received (bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC))) OFFICE ZERO
     [not found]                   ` <handler.466.B466.121828988025762.ackinfo@emacsbugs.donarmstrong.com>
2008-08-09 14:27                     ` bug#466: Info received (bug#466: Info received (bug#466: Info received (bug#466: Info received (bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC)))) OFFICE ZERO
2008-08-09 14:14     ` bug#466: 23.0.60; windmove.el doesnt not always switch windows in ERC OFFICE ZERO
2008-08-09 14:18     ` OFFICE ZERO
2011-09-11 17:09     ` Lars Magne Ingebrigtsen
2008-08-09 14:13   ` OFFICE ZERO
  -- strict thread matches above, loose matches on Subject: below --
2008-06-23  1:14 Keegan Carruthers-Smith

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6d7c2a160808090339m2d2f5561heacbdd2f2c81acfc@mail.gmail.com \
    --to=keegan.csmith@gmail.com \
    --cc=466@emacsbugs.donarmstrong.com \
    /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 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.