Thread View: gnu.epoch.misc
2 messages
2 total messages
Started by Paul Ebersman
Wed, 13 Mar 1991 15:18
Re: auto-raise vs auto-focus
Author: Paul Ebersman
Date: Wed, 13 Mar 1991 15:18
Date: Wed, 13 Mar 1991 15:18
32 lines
1972 bytes
1972 bytes
>> From: Todd.Kaufmann ; Subject: Re: auto-raise vs auto-focus :
ebersman> What I would like is to be able to have a screen
ebersman> automatically selected if I move the cursor into it, but not
ebersman> have it auto-raise's. I do NOT want to have to click in a
ebersman> screen if I don't have the auto-raise enabled in order to
ebersman> type in it.
ebersman> There doesn't seem to be a value for auto-raise-screen that does what
ebersman> I want. Is it possible, or do I have to do major hacking in the .el
ebersman> files in epoch-lisp?
Kaufmann> What you are describing is the standard behavior when
Kaufmann> auto-raise-screen is nil.
Kaufmann> What version of epoch are you running, and are the standard
Kaufmann> epoch inits loaded (ie, listed in dot.emacs). motion.el or
Kaufmann> event should provide this functionality, unless your
Kaufmann> event-handler got screwed somehow. (Do C-z e to check
Kaufmann> status).
I do have auto-raise-screen set to nil and it does do what I want
UNTIL I do a cut and paste or manually set the point in a buffer by
using the left button. From then on, I am stuck with click-to-focus,
which I DESPISE :-(
Is this a bug or a feature? This is Epoch version 3.2.2.
--
Paul A. Ebersman @ UUNET Communications
uunet!ebersman or ebersman@uunet.uu.net
The difference between theory and practice in practice is greater
than the difference between theory and practice in theory.
Re: auto-raise vs auto-focus
Author: Anthony Mutiso
Date: Thu, 14 Mar 1991 11:58
Date: Thu, 14 Mar 1991 11:58
27 lines
1893 bytes
1893 bytes
I thought I should add my contribution to auto-raise issue. I have
redefined the select-screen function to read the auto-raise variable
as nil, t, 0, or 1. A value of t will auto-raise the screen and the
minibuffer. A value of 1 will only auto-raise the minibuffer. Since I
use twm and gwm as my window managers I leave window auto-raising to
them. If I want auto-raising I can turn it on and off at the window
manager level, while still retaining auto-raise control for the
minibuffer. This I can have some epoch windows auto-raise and some
not, all in the same epoch session.
Here is the new select-screen, throw it in your .emacs <- epoch
startup.
Anthony
--
(defun select-screen (&optional scr)
(interactive)
(epoch::select-screen scr)
(and auto-raise-screen
(or (eq t auto-raise-screen) (eq 0 auto-raise-screen))
(epoch::raise-screen 0))
(and auto-raise-screen
(or (eq t auto-raise-screen) (eq 1 auto-raise-screen))
(raise-screen))
(run-hooks '*select-screen-hook*))
--
Anthony Mutiso (anthony@cs.ualberta.ca) Life-motto: Logic Rules.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads