From: Stig Brautaset <stig@brautaset.org>
To: Oleh Krehel <ohwoeowho@gmail.com>
Cc: Alex Branham <alex.branham@gmail.com>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Ediff org files starts folded
Date: Thu, 02 Nov 2017 23:54:13 +0000 [thread overview]
Message-ID: <m2fu9w6xui.fsf@brautaset.org> (raw)
In-Reply-To: <CAA01p3rSzUYvH4EmwOjw0xG=3q049fujbfC5Qi6vGZCV03EPfg@mail.gmail.com>
Oleh Krehel <ohwoeowho@gmail.com> writes:
> Here's what I use:
>
> (defun ora-ediff-prepare-buffer ()
> (when (memq major-mode '(org-mode emacs-lisp-mode))
> (outline-show-all)))
>
> (add-hook 'ediff-prepare-buffer-hook 'ora-ediff-prepare-buffer)
Thank you! This works very well for me. It's been on my TODO list to
figure out how to do this for a while.
Stig
next prev parent reply other threads:[~2017-11-02 23:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-25 14:04 Ediff org files starts folded Alex Branham
2017-10-25 14:55 ` Tory S. Anderson
2017-10-25 15:02 ` Neil Jerram
2017-10-25 18:25 ` Jorge Morais Neto
2017-10-25 18:30 ` Oleh Krehel
2017-10-25 18:43 ` Alex Branham
2017-11-02 23:54 ` Stig Brautaset [this message]
[not found] <mailman.97.1509033615.24552.emacs-orgmode@gnu.org>
2017-10-26 17:31 ` edgar
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=m2fu9w6xui.fsf@brautaset.org \
--to=stig@brautaset.org \
--cc=alex.branham@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ohwoeowho@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).