From: John Kitchin Date: Thu, 25 Sep 2014 00:37:23 +0000 (-0400) Subject: open notes in second window. expand section X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=commitdiff_plain;h=04eabc88149c79123cf7380df1708433973a66af open notes in second window. expand section --- 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