[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] no blank lines in org file opened in Emacs on Windows

From: Carsten Dominik
Subject: Re: [Orgmode] no blank lines in org file opened in Emacs on Windows
Date: Fri, 20 Apr 2007 08:52:40 +0200

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?


Emacs-orgmode mailing list

Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

reply via email to

[Prev in Thread] Current Thread [Next in Thread]