]> git.donarmstrong.com Git - org-ref.git/blobdiff - org-ref.org
open notes in second window. expand section
[org-ref.git] / org-ref.org
index 71dff79ece61eaddbd83571e0ddac3e8d4c8cce2..9685dca2929357c0301c64ef9830e23ccca17285 100644 (file)
@@ -1096,8 +1096,6 @@ keyword we clicked on. We also strip the text properties."
   (interactive)
   (let* ((object (org-element-context))         
         (link-string (org-element-property :path object)))
-    (message "%s" object)
-
     ;; you may click on the part before the citations. here we make
     ;; sure to move to the beginning so you get the first citation.
     (let ((cp (point)))
@@ -1727,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))
@@ -1735,6 +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