emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Scott Jaderholm <jaderholm@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: no blank lines in org file opened in Emacs on Windows
Date: Fri, 20 Apr 2007 18:47:41 +0200	[thread overview]
Message-ID: <cad94f73e17e3d901ae194d470d288f6@science.uva.nl> (raw)
In-Reply-To: <b2e202b30704200759w5bf80a7dob0524b308e60a481@mail.gmail.com>


On Apr 20, 2007, at 16:59, Scott Jaderholm wrote:
>   (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 
use org-cycle-hook and to show those empty lines with a function in 
there.

- Carsten

  reply	other threads:[~2007-04-20 16:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19 21:18 no blank lines in org file opened in Emacs on Windows Scott Jaderholm
2007-04-20  6:52 ` Carsten Dominik
2007-04-20 14:59   ` Scott Jaderholm
2007-04-20 16:47     ` Carsten Dominik [this message]
2007-04-20 19:54       ` Scott Jaderholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cad94f73e17e3d901ae194d470d288f6@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=jaderholm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).