From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Emacs server Date: Mon, 20 Feb 2012 19:53:15 -0700 Message-ID: References: <87mx8hes5w.fsf@googlemail.com> <87ty2pu16g.fsf@micropit.couberia.bzh> <87k43l4lut.fsf@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1329792750 24755 80.91.229.3 (21 Feb 2012 02:52:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2012 02:52:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 21 03:52:30 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rzfq7-0005EK-Ac for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Feb 2012 03:52:27 +0100 Original-Received: from localhost ([::1]:59775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzfq6-0008RU-Lx for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Feb 2012 21:52:26 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzfq1-0008R7-NY for help-gnu-emacs@gnu.org; Mon, 20 Feb 2012 21:52:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rzfq0-0002c4-If for help-gnu-emacs@gnu.org; Mon, 20 Feb 2012 21:52:21 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzfq0-0002by-Az for help-gnu-emacs@gnu.org; Mon, 20 Feb 2012 21:52:20 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rzfpw-000599-Ax for help-gnu-emacs@gnu.org; Tue, 21 Feb 2012 03:52:16 +0100 Original-Received: from c-71-237-25-24.hsd1.co.comcast.net ([71.237.25.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Feb 2012 03:52:16 +0100 Original-Received: from kevin.d.rodgers by c-71-237-25-24.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Feb 2012 03:52:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-25-24.hsd1.co.comcast.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 In-Reply-To: <87k43l4lut.fsf@googlemail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:83820 Archived-At: On 2/17/12 6:42 AM, Thorsten wrote: > Thank, that does the job. One more related question: I like to have a > black background and white (or wheat) foreground (and I'm not such a fan > of the color-themes because of their generally weak contrasts). In an X > session, I would start emacs with -fg black and -bg wheat flags. In an > console session, this looks strange, but starting emacs without those > two flags already gives a black background and a white foreground. > > Now - what can I do when I want to have only one emacs-server running > and start several emacsclients in the console as well as in the X > session? Is there a way to start different emacsclients with different > fg/bg colors without always changing the colors explicitly with M-x > set-{background, foreground}-color when switching between the clients? Does emacsclient handle the -name argument? If so, you can set up different foreground/background pairs in ~/.Xdefaults with different instance names. -- Kevin Rodgers Denver, Colorado, USA