Oleh Krehel 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.
Yeah, it would be nice to have something that folds the tree back to its
original state after the ediff! (excitement)
-
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the
NSA's hands!
$24.95 ONETIME Lifetime accounts
Thanks, I think this does exactly what I was looking for!
Alex
On Wed 25 Oct 2017 at 18:30, Oleh Krehel wrote:
> Here's what I use:
>
> (defun ora-ediff-prepare-buffer ()
> (when (memq major-mode '(org-mode emacs-lisp-mode))
> (outline-show-all)))
>
> (add-hook
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)
regards,
Oleh
On 25 October 2017 at 12:04, Alex Branham wrote:
> Whenever I ediff an org file, the three windows start with the content folded
> and out of site. I have to navigate to windows A, B, and C and hit S-
> until everything is visible. Does anyone know a way to start org
org-startup-folded nil
On 25/10/17 15:55, Tory S. Anderson wrote:
I've wondered the same thing. Normally I just manually and
open all bullets before ediffing, but this assumes, of course, that
the file is already open.
Alex Branham writes:
Hello -
Whenever I
I've wondered the same thing. Normally I just manually and
open all bullets before ediffing, but this assumes, of course,
that the file is already open.
Alex Branham writes:
Hello -
Whenever I ediff an org file, the three windows start with the
content folded and
Hello -
Whenever I ediff an org file, the three windows start with the content folded
and out of site. I have to navigate to windows A, B, and C and hit S-
until everything is visible. Does anyone know a way to start org mode files
unfolded when ediffing them?
Thanks!
Alex