From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Alekseyev Newsgroups: gmane.emacs.help Subject: Re: Narrow/widen in folding.el Date: Fri, 24 Dec 2010 19:08:00 -0800 Message-ID: References: <87mxnz9dd1.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1293246508 23745 80.91.229.12 (25 Dec 2010 03:08:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Dec 2010 03:08:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 25 04:08:23 2010 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.69) (envelope-from ) id 1PWKUX-0006F4-Ip for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Dec 2010 04:08:21 +0100 Original-Received: from localhost ([127.0.0.1]:48135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWKUW-0002Tl-VJ for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Dec 2010 22:08:20 -0500 Original-Received: from [140.186.70.92] (port=38944 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWKUE-0002SX-DK for help-gnu-emacs@gnu.org; Fri, 24 Dec 2010 22:08:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PWKUD-0001xH-AC for help-gnu-emacs@gnu.org; Fri, 24 Dec 2010 22:08:02 -0500 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:53039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PWKUD-0001xD-3L for help-gnu-emacs@gnu.org; Fri, 24 Dec 2010 22:08:01 -0500 Original-Received: by fxm12 with SMTP id 12so1577139fxm.0 for ; Fri, 24 Dec 2010 19:08:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3ctYGnNRVvVnBdg3HCCZo/J2AyaFeQhAg566DPP3xmY=; b=m/zzsBAhHyr6frM33gi30EqhG5Y2GXNLh5AuaQ4vCrLaAFWQi4cbNcJCz6SwVK2UQu WnQDc2VJq1ywsAtgIBXQEfi4l1VZ3QU7WANQ1oS7KCTN2Km8o5I3Rw9ZQpXsO8dFexOC JMvpapkegdir0WSnrXOl8z+n2mMo5o41quTvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=M3WEEsZ0kqXB7UjISAdaIzWDv6CWhR4CKuA8lf6WKldxkZmFYzN8F7PwjmBNSjjxoY XveuPX9lx4ItIlhj65/d573860AzG3INpGFRVCoNZw2KwCdKbFJu4I/9Vp3tQqJs78z0 CekXJRQMgEbkXHqyJ8Op4ZhvMTwdyrAeb233M= Original-Received: by 10.223.101.199 with SMTP id d7mr7127830fao.149.1293246480314; Fri, 24 Dec 2010 19:08:00 -0800 (PST) Original-Received: by 10.223.101.131 with HTTP; Fri, 24 Dec 2010 19:08:00 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.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:77875 Archived-At: On Fri, Dec 24, 2010 at 6:18 PM, Leo Alekseyev wrote: > I've been running into the following issue: I turn on the > outline-minor-mode through a file-local variable, e.g. "-- =A0-*- > mode:sql; mode:outline-minor =A0-*- ". =A0However, the headings are not > fontified until I manually toggle outline-minor-mode on and off. =A0This > is somewhat strange, since the new entries do appear in > font-lock-keywords-alist. =A0But even toggling font-lock-mode doesn't > make it work, only re-enabling outline-minor-mode. =A0I'd love to hear > your thoughts on how to fix this :) Upon further experimentation, a correction: when turning on outline-minor-mode through the file-local-variable, the outline-minor-mode hooks don't run. Perhaps this warrants a thread of its own?...