public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* (X)Emacs Window Manager commands
@ 2011-07-19 14:39 Gulliver.M.Smith
  2011-07-19 17:17 ` Jon TURNEY
  0 siblings, 1 reply; 4+ messages in thread
From: Gulliver.M.Smith @ 2011-07-19 14:39 UTC (permalink / raw)
  To: cygwin-xfree


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/


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

* Re: (X)Emacs Window Manager commands
  2011-07-19 14:39 (X)Emacs Window Manager commands Gulliver.M.Smith
@ 2011-07-19 17:17 ` Jon TURNEY
  2011-08-17 13:07   ` Gulliver.M.Smith
  0 siblings, 1 reply; 4+ messages in thread
From: Jon TURNEY @ 2011-07-19 17:17 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: cygwin-xfree

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/


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

* Re: (X)Emacs Window Manager commands
  2011-07-19 17:17 ` Jon TURNEY
@ 2011-08-17 13:07   ` Gulliver.M.Smith
  2011-08-17 14:46     ` Oliver Schmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Gulliver.M.Smith @ 2011-08-17 13:07 UTC (permalink / raw)
  To: cygwin-xfree


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/


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

* Re: (X)Emacs Window Manager commands
  2011-08-17 13:07   ` Gulliver.M.Smith
@ 2011-08-17 14:46     ` Oliver Schmidt
  0 siblings, 0 replies; 4+ messages in thread
From: Oliver Schmidt @ 2011-08-17 14:46 UTC (permalink / raw)
  To: cygwin-xfree

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/


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

end of thread, other threads:[~2011-08-17 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-19 14:39 (X)Emacs Window Manager commands Gulliver.M.Smith
2011-07-19 17:17 ` Jon TURNEY
2011-08-17 13:07   ` Gulliver.M.Smith
2011-08-17 14:46     ` Oliver Schmidt

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).