GNU bug report logs - #466
23.0.60; windmove.el doesnt not always switch windows in ERC

Previous Next

Package: emacs;

Reported by: Keegan Carruthers-Smith <keegan.csmith <at> gmail.com>

Date: Mon, 23 Jun 2008 01:25:05 UTC

Severity: normal

Tags: moreinfo

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 466 in the body.
You can then email your comments to 466 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#466; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Keegan Carruthers-Smith <keegan.csmith <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Keegan Carruthers-Smith <keegan.csmith <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; windmove.el doesnt not always switch windows in ERC
Date: Mon, 23 Jun 2008 03:14:08 +0200
When I am in an ERC buffer which is "touching" the bottom of my emacs session
I can't switch to windows to the left or right. (ie the only window below it
is the mini-buffer and the input prompt is at the bottom. Screenshot:
http://people.cs.uct.ac.za/~smtkee002/windmoveproblem.jpg ). I have tested in
other modes and this problem does not happen. C-x o still works.


In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2008-06-17 on zero
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--without-carbon' '--without-sound' '--with-x' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--enable-font-backend' '--with-freetype' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=pentium3 -pipe''

Important settings:
  value of $LC_ALL: en_US.utf8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: ERC

Minor modes in effect:
  shell-dirtrack-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-button-mode: t
  display-time-mode: t
  show-paren-mode: t
  erc-truncate-mode: t
  erc-spelling-mode: t
  flyspell-mode: t
  erc-netsplit-mode: t
  erc-ring-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  erc-scrolltobottom-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<up> <up> <up> C-x k <return> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<up> <up> <right> <right> <return> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> ] 
] <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> M-x r e p o <tab> r <tab> <return> w 
i n d m o v e SPC d o e s SPC n o t SPC a l w a y s 
SPC n a v i a g e <backspace> <backspace> <backspace> 
g a t e SPC p r o p e r l y <backspace> <backspace> 
<backspace> <backspace> e r l y <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
s w i t c h SPC w i n d o w s <return> <down> <next> 
<up> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> C-x k <return> 
C-x k <return> C-x b C-g <S-right> <S-right> C-x b 
C-g C-x o C-x b o t <backspace> r g SPC a <return> 
<S-left> <S-right> M-x r e p o <tab> r <tab> <retu
rn>

Recent messages:
Making completion list...
Quit [2 times]
Note: file is write protected
View mode: type C-h for help, h for commands, q to quit.
Mark saved where search started
call-interactively: Beginning of buffer [9 times]
bunzip2ing emacs-6.info.bz2...done
Making completion list...
Quit [2 times]
Making completion list...




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#466; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 466 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: 466 <at> debbugs.gnu.org
Cc: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: Re: windmove.el doesnt not always switch windows in ERC
Date: Wed, 06 Aug 2008 09:37:43 +0200
> When I am in an ERC buffer which is "touching" the bottom of my emacs session
> I can't switch to windows to the left or right. (ie the only window below it
> is the mini-buffer and the input prompt is at the bottom. Screenshot:
> http://people.cs.uct.ac.za/~smtkee002/windmoveproblem.jpg ). I have tested in
> other modes and this problem does not happen. C-x o still works.

I can't reproduce the behavior you describe here.  Could you try to
edebug `windmove-find-other-window' to find out what happens?

Thanks in advance, martin.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#466; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 466 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: 466 <at> debbugs.gnu.org
Cc: keegan.csmith <at> gmail.com
Subject: Re: 23.0.60; windmove.el doesnt not always switch windows in ERC
Date: Thu, 07 Aug 2008 12:17:21 +0200
Sorry, I apparently mangled the mail header.  Resending:

> When I am in an ERC buffer which is "touching" the bottom of my emacs session
> I can't switch to windows to the left or right. (ie the only window below it
> is the mini-buffer and the input prompt is at the bottom. Screenshot:
> http://people.cs.uct.ac.za/~smtkee002/windmoveproblem.jpg ). I have tested in
> other modes and this problem does not happen. C-x o still works.

I can't reproduce the behavior you describe here.  Could you try to
edebug `windmove-find-other-window' to find out what happens?

Thanks in advance, martin.







Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#466; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Keegan Carruthers-Smith" <keegan.csmith <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at 466 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Keegan Carruthers-Smith" <keegan.csmith <at> gmail.com>
To: "martin rudalics" <rudalics <at> gmx.at>
Cc: 466 <at> debbugs.gnu.org
Subject: Re: 23.0.60; windmove.el doesnt not always switch windows in ERC
Date: Sat, 9 Aug 2008 01:39:48 +0200
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

Cheers,
  Keegan

On Thu, Aug 7, 2008 at 12:17 PM, martin rudalics <rudalics <at> gmx.at> wrote:
> Sorry, I apparently mangled the mail header.  Resending:
>
>> When I am in an ERC buffer which is "touching" the bottom of my emacs
>> session
>> I can't switch to windows to the left or right. (ie the only window below
>> it
>> is the mini-buffer and the input prompt is at the bottom. Screenshot:
>> http://people.cs.uct.ac.za/~smtkee002/windmoveproblem.jpg ). I have tested
>> in
>> other modes and this problem does not happen. C-x o still works.
>
> I can't reproduce the behavior you describe here.  Could you try to
> edebug `windmove-find-other-window' to find out what happens?
>
> Thanks in advance, martin.
>
>
>
>




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#466; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #25 received at 466 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Keegan Carruthers-Smith <keegan.csmith <at> gmail.com>
Cc: 466 <at> debbugs.gnu.org
Subject: Re: 23.0.60; windmove.el doesnt not always switch windows in ERC
Date: Sat, 09 Aug 2008 11:47:25 +0200
> 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




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#466; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Keegan Carruthers-Smith" <keegan.csmith <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #30 received at 466 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Keegan Carruthers-Smith" <keegan.csmith <at> gmail.com>
To: 466 <at> debbugs.gnu.org
Subject: 23.0.60; windmove.el doesnt not always switch windows in ERC
Date: Sat, 9 Aug 2008 12:39:51 +0200
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 <at> 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
>




bug reassigned from package 'emacs' to 'emacs,erc'. Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Mon, 09 Nov 2009 17:35:29 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 466 <at> debbugs.gnu.org and Keegan Carruthers-Smith <keegan.csmith <at> gmail.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 11 Sep 2011 17:18:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#466; Package emacs. (Sun, 11 Sep 2011 17:38:07 GMT) Full text and rfc822 format available.

Message #37 received at 466 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Keegan Carruthers-Smith <keegan.csmith <at> gmail.com>, 466 <at> debbugs.gnu.org
Subject: Re: 23.0.60; windmove.el doesnt not always switch windows in ERC
Date: Sun, 11 Sep 2011 19:09:33 +0200
martin rudalics <rudalics <at> gmx.at> writes:

> 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:
>
>  -----
> |     |
> |-----|
> |  |  |
>  -----

More information was requested three years ago, but apparently wasn't
given, so I'm closing this bug report.  Please reopen if it's still
valid.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Oct 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 251 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.