Re: (X)Emacs Window Manager commands

2011-08-17 Thread Gulliver.M.Smith

Sorry for the delay in posting a reply.

In emacs, you can use the file menu to create a new frame (window).

You then need to enter elisp commands to invoke these functions. An elisp
command can be entered interactively by pressing Alt-:

First, create a frame using the file menu.

Then capture one frame with Alt-: (setq f (selected-frame))

Move the mouse into the other window and bring it to the front. The frame
commands are

(raise-frame f)
(iconify-frame f)
(decionify-frame f)
(make-frame-visible f)


Jon TURNEY wrote:
 
 On 14/07/2011 15:10, Gulliver.M.Smith wrote:
 A web search shows that this has been asked before, but I thought I'd put
 it
 out there again.
 
 When using Cygwin X in multi-window mode (i.e. with each X window being
 its
 own MS Windows window), the window manager ignores the window manager
 requests from Emacs and XEmacs to raise and lower windows, minimize and
 reopen windows (frames in Emacs talk).
 
 I'm afraid that the multiwindow window manager has never fully implemented
 EWMH and ICCCM standards,  support has been added ad hoc as needed, so
 that is
 probably why this doesn't work.
 
 These would be nice to have ...
 
 I've no idea how to make emacs generate these window manager requests, so
 you
 can help by describing that.
 
 -- 
 Jon TURNEY
 Volunteer Cygwin/X X Server maintainer
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 
 
 

-- 
View this message in context: 
http://old.nabble.com/%28X%29Emacs-Window-Manager-commands-tp32061544p32279516.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: (X)Emacs Window Manager commands

2011-08-17 Thread Oliver Schmidt

On 8/17/2011 3:07 PM, Gulliver.M.Smith wrote:


In emacs, you can use the file menu to create a new frame (window).
(raise-frame f)
(iconify-frame f)
(decionify-frame f)
(make-frame-visible f)


at least raise-frame works with my simple patch for raising top level 
windows, see

http://www.cygwin.com/ml/cygwin-xfree/2011-08/msg00034.html

 EWMH and ICCCM standards

Of course it would be nicer to have the window manager standards to be 
fulfilled by the cygwin multiwindow mode, which would be reacting on 
client messages with atom _NET_ACTIVE_WINDOW for raising windows.


By the way: Unfortunately the xemaces from current cygwin distribution 
(21.4.22-1) seems broken and is not able to create other windows (e.g. 
when using the menu entry File/Open In New Frame. (This has nothing to 
do with the cygwin xserver, the cygwin xemacs does also not work with 
other xservers). However I was able to reproduce your steps using a 
linux xemacs with the cygwin xserver


Best regards,
Oliver

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: (X)Emacs Window Manager commands

2011-07-19 Thread Jon TURNEY
On 14/07/2011 15:10, Gulliver.M.Smith wrote:
 A web search shows that this has been asked before, but I thought I'd put it
 out there again.
 
 When using Cygwin X in multi-window mode (i.e. with each X window being its
 own MS Windows window), the window manager ignores the window manager
 requests from Emacs and XEmacs to raise and lower windows, minimize and
 reopen windows (frames in Emacs talk).

I'm afraid that the multiwindow window manager has never fully implemented
EWMH and ICCCM standards,  support has been added ad hoc as needed, so that is
probably why this doesn't work.

 These would be nice to have ...

I've no idea how to make emacs generate these window manager requests, so you
can help by describing that.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



(X)Emacs Window Manager commands

2011-07-14 Thread Gulliver.M.Smith

A web search shows that this has been asked before, but I thought I'd put it
out there again.

When using Cygwin X in multi-window mode (i.e. with each X window being its
own MS Windows window), the window manager ignores the window manager
requests from Emacs and XEmacs to raise and lower windows, minimize and
reopen windows (frames in Emacs talk).

These would be nice to have ...
-- 
View this message in context: 
http://old.nabble.com/%28X%29Emacs-Window-Manager-commands-tp32061544p32061544.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/