From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Newsgroups: gmane.emacs.help Subject: Re: Emacs server Date: Fri, 17 Feb 2012 14:42:50 +0100 Message-ID: <87k43l4lut.fsf@googlemail.com> References: <87mx8hes5w.fsf@googlemail.com> <87ty2pu16g.fsf@micropit.couberia.bzh> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1329486129 21861 80.91.229.3 (17 Feb 2012 13:42:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2012 13:42:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 17 14:42:08 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 1RyO4e-0004Hw-CV for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Feb 2012 14:42:08 +0100 Original-Received: from localhost ([::1]:41577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyO4d-000126-P0 for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Feb 2012 08:42:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyO4X-0000yu-Lq for help-gnu-emacs@gnu.org; Fri, 17 Feb 2012 08:42:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyO4W-0008WS-2w for help-gnu-emacs@gnu.org; Fri, 17 Feb 2012 08:42:01 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyO4V-0008WJ-G7 for help-gnu-emacs@gnu.org; Fri, 17 Feb 2012 08:42:00 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RyO4R-00048d-3A for help-gnu-emacs@gnu.org; Fri, 17 Feb 2012 14:41:55 +0100 Original-Received: from e178121113.adsl.alicedsl.de ([85.178.121.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Feb 2012 14:41:55 +0100 Original-Received: from quintfall by e178121113.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Feb 2012 14:41:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: e178121113.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:e6q1ZDn+5FEczcoY/SjD8ObESa4= 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:83780 Archived-At: Peter Münster writes: > On Fri, Feb 17 2012, Thorsten wrote: > >> | exec emacs --daemon=emacs1 -l ~/.emacs.d/emacs24-starter-kit/init.el >> | exec emacsclient -c > > Change server to "emacs --daemon -l ..." or > client to "emacsclient -s emacs1 -c ..." > (not both, exclusive or ;) 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? cheers -- Thorsten