From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Refresh buffer properties and local variables Date: Wed, 20 Nov 2013 08:28:07 -1000 Message-ID: References: <878uwj3ga8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjCW2-0006Kv-Jh for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 13:28:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjCVv-0007yp-Kt for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 13:28:42 -0500 Received: from alt-proxy25.mail.unifiedlayer.com ([66.147.249.8]:35834) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1VjCVv-0007yX-Cg for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 13:28:35 -0500 In-Reply-To: <878uwj3ga8.fsf@gmail.com> (Nick Dokos's message of "Tue, 19 Nov 2013 22:26:07 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org Hi Nick, Nick Dokos writes: > Looking at what normal-mode does, I came up with the following hack. > Does it fix things for you? > > diff --git a/lisp/org.el b/lisp/org.el > index febee75..caf0348 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -5512,7 +5512,8 @@ The following commands are available: > (unless org-inhibit-startup-visibility-stuff > (org-set-startup-visibility)))) > ;; Try to set org-hide correctly > - (set-face-foreground 'org-hide (org-find-invisible-foreground))) > + (set-face-foreground 'org-hide (org-find-invisible-foreground)) > + (hack-local-variables)) > > ;; Update `customize-package-emacs-version-alist' > (add-to-list 'customize-package-emacs-version-alist Yes, it seems to fix things for me. What an unfortunate function name! Thanks for your help. Is there something else I can do to get this change into Org? All the best, Tom -- Thomas S. Dye http://www.tsdye.com