unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* window-list emulation for Emacs 20.X?
@ 2003-01-14  7:20 Klaus Berndl
  2003-01-14 12:30 ` John Paul Wallington
  0 siblings, 1 reply; 3+ messages in thread
From: Klaus Berndl @ 2003-01-14  7:20 UTC (permalink / raw)



The new function `window-list' of Emacs 21.X is very useful. Now i'm searching
for an elisp-emulation of this Emacs21-buildin-function which works for Emacs
20.x. I need this to preserve our package from going incompatible with Emacs
20.x

Does anybody know such an emulation?

It would be enough if the window list always starts from the left-most
top-most window of a frame and if minibuffer is not counted, so
(defun window-list (frame) ...) would be OK.

Many Thanks in advance,
Klaus

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: window-list emulation for Emacs 20.X?
  2003-01-14  7:20 window-list emulation for Emacs 20.X? Klaus Berndl
@ 2003-01-14 12:30 ` John Paul Wallington
  2003-01-14 14:37   ` Klaus Berndl
  0 siblings, 1 reply; 3+ messages in thread
From: John Paul Wallington @ 2003-01-14 12:30 UTC (permalink / raw)


Klaus Berndl wrote:

>  The new function `window-list' of Emacs 21.X is very useful. Now
>  i'm searching for an elisp-emulation of this
>  Emacs21-buildin-function which works for Emacs 20.x.

XEmacs' `window-list' is written in emacs-lisp and looks like it
should work in Emacs 20.  There are `ibuffer-window-list' and
`edebug-window-list' too; all use the function `walk-windows' to
cycle through the windows.

--
John Paul Wallington

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: window-list emulation for Emacs 20.X?
  2003-01-14 12:30 ` John Paul Wallington
@ 2003-01-14 14:37   ` Klaus Berndl
  0 siblings, 0 replies; 3+ messages in thread
From: Klaus Berndl @ 2003-01-14 14:37 UTC (permalink / raw)


On Tue, 14 Jan 2003, John Paul Wallington wrote:



>  Klaus Berndl wrote:
>  
> >  The new function `window-list' of Emacs 21.X is very useful. Now
> >  i'm searching for an elisp-emulation of this
> >  Emacs21-buildin-function which works for Emacs 20.x.
>  
>  XEmacs' `window-list' is written in emacs-lisp and looks like it
>  should work in Emacs 20.  There are `ibuffer-window-list' and
>  `edebug-window-list' too; all use the function `walk-windows' to
>  cycle through the windows.

Thanks, the XEmacs version works fine!

Klaus

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-14 14:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-14  7:20 window-list emulation for Emacs 20.X? Klaus Berndl
2003-01-14 12:30 ` John Paul Wallington
2003-01-14 14:37   ` Klaus Berndl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).