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 18:47:41 +0200 Message-ID: References: <3a1bfc164968651192935a29ea98ea08@science.uva.nl> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HewM0-0002ag-R4 for emacs-orgmode@gnu.org; Fri, 20 Apr 2007 12:53:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HewLx-0002Zb-3e for emacs-orgmode@gnu.org; Fri, 20 Apr 2007 12:53:00 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HewLw-0002ZU-TB for emacs-orgmode@gnu.org; Fri, 20 Apr 2007 12:52:56 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HewGr-00009G-Fs for emacs-orgmode@gnu.org; Fri, 20 Apr 2007 12:47:41 -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 On Apr 20, 2007, at 16:59, Scott Jaderholm wrote: > =A0 (run-hooks 'outline-view-change-hook)) > > (add-hook 'outline-mode-hook 'hide-sublevels) This is a misunderstanding, sorry for not being clearer: I meant: (add-hook 'outline-mode-hook (lambda () (defun hide-sublevels ...... where the defun .... is the full definition of hide-sublevels from the emacs 21 outline. This to override the new definition *after* loading the old one. Remember that this is only a hack - maybe a better solution would be to=20= use org-cycle-hook and to show those empty lines with a function in=20 there. - Carsten