open notes in second window. expand section
authorJohn Kitchin <jkitchin@andrew.cmu.edu>
Thu, 25 Sep 2014 00:37:23 +0000 (20:37 -0400)
committerJohn Kitchin <jkitchin@andrew.cmu.edu>
Thu, 25 Sep 2014 00:37:23 +0000 (20:37 -0400)
org-ref.org

index 11e36c0..9685dca 100644 (file)
@@ -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