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: Sun, 19 Feb 2012 14:31:23 +0100 Message-ID: <87k43j7xw4.fsf@googlemail.com> References: <87mx8hes5w.fsf@googlemail.com> <87ty2pu16g.fsf@micropit.couberia.bzh> <87k43l4lut.fsf@googlemail.com> <87lio1tv2k.fsf@micropit.couberia.bzh> <87linzeotg.fsf@googlemail.com> 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 1329658234 9690 80.91.229.3 (19 Feb 2012 13:30:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2012 13:30:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 19 14:30:33 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 1Rz6qW-0007w6-PW for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Feb 2012 14:30:32 +0100 Original-Received: from localhost ([::1]:36963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rz6qW-0005Tx-9g for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Feb 2012 08:30:32 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rz6qQ-0005Tq-Mt for help-gnu-emacs@gnu.org; Sun, 19 Feb 2012 08:30:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rz6qP-0005go-LZ for help-gnu-emacs@gnu.org; Sun, 19 Feb 2012 08:30:26 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:37504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rz6qP-0005gf-Ec for help-gnu-emacs@gnu.org; Sun, 19 Feb 2012 08:30:25 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rz6qN-0007sZ-EE for help-gnu-emacs@gnu.org; Sun, 19 Feb 2012 14:30:23 +0100 Original-Received: from e178119040.adsl.alicedsl.de ([85.178.119.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Feb 2012 14:30:23 +0100 Original-Received: from quintfall by e178119040.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Feb 2012 14:30:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: e178119040.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:eweOe5ovbGneUGoOdIQp0YsJ5k8= 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:83801 Archived-At: Thorsten writes: > Peter Münster writes: > >> On Fri, Feb 17 2012, Thorsten wrote: >> >>> 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? >> >> Perhaps the variables `server-visit-hook' and `window-system can >> help'. > > > 'window-system seems to be deprecated in favor of 'display-graphic-p, no > problem. But where are the server hooks gone? I find references to > several server hooks on the web, but my emacs24 only returns one server > variable: > > ,------------ > | server-mode > `------------ > > > I used M-x apropo to look for a hooks - but no server-hooks among the > thousands of hooks. > Do I miss something, or are they simply gone? The `server-visit-hook > would serve me perfectly to solve my problem. I missed something essential - the server hooks only show up in the system, when a server is running. Sorry for the noise ... cheers -- Thorsten