🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.x
Article #218

Re: How to scriptably raise emacs window in X?

#218
From: Krzys Majewski
Date: Mon, 17 Jul 2000 00:00
20 lines
1373 bytes
Aha! Excellent! Fantastic! This has been a good day after all.
-chris

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro�johann) writes:

> There is a server-switch-hook and there is a function raise-frame
> which can raise a frame.
> 
> So, you can do this:
> 
> (defun km-raise-server-frame ()
>   (raise-frame (selected-frame)))
> 
> (add-hook 'server-switch-hook 'km-raise-server-frame)
> 
> I'm not sure if it works, but you get the idea...
> 
> kai
> -- 
> I like BOTH kinds of music.
Technical Details
Message-ID: <87puoc4567.fsf@cs.mcgill.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <877lambjjc.fsf@cs.mcgill.ca> <vafzoni2r28.fsf@lucy.cs.uni-dortmund.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 103b8b,8afe00513ba7972
X-Google-Attributes: gid103b8b,public
X-Google-Thread: f4bda,8afe00513ba7972
X-Google-Attributes: gidf4bda,public
From: Krzys Majewski <krzys@cs.mcgill.ca>
Subject: Re: How to scriptably raise emacs window in X?
Date: 2000/07/17
Message-ID: <87puoc4567.fsf@cs.mcgill.ca>
X-Deja-AN: 647560749
Content-Transfer-Encoding: 8bit
References: <877lambjjc.fsf@cs.mcgill.ca> <vafzoni2r28.fsf@lucy.cs.uni-dortmund.de>
Followup-To: gnu.emacs.help
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: usenet@cs.ubc.ca
X-Trace: mughi.cs.ubc.ca 963882455 19117 142.103.7.7 (18 Jul 2000 01:07:35 GMT)
Organization: Computer Science, University of British Columbia, Canada
Mime-Version: 1.0
NNTP-Posting-Date: 18 Jul 2000 01:07:35 GMT
Newsgroups: comp.os.linux.x,gnu.emacs.help