From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabian Braennstroem Newsgroups: gmane.emacs.help Subject: Re: change font for lines starting with an asterisk Date: Sun, 15 Apr 2007 18:40:55 +0000 Organization: FernUni Hagen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176658559 14988 80.91.229.12 (15 Apr 2007 17:35:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2007 17:35:59 +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 Apr 15 19:35:53 2007 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 1Hd8dk-0002Tr-CF for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Apr 2007 19:35:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hd8iG-0000ji-5b for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Apr 2007 13:40:32 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.germany.com!news-stu1.dfn.de!news-koe1.dfn.de!tamarack.fernuni-hagen.de!news.fernuni-hagen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 56 Original-NNTP-Posting-Host: p54a11f71.dip0.t-ipconnect.de Original-X-Trace: tamarack.fernuni-hagen.de 1176655009 1498 84.161.31.113 (15 Apr 2007 16:36:49 GMT) Original-X-Complaints-To: newsadmin@fernuni-hagen.de Original-NNTP-Posting-Date: Sun, 15 Apr 2007 16:36:49 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.0 In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:147097 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:42701 Archived-At: Hi, me again ... Fabian Braennstroem schrieb am 04/13/2007 07:57 AM: > Hi, > > I know the nice font changes in auctex, e.g. for section, and would > like to achieve this for certain files too... > > Right now I can define some keywords > > (define-generic-mode 'fluent-mode > '("#") > '("DEBUG") > '( ("INFO" . 'font-lock-constant-face) > ("DEBUG" . 'font-lock-keyword-face) > ("WARN" . 'font-lock-type-face) > ("ERROR" . 'paren-face-mismatch) > ("WARNING" . 'font-lock-fatal-face)) > '(".jou\\'") > nil > "Major mode for editing fluent journal files") > > > and set the faces: > > (custom-set-faces > '( font-latex-match-title-3-keywords ((t (:height 1.2 > :foreground "blue" :inherit (font-latex-title-3-face))))) > '(font-lock-builtin-face ((t (:foreground "cyan")))) > '(margin-face ((t (:background "magenta")))) > '(font-lock-comment-face ((t (:foreground "green")))) > '(font-lock-constant-face ((t (:foreground "magenta")))) > '(font-lock-function-name-face ((t (:underline t :bold t > :foreground "blue" )))) > '(font-lock-keyword-face ((t (:foreground "yellow")))) > '(font-lock-string-face ((t (:foreground "red")))) > '(font-lock-fatal-face ((t (:underline t :bold t :foreground > "red" :background "black")))) > ; '(font-lock-type-face ((t (:foreground "darkgreen")))) > '(font-lock-variable-name-face ((t (:foreground "black")))) > > > I would like to know, how I can change the color and especially the > font size of all lines starting with an asterisk? Does anyone have > an idea for emacs 21.3.1? If nobody has an idea, how one can change lines starting with an '*', you might know how to adjust the font size. This should be possible in some way... auctex is doing it for section lines in a latex file. Would be nice, if you have an idea. Greetings! Fabian