From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Have a function executed for every mode Date: Fri, 27 Nov 2009 22:43:17 +0100 Message-ID: References: <87d433ve9o.fsf@Traian.DecebalComp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1259358309 21711 80.91.229.12 (27 Nov 2009 21:45:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2009 21:45:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Cecil Westerhof Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 27 22:45:02 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NE8cf-0002MS-V6 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Nov 2009 22:45:02 +0100 Original-Received: from localhost ([127.0.0.1]:47232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NE8cf-000897-Ja for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Nov 2009 16:45:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NE8bP-0007h1-NS for help-gnu-emacs@gnu.org; Fri, 27 Nov 2009 16:43:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NE8bK-0007cq-SS for help-gnu-emacs@gnu.org; Fri, 27 Nov 2009 16:43:43 -0500 Original-Received: from [199.232.76.173] (port=45824 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NE8bK-0007cl-J3 for help-gnu-emacs@gnu.org; Fri, 27 Nov 2009 16:43:38 -0500 Original-Received: from mail-yw0-f172.google.com ([209.85.211.172]:62301) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NE8bK-0003qS-8x for help-gnu-emacs@gnu.org; Fri, 27 Nov 2009 16:43:38 -0500 Original-Received: by ywh2 with SMTP id 2so1758992ywh.27 for ; Fri, 27 Nov 2009 13:43:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=4UkPO8gQ9x3qx4gPVloIngb1pRixVepcPSrSoqBjX8s=; b=Jm/IsqCDd+7YWDd/ikatQtm9kLO5rEpzFdsWDxRkX978y+rgkVFMFzfX6zcAWuEPkh v4rHRUSRG9BkdMogdIUTVortZ1gukBG8K/gM88IfjKhqqiYPX7gZPcPW6dXupumxmTDm g2kZm3xy264zQX+EWOTjbzeEPTYe5vE9gWbTs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=DPQqOZTJrGXqK8d18Q45uY0S5wKXRqb+vgRsCEqsKJLrqoCzCcgHgRem1QV9KO7QhX jHPiOOY0mG01iQ2U6sGiV81paDZ+k7cb8esVQgGBayV/skZ6MDGYkGuqsXKFo5rTN+Iz b9hKVXrItjHFfOPb3KqdVDenWAk5vsp+3Km6c= Original-Received: by 10.100.29.11 with SMTP id c11mr879341anc.12.1259358217066; Fri, 27 Nov 2009 13:43:37 -0800 (PST) In-Reply-To: <87d433ve9o.fsf@Traian.DecebalComp> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70200 Archived-At: On Fri, Nov 27, 2009 at 10:39 PM, Cecil Westerhof wrote: > I want in principle highlighting for every mode. Is there a way to do > this, or do I have to do an add-hook for every possible mode? global-font-lock-mode should be on by default.