From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Bug: Deep refile doesn't work [7.9.2 (release_7.9.2-561-g6b6330-git @ org-loaddefs.el can not be found!)] Date: Fri, 02 Nov 2012 08:36:32 -1000 Message-ID: References: <7C2B44CF-F22B-464F-A875-2989FA7E5AA6@fys.uio.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUM79-0000uX-NL for emacs-orgmode@gnu.org; Fri, 02 Nov 2012 14:37:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUM77-0002zt-Q5 for emacs-orgmode@gnu.org; Fri, 02 Nov 2012 14:37:07 -0400 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:60442) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TUM77-0002yl-GH for emacs-orgmode@gnu.org; Fri, 02 Nov 2012 14:37:05 -0400 In-Reply-To: <7C2B44CF-F22B-464F-A875-2989FA7E5AA6@fys.uio.no> (Ole Myren Rohne's message of "Fri, 2 Nov 2012 10:36:43 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ole Myren Rohne Cc: emacs-orgmode@gnu.org Aloha Ole, Something is wrong with your setup. See the message about org-loaddefs.el not being found. I don't pretend to understand the Org build system, but using Org from git on my Mac I had to modify local.mk to ensure that the old emacs that ships with the Mac wasn't found when Org was building. I mention this because one of the symptoms of my incorrect build was the message that you are getting. I haven't seen it since I pointed the build to my emacs 24.2 installation. hth, Tom Ole Myren Rohne writes: > Hi, > > I expect to be able to C-c C-w, select some node a few levels down inside another file, and my node should land there. Instead I get the message "Please save the buffer to a file before refiling", and the target file is not updated. > > I've configured at least two refile-variables that might be relevant, > org-refile-targets > org-refile-use-outline-path > see below for details. > > Many thanks, Ole > > Emacs : GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) > of 2012-08-27 on bob.porkrind.org > Package: Org-mode version 7.9.2 (release_7.9.2-561-g6b6330-git @ org-loaddefs.el can not be found!) > > current state: > ============== > (setq > org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) > org-tab-first-hook '(org-hide-block-toggle-maybe > org-src-native-tab-command-maybe > org-babel-hide-result-toggle-maybe > org-babel-header-arg-expand) > org-goto-interface 'outline-path-completion > org-speed-command-hook '(org-speed-command-default-hook > org-babel-speed-command-hook) > org-agenda-cleanup-fancy-diary-hook '((lambda nil (goto-char (point-min)) > (save-excursion > (while > (re-search-forward "^[a-z]" nil t) > (goto-char (match-beginning 0)) > (insert "0:00-24:00 ")) > ) > (while > (re-search-forward "^ [a-z]" nil t) > (goto-char (match-beginning 0)) > (save-excursion > (re-search-backward > "^[0-9]+:[0-9]+-[0-9]+:[0-9]+ " nil > t) > ) > (insert (match-string 0))) > ) > ) > org-occur-hook '(org-first-headline-recenter) > org-metaup-hook '(org-babel-load-in-session-maybe) > org-clock-into-drawer "LOGBOOK" > org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) > org-confirm-shell-link-function 'yes-or-no-p > org-goto-max-level 3 > org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc > org-beamer-auto-fragile-frames > org-beamer-place-default-actions-for-lists) > org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) > org-agenda-custom-commands '(("I" "Import diary from iCal" agenda "" > ((org-agenda-mode-hook > (lambda nil (org-mac-iCal))) > ) > ) > ("n" "Agenda and all TODO's" > ((agenda "") (alltodo))) > ) > org-default-notes-file "~/Documents/Projects/notes.org" > org-capture-templates '(("t" "Task" entry (file+headline "" "Tasks") > "* TODO %?\n :LOGBOOK:\n - Started on %U\n :END:\n %a") > ("j" "Journal" entry > (file+datetree "~/Documents/Projects/journal.org") > "* %?\n %u\n %i\n %a") > ) > org-agenda-include-diary t > org-after-todo-state-change-hook '(org-clock-out-if-current) > org-from-is-user-regexp "\\" > org-src-mode-hook '(org-src-babel-configure-edit-buffer > org-src-mode-configure-edit-buffer) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-babel-pre-tangle-hook '(save-buffer) > org-mode-hook '((lambda nil > (org-add-hook (quote change-major-mode-hook) > (quote org-show-block-all) (quote append) (quote local)) > ) > (lambda nil > (org-add-hook (quote change-major-mode-hook) > (quote org-babel-show-result-all) (quote append) > (quote local)) > ) > org-babel-result-hide-spec org-babel-hide-all-hashes > turn-on-font-lock turn-on-flyspell) > org-export-allow-BIND t > org-refile-targets '((org-agenda-files :level . 2) (nil :maxlevel . 3)) > org-agenda-todo-list-sublevels nil > org-use-speed-commands t > org-export-latex-default-packages-alist '(("T1" "fontenc" t) > ("" "fixltx2e" nil) > ("" "graphicx" t) > ("" "longtable" nil) > ("" "float" nil) ("" "wrapfig" nil) > ("" "soul" t) ("" "textcomp" t) > ("" "marvosym" t) ("" "wasysym" t) > ("" "latexsym" t) ("" "amssymb" t) > ("" "hyperref" nil) > "\\tolerance=1000") > org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point > org-babel-execute-safely-maybe) > org-refile-use-outline-path 'file > org-directory "~/Documents/Projects/" > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers > org-cycle-hide-inline-tasks org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-export-latex-format-toc-function 'org-export-latex-format-toc-default > org-log-refile 'time > org-mobile-encryption-tempfile "~/Dropbox/Projects/orgtmpcrypt" > org-export-first-hook '(org-beamer-initialize-open-trackers) > org-export-latex-image-default-option "width=.99\\linewidth" > org-export-preprocess-hook '(org-export-bibtex-preprocess) > org-refile-allow-creating-parent-nodes 'confirm > org-todo-keywords '((sequence "TODO(t!/!)" "NEXT(n!/!)" "STARTED(s!/!)" "|" > "DONE(d!/!)") > (sequence "WAITING(w@/!)" "SOMEDAY(S!)" "|" > "CANCELLED(c@/!)" "PHONE") > (sequence "OPEN(O!)" "|" "CLOSED(C!)")) > org-mac-grab-Skim-app-p t > org-timer-default-timer 25 > org-beamer-environments-extra '(("tikzpicture" "p" "\\begin{tikzpicture}" > "\\end{tikzpicture}") > ) > org-babel-tangle-lang-exts '(("lisp" . "lisp") ("maxima" . "mac") > ("emacs-lisp" . "el")) > org-confirm-elisp-link-function 'yes-or-no-p > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-log-into-drawer t > org-export-preprocess-after-include-files-hook '(org-beamer-set-text-properties) > org-mobile-directory "~/Dropbox/Projects/" > org-babel-load-languages '((emacs-lisp . t) (sh . t) (maxima . t) > (gnuplot . t)) > org-clock-in-hook '((lambda nil (org-timer-set-timer))) > org-agenda-files '("~/Documents/Projects/") > org-clock-out-hook '(org-clock-remove-empty-clock-drawer) > org-confirm-babel-evaluate nil > org-mobile-inbox-for-pull "~/Dropbox/Projects/from-mobile.org" > ) > > > -- Thomas S. Dye http://www.tsdye.com