From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vaidheeswaran C Newsgroups: gmane.emacs.help Subject: Re: launch a program in an arbitrary frame Date: Sat, 18 Jul 2015 09:48:07 +0530 Message-ID: <55A9D37F.9090908@gmail.com> References: <8xxwpxyducd.fsf@village.keycorner.org> Reply-To: vaidheeswaran.chinnaraju@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437193120 2544 80.91.229.3 (18 Jul 2015 04:18:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jul 2015 04:18:40 +0000 (UTC) To: Hikaru Ichijyo , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 18 06:18:39 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZGJaA-0000qj-Np for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jul 2015 06:18:38 +0200 Original-Received: from localhost ([::1]:46818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGJa9-0002UQ-Sw for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jul 2015 00:18:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGJZu-0002UG-B7 for help-gnu-emacs@gnu.org; Sat, 18 Jul 2015 00:18:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZGJZr-0006f7-Os for help-gnu-emacs@gnu.org; Sat, 18 Jul 2015 00:18:20 -0400 Original-Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:33056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGJZr-0006f3-Gw for help-gnu-emacs@gnu.org; Sat, 18 Jul 2015 00:18:19 -0400 Original-Received: by padck2 with SMTP id ck2so70283401pad.0 for ; Fri, 17 Jul 2015 21:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:newsgroups:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=3bbalWqiChjCjWpECz1vD0xxsoNj5FZGqtLhjeyEV9k=; b=B4P9R3kvaAbg7fuvBz+4DqbQAbyAB/WlzU1ZZAWrjlEKb3xCxCSyjszaHDaiNWomuf FoxzTXZAsjg3BrDhedc1wetwjSQAB2XxqmalRphUILv6R1Y4gqzlAkPO/qGJgIFuxnei 2JHsofnZUdvnmBInp3QtTS2/ZeSxEEu2fdPWC1AQrRY9nJ06FgXdS1fsT4x1J2C/d6zg E/APmML8SUFwYdzklr/gr19ei2MFBR8Nr2BvYI0DpIbYKEpR9DuqBpvmHqMr3W3NeELP VqHZSHOlTdaQp6pc/EsQmpbuBpB36XNetheITWS4i5hp1zt2losHnR8Oge3/LlACFG53 UmaA== X-Received: by 10.69.19.202 with SMTP id gw10mr27730439pbd.155.1437193098800; Fri, 17 Jul 2015 21:18:18 -0700 (PDT) Original-Received: from [192.168.43.83] ([106.206.146.80]) by smtp.gmail.com with ESMTPSA id k5sm12928049pdn.10.2015.07.17.21.18.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jul 2015 21:18:17 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 Original-Newsgroups: gmane.emacs.help In-Reply-To: <8xxwpxyducd.fsf@village.keycorner.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105801 Archived-At: 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.