[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[XWEM]: Re: Fun with frames
From: |
Steve Youngs |
Subject: |
[XWEM]: Re: Fun with frames |
Date: |
Thu, 13 May 2004 13:40:27 +1000 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) |
* Zajcev Evgeny <address@hidden> writes:
> Steve Youngs <address@hidden> writes:
>> * Zajcev Evgeny <address@hidden> writes:
>>
> [...]
>> > NOTE:
>>
>> > After today commit, which i will performe in few hours, really big
>> > commit which even changes core things in xwem a little, so will need
>> > testing, it will be possible to write something like:
>>
>> > (define-xwem-command my-xwem-switch-frame (name)
>> > "Switch to xwem frame named by NAME."
>> > (xwem-interactive (list (xwem-completing-read "XWEM Frame: "
>> > (mapcar (lambda (f) (list
(xwem-frame-name f)))
>> > xwem-frames-list))))
>>
>> > (let ((frame (xwem-frame-find 'name name)))
>> > (when (xwem-frame-p frame)
>> > (xwem-frame-select frame))))
>>
>> This works great. Consider it tested. :-)
>>
> Only one problem is that there no frame names unification, i.e. if
> you have two frames named 'default' this stuff will take first frame
> named 'default'.
Perhaps ensure that frame names are unique...
>> > To show how expectances works, just try: H-o r xterm RET
>>
>> Or lazy people (or people who can't spell "xterm") could do
>> `H-o H-a x' :-)
> Great! I did not know abouth this :)
See what you can find out by just "playing around" :-)
> Great! How do you think when it will be possible to start with
> xwem for ordinary XEmacs users? :)
I say now! :-)
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Ashes to ashes, dust to dust. |
| The proof of the pudding, is under the crust. |
|----------------------------------<address@hidden>---|
pgpL6zV5En_e9.pgp
Description: PGP signature