xwem-devel
[Top] [All Lists]

Re: Tips n Tricks

From: Steve Youngs <steve@xxxxxxxx>
Subject: Re: Tips n Tricks
Date: Fri, 03 Dec 2004 19:53:42 +1000
Organization: The XWEM Project
User-agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux)
* Zajcev Evgeny <zevlg@xxxxxxxxx> writes:

  > Steve Youngs <steve@xxxxxxxx> writes:
  >> Hi Gang!
  >> 
  >> I've just added a "Tips n Tricks" section to the web page.  Go check
  >> it out.  Then come back here and tell me all your cool sexy XWEM
  >> tricks so I can add them to the web page.

  > Great!  Here are other tricks:

  >   * Take advantage of sbs splitting.  Use `H-x 5 2' `H-x 5 3' and
  >     `H-S' commands to operate on frames group.

Ok, I know what all those commands do, I use them all the time myself,
but what does "sbs splitting" mean?

  >   * Forget about kgamma - evaluate (xwem-gamma-widget (xwem-dpy)) in
  >     *scratch*.

Oh yeah, I'd forgotten about that one.  Cool stuff indeed!

  >   * Remeber that xwem keyboard is programmable, use

  >     (xwem-global-set-key (xwem-kbd "H-x x") [(hyper x) b m o z i l l a 
return])

  >   to switch to mozilla.

I'm not sure I'd want to add that particular example.  This is not
a good way to switch clients.  Suppose at the time you hit `H-x x'
you happen to have an XEmacs buffer somewhere with a file named
"mozilla.txt" or similar.  In that situation, you'll switch to
whichever is higher in the client stack.

  > BTW: last tip discovers tiny bug :) in function
  > `xwem-event-as-command' last line should look like

  >     xwem-this-command-keys (vconcat (and (not 
(xwem-kbd-global-map-current-p))
  >                                          xwem-this-command-keys)
  >                                     (vector e-ev))))

  > Steve, can you commit the patch for it?

Done.

  > Also, prelast tip also discover inconsisnecy ..  function
  > `xwem-gamma-corrector' should call (XFlush xwem-gamma-display) just
  > after (X-XF86VidModeSetGamma ...).  Can you also commit this?

And done.


-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|                        In space,                         |
|             No one can hear you rip a stinky             |
|---------------------------------------<steve@xxxxxxxx>---|

Attachment: pgpOe3eWIkVGN.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>