From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ole Rohne 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, 2 Nov 2012 18:41:48 +0000 Message-ID: <6gve0unsxpiuit1goqy9p3yv.1351881470808@email.android.com> References: <7C2B44CF-F22B-464F-A875-2989FA7E5AA6@fys.uio.no>, Reply-To: Ole Rohne Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_6gve0unsxpiuit1goqy9p3yv1351881470808emailandroidcom_" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUMVh-0004TO-4e for emacs-orgmode@gnu.org; Fri, 02 Nov 2012 15:02:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUMVe-0002q0-HO for emacs-orgmode@gnu.org; Fri, 02 Nov 2012 15:02:29 -0400 Received: from cernmx30.cern.ch ([137.138.144.177]:58501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUMVe-0002pV-1Z for emacs-orgmode@gnu.org; Fri, 02 Nov 2012 15:02:26 -0400 In-Reply-To: Content-Language: en-GB 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: "Thomas S. Dye" , "o.m.rohne@fys.uio.no" Cc: "emacs-orgmode@gnu.org" --_000_6gve0unsxpiuit1goqy9p3yv1351881470808emailandroidcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Thomas, Thanks for the tip! I though I had fixed local.mk to use Emacs.app, but I'll check again. I do = think the error shows up also with non-compiled .el files... Ole "Thomas S. Dye" wrote: 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 "Pl= ease 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-load= defs.el can not be found!) > > current state: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > (setq > org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-sel= ect-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-lin= k-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 :E= ND:\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=3D1000") > 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=3D.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}<= file://\\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-prop= erties) > 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 --_000_6gve0unsxpiuit1goqy9p3yv1351881470808emailandroidcom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Thomas,
Thanks for the tip!
I though I had fixed local.mk to use Emacs.app, but I'll check again. = I do think the  error shows up also with non-compiled .el files...
Ole

"Thomas S. Dye" <tsd@tsdye.com> wrote:
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 <o.m.rohne@fys.uio.no> writes:

> Hi,
>
> I expect to be able to C-c C-w, select some node a few levels down ins= ide another file, and my node should land there. Instead I get the message = "Please save the buffer to a file before refiling", and the targe= t file is not updated.
>
> I've configured at least two refile-variables that might be relevant,<= br> >    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-1= 038.36)
> of 2012-08-27 on bob.porkrind.org
> Package: Org-mode version 7.9.2 (release_7.9.2-561-g6b6330-git @ org-l= oaddefs.el can not be found!)
>
> current state:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> (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-resu= lt-toggle-maybe
>            = ;          org-babel-header-ar= g-expand)
> org-goto-interface 'outline-path-completion
> org-speed-command-hook '(org-speed-command-default-hook
>            = ;            &n= bsp; org-babel-speed-command-hook)
> org-agenda-cleanup-fancy-diary-hook '((lambda nil (goto-char (point-mi= n))
>            = ;            &n= bsp;            = ;   (save-excursion
>            = ;            &n= bsp;            = ;    (while
>            = ;            &n= bsp;            = ;     (re-search-forward "^[a-z]" nil t)
>            = ;            &n= bsp;            = ;     (goto-char (match-beginning 0))
>            = ;            &n= bsp;            = ;     (insert "0:00-24:00 "))
>            = ;            &n= bsp;            = ;    )
>            = ;            &n= bsp;            = ;   (while
>            = ;            &n= bsp;            = ;    (re-search-forward "^ [a-z]" nil t)
>            = ;            &n= bsp;            = ;    (goto-char (match-beginning 0))
>            = ;            &n= bsp;            = ;    (save-excursion
>            = ;            &n= bsp;            = ;     (re-search-backward
>            = ;            &n= bsp;            = ;      "^[0-9]+:[0-9]+-[0-9]+:[0-= 9]+ " nil
>            = ;            &n= bsp;            = ;      t)
>            = ;            &n= bsp;            = ;     )
>            = ;            &n= bsp;            = ;    (insert (match-string 0)))
>            = ;            &n= bsp;            = ;   )
>            = ;            &n= bsp;            = ;  )
> 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-t= oc
>            = ;            &n= bsp;      org-beamer-auto-fragile-frames
>            = ;            &n= bsp;      org-beamer-place-default-actions-for-lis= ts)
> org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-va= rs)
> org-agenda-custom-commands '(("I" "Import diary from iC= al" agenda ""
>            = ;            &n= bsp;      ((org-agenda-mode-hook
>            = ;            &n= bsp;        (lambda nil (org-mac-iCal)))=
>            = ;            &n= bsp;       )
>            = ;            &n= bsp;      )
>            = ;            &n= bsp;     ("n" "Agenda and all TODO's&quo= t;
>            = ;            &n= bsp;      ((agenda "") (alltodo)))
>            = ;            &n= bsp;     )
> org-default-notes-file "~/Documents/Projects/notes.org"
> org-capture-templates '(("t" "Task" entry (file= 3;headline "" "Tasks")
>            = ;            &n= bsp; "* TODO %?\n  :LOGBOOK:\n  - Started on %U\n  :END= :\n  %a")
>            = ;             (= "j" "Journal" entry
>            = ;            &n= bsp; (file+datetree "~/Documents/Projects/journal.org")
>            = ;            &n= bsp; "* %?\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 "\\<Ole Myren Rohne\\>"
> org-src-mode-hook '(org-src-babel-configure-edit-buffer
>            = ;         org-src-mode-configure-ed= it-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 app= end) (quote local))
>            = ;      )
>            = ;     (lambda nil
>            = ;      (org-add-hook (quote change-major-mode-hook= )
>            = ;       (quote org-babel-show-result-all) (qu= ote append)
>            = ;       (quote local))
>            = ;      )
>            = ;     org-babel-result-hide-spec org-babel-hide-all-has= hes
>            = ;     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" "fonten= c" t)
>            = ;            &n= bsp;            = ;      ("" "fixltx2e" nil)
>            = ;            &n= bsp;            = ;      ("" "graphicx" t)
>            = ;            &n= bsp;            = ;      ("" "longtable" nil) >            = ;            &n= bsp;            = ;      ("" "float" nil) ("= ;" "wrapfig" nil)
>            = ;            &n= bsp;            = ;      ("" "soul" t) ("&q= uot; "textcomp" t)
>            = ;            &n= bsp;            = ;      ("" "marvosym" t) (&quo= t;" "wasysym" t)
>            = ;            &n= bsp;            = ;      ("" "latexsym" t) (&quo= t;" "amssymb" t)
>            = ;            &n= bsp;            = ;      ("" "hyperref" nil)
>            = ;            &n= bsp;            = ;      "\\tolerance=3D1000")
> org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
>            = ;            &n= bsp; 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-drawe= rs
>            = ;      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-defa= ult
> org-log-refile 'time
> org-mobile-encryption-tempfile "~/Dropbox/Projects/orgtmpcrypt&qu= ot;
> org-export-first-hook '(org-beamer-initialize-open-trackers)
> org-export-latex-image-default-option "width=3D.99\\linewidth&quo= t;
> org-export-preprocess-hook '(org-export-bibtex-preprocess)
> org-refile-allow-creating-parent-nodes 'confirm
> org-todo-keywords '((sequence "TODO(t!/!)" "NEXT(n!/!)&= quot; "STARTED(s!/!)" "|"
>            = ;          "DONE(d!/!)&qu= ot;)
>            = ;         (sequence "WAITING(w= @/!)" "SOMEDAY(S!)" "|"
>            = ;          "CANCELLED(c@/= !)" "PHONE")
>            = ;         (sequence "OPEN(O!)&= quot; "|" "CLOSED(C!)"))
> org-mac-grab-Skim-app-p t
> org-timer-default-timer 25
> org-beamer-environments-extra '(("tikzpicture" "p"= "\\begin{tikzpicture}&quo= t;
>            = ;            &n= bsp;         "\\end{tikzpicture}")
>            = ;            &n= bsp;        )
> org-babel-tangle-lang-exts '(("lisp" . "lisp") (&q= uot;maxima" . "mac")
>            = ;            &n= bsp;     ("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-p= roperties)
> org-mobile-directory "~/Dropbox/Projects/"
> org-babel-load-languages '((emacs-lisp . t) (sh . t) (maxima . t)
>            = ;            &n= bsp;   (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&quo= t;
> )
>
>
>

--
Thomas S. Dye
http://www.tsdye.com
--_000_6gve0unsxpiuit1goqy9p3yv1351881470808emailandroidcom_--