help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launch a program in an arbitrary frame


From: Vaidheeswaran C
Subject: Re: launch a program in an arbitrary frame
Date: Sat, 18 Jul 2015 09:48:07 +0530
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0

On Saturday 18 July 2015 08:51 AM, Hikaru Ichijyo wrote:
> A newbie question (getting more hooked on Emacs):
> 
> I often run ERC to connect to IM services via a local Bitlbee daemon.
> It works best running in its own frame, so I know when people are
> talking to me without having to flip through all my buffers.  (A window
> doesn't seem to be sufficient, since Gnus keeps changing the window
> layout to its Summary/Article split, and the only way I've found to deal
> with that is to keep programs whose layout I care about in separate
> frames.)
> 
> Anyway, it's redundant to have to manually put ERC in its own frame
> every time I launch it.
> 
> I have somethink like this bound to a key:
> 
>   (erc :server "localhost")
> 
> Some programs have the ability to launch in a new frame built into them,
> but shouldn't you be able to do that with almost any program?  If I
> wanted to run the above in an 80x24 frame at a particular X coordinate,
> how would I say that in Elisp?
> 

To add to my other response

    M-x customize-group erc

gives me hints on where I should be looking.

    Show Value Erc Join Buffer
       Determines how to display a newly created IRC buffer. More

    Show Value Erc Reuse Buffers
       If nil, create new buffers on joining a channel/query. More

Just those two custom variables is probably what you need.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]