Re: [O] Ediff org files starts folded

2017-11-02 Thread Stig Brautaset
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.

Re: [O] Ediff org files starts folded

2017-10-26 Thread edgar
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

Re: [O] Ediff org files starts folded

2017-10-25 Thread Alex Branham
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

Re: [O] Ediff org files starts folded

2017-10-25 Thread Oleh Krehel
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

Re: [O] Ediff org files starts folded

2017-10-25 Thread Jorge Morais Neto
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

Re: [O] Ediff org files starts folded

2017-10-25 Thread Neil Jerram
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

Re: [O] Ediff org files starts folded

2017-10-25 Thread Tory S. Anderson
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

[O] Ediff org files starts folded

2017-10-25 Thread Alex Branham
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