From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Font-Locking for Allout Mode Date: Thu, 08 Mar 2007 15:03:50 +0100 Organization: University Koblenz-Landau Campus Koblenz Message-ID: <877itrn86x.fsf@baldur.tsdh.de> References: <87mz2o3jib.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173364875 26946 80.91.229.12 (8 Mar 2007 14:41:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2007 14:41:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 08 15:41:08 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 1HPJnm-0003SJ-E1 for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Mar 2007 15:41:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPJnz-0002Gf-8a for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Mar 2007 09:41:19 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.freenet.de!news.tiscali.de!news.belwue.de!news.uni-kl.de!cache.uni-koblenz.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: dslb-084-063-029-019.pools.arcor-ip.net Original-X-Trace: cache.uni-koblenz.de 1173362631 1202 84.63.29.19 (8 Mar 2007 14:03:51 GMT) Original-X-Complaints-To: news@cache.uni-koblenz.de Original-NNTP-Posting-Date: Thu, 8 Mar 2007 14:03:51 +0000 (UTC) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVWVlFmseNrkqmgzeif v9JYdoX7Ctb5AAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABqUlE QVQ4y8WTy3KkMAxFVQT2Iz/2QOAD3CZ7jNV7YNr//ysjmWcqlUWyGVU11dzjK9myAPwm4P8A963D /TCV06dDeURzkQug8fFm8OYAIT5afRI/DAfQNbzcvhnn/Ud1gD/wTl7rvFHvNc7Fo2GgFJTRe8dA ay/gCV121NAZJto50TlhB0VgQFD4QCwNTMWAZgRCUCOUaMTCMGYHjvBihwC2xYmIoh+It2BZgozR Qo6K6he3oc1g5oTYjRsp4c1ha6BgwG8BSUCZH4SkoApgZigbnEaRBG+rignUDNUQROLiBCwh8dpJ istayMcfQDgrXEN9wB47kM3BwsXNDfjjv7SEi3wBuVfY7UQ6xQeRoNzdhiZeThugh5x/A9gEosHn 3ub+xtCc40OH6ocg8jVXelssj8+TKO+G73a/kRtgk0ySzMk9VYwhSEKDcvcXCFPgIW1aZVYey3AB 3fZpSctqU/FMf68a5rkWfaqWNbV1vya6QN83tWVPpeq6mpcTPNaEKfVpndXcV+kCtufsaeYsrKa0 niDZVi02Wf6lpb05cthffufLTxyfi/wD4S56Bxo/ZasAAAAmelRYdENvbW1lbnQAAHjacy5KTSxJ TVEozyzJUAjJSFVw9/QNAABS5wcjkMtlcAAAABp6VFh0SlBFRy1Db2xvcnNwYWNlAAB42jMCAAAz ADMRFn5jAAAAJ3pUWHRKUEVHLVNhbXBsaW5nLWZhY3RvcnMAAHjaM6ow0jGsMARhABGDAulkDxti AAAAAElFTkSuQmCC User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:HfQ5yTl9k2lO8RTP0Y6UOxkj/Y4= Original-Xref: shelby.stanford.edu gnu.emacs.help:146193 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:41798 Archived-At: Stephen Berman writes: Hi Stephen, > It works for me. Strange. > However, I found that I have to add `mode: allout' to the Local > Variables section in order for the fontification to be seen upon > visiting the file. My local variable section looks like ,----[ ~/.emacs ] | ;;Local variables: | ;;allout-layout: 0 | ;;End: `---- If I add ";;mode: allout" the allout-layout won't be applied -- nothing is collapsed/narrowed. And fontification of the headings isn't applied, too. > If allout-mode isn't specified as a file local variable, then calling > font-lock-fontify-buffer makes the fontification show up. Has no effect here. The fontification is still emacs lisp, but the special allout headings are still fontified as normal comments. > I don't know if this indicates a bug in that code. I don't get you here. Does that mean that you use a different code snippet for allout fontification? If yes, could you post your working snippet? And could you test my snippet with your emacs? BTW, what version do you use? It's 22.0.95 here, maybe it's a version specific thing... Bye, Tassilo -- * delYsid has mortgage, opportunity and penis in his score file. thats pretty effective against spam aren't you worried about missing opportunities to mortgage your penis?