From 04eabc88149c79123cf7380df1708433973a66af Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Wed, 24 Sep 2014 20:37:23 -0400 Subject: [PATCH] open notes in second window. expand section --- org-ref.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org-ref.org b/org-ref.org index 11e36c0..9685dca 100644 --- a/org-ref.org +++ b/org-ref.org @@ -1725,7 +1725,7 @@ construct the heading by hand." ;; now look for entry in the notes file (if org-ref-bibliography-notes - (find-file org-ref-bibliography-notes) + (find-file-other-window org-ref-bibliography-notes) (error "org-ref-bib-bibliography-notes is not set to anything")) (goto-char (point-min)) @@ -1733,7 +1733,10 @@ construct the heading by hand." (if (re-search-forward (format ":Custom_ID: %s$" key) nil 'end) (progn (org-show-entry) + (show-branches) (show-children) + (org-cycle '(64)) + ;(org-tree-to-indirect-buffer) (outline-previous-visible-heading 1) (recenter-top-bottom 0)) ;; no entry found, so add one -- 2.39.2