ivl@xxxxxxxx (Igor V. Liferenko) writes:
> Hello. The idea of xwem is great. Xwem rocks!
>
> Xwem has a great deal of fancy features. But it's hard for an outsider
> (me) to orientate himself in that great amount of code.
>
Thanks, yes xwem lacks documentation. And it is pretty hard to start
with xwem for newcomers.
> I appreciate your time very much, but could you please somehow publish
> a sample piece of code which creates a window with a given program
> running in it without any extra stuff? Just that. It would be easier
> for newcomers to start experimenting with the idea of windows manager
> within emacs (which you first implemented and which is really great)
> and thus quicker and better understand how xwem works.
>
> Thanks in advance.
There is concept in xwem - manage type. Manage type is method how
certain windows of some application are handled by xwem. By default
all windows are accumulated into xwem frames. You can configure
managing type with `xwem-manage-list'. For example, setting
`xwem-manage-list' to:
(setq xwem-manage-list
'((rooter (dummy-client-p t)
(or (application "xclock")
(application "gkrellm")
(application "gdesklets")
(application "gdeskcal")))
))
will make matched applications(including xlock) be managed specially
on X root window.
Here is also manage type called `dedicated'. Sometimes it is useful
to have dedicated xwem frame for some application, and not share this
dedicated frame with other applications. We can experiment with it:
(progn (xwem-execute-program-expecting-1 "xterm" 'dedicated) nil)
This sexp will run xterm, expecting for it to manage it using
`dedicated' manage type.
Welcome to the xwem world!
Don't hesitate to ask if you have any questions or problems. xwem
subscribers on xwem-devel@ list is very friendly ;)
--
XWEM - RMS runs Emacs from inside an XWEM frame.
|