From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: no blank lines in org file opened in Emacs on Windows Date: Fri, 20 Apr 2007 08:52:40 +0200 Message-ID: <3a1bfc164968651192935a29ea98ea08@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HeoEc-0000Qz-Ay for emacs-orgmode@gnu.org; Fri, 20 Apr 2007 04:12:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HeoEa-0000QJ-Bb for emacs-orgmode@gnu.org; Fri, 20 Apr 2007 04:12:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeoEa-0000QE-71 for emacs-orgmode@gnu.org; Fri, 20 Apr 2007 04:12:48 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Heo9X-0001ku-Aj for emacs-orgmode@gnu.org; Fri, 20 Apr 2007 04:07:35 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Scott Jaderholm Cc: emacs-orgmode@gnu.org You probably have Emacs 21 under Linux and Emacs 22 under Windows. This is a difference in the implementation of `outline-hide-sublevels' between these versions, and Org-mode simply calls this function. I believe you could take the Emacs 21 definition of this function and overwrite the Emacs 22 one by placing the definition into outline-mode-hook, but I have not tested this. - Carsten On Apr 19, 2007, at 23:18, Scott Jaderholm wrote: > On Linux I can have org open a file and display it like this: > > * Local Settings... > > * Projects > ** Foo > > * Something > > Notice that it's nice about letting me having blank lines between my > top level headings, even though they are to some degree compacted. I > think my setting is "content" for how expanded it should be. > > When I open the same file in Emacs on Windows, with the same > configuration files, I get this: > > * Local Settings... > * Projects > ** Foo > * Something > > There are no blank lines at all, but if I use S-Tab to expand it all > out there are plenty of blank lines. > > The file does say it's in Unix mode and I suspect this problem is more > likely caused by a setting I have wrong than a bug. Has anyone seen > this before or have an idea what is causing this behavior? > > Thanks, > Scott > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477