[Orgmode] Re: org-default-notes-file
Louis Turk l...@dayspringpublisher.com writes: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-default-notes-file
Am 18.10.2010 09:16, schrieb Noorul Islam K M: Louis Turkl...@dayspringpublisher.com writes: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul Hi Noorul, would this not indicate a bug anyway? IMHO functions needed should be available, if org-mode is activated. BTW at my machine org-string-nw-p is defined in the git-repo only, not in the installed org-macs.el. HTH Andreas -- https://code.launchpad.net/~a-roehler/python-mode/python-mode-components https://code.launchpad.net/s-x-emacs-werkstatt/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 18.10.2010 09:16, schrieb Noorul Islam K M: Louis Turkl...@dayspringpublisher.com writes: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul Hi Noorul, would this not indicate a bug anyway? IMHO functions needed should be available, if org-mode is activated. BTW at my machine org-string-nw-p is defined in the git-repo only, not in the installed org-macs.el. HTH Strange that org-string-nw-p is not there in org-macs.el. Which version of orgmode and emacs are you using? Also are you trying to setup orgmode for the first time? If so do you mind sharing .emacs? Thanks and Regards Noorul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
Louis Turk l...@dayspringpublisher.com writes: On 10/18/2010 03:16 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul Thanks for responding, but that doesn't seem to cure the problem. I still get the same error message. Which version of emacs and org-mode are you using? M-x emacs-version M-x org-version Thanks and Regards Noorul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
Louis Turk l...@dayspringpublisher.com writes: On 10/18/2010 05:09 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: On 10/18/2010 03:16 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul Thanks for responding, but that doesn't seem to cure the problem. I still get the same error message. Which version of emacs and org-mode are you using? M-x emacs-version M-x org-version Thanks and Regards Noorul GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of 2010-05-08 on pidsley.hoetzel.info Org-mode version 6.33x (release_7.01h.718.g0cb3c5.dirty) also, I'm using archlinux I think you should use Reply-To All so that everyone in the list can see your message and help out. It looks like there is a collision of org-mode versions? Do you have multiple org-mode installations? I think 6.33x is the one that comes with emacs and release 7.01h is the latest. Ensure that you have the latest version ahead in load path. Thanks and Regards Noorul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
Am 18.10.2010 11:02, schrieb Noorul Islam K M: Andreas Röhlerandreas.roeh...@easy-emacs.de writes: Am 18.10.2010 09:16, schrieb Noorul Islam K M: Louis Turkl...@dayspringpublisher.com writes: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul Hi Noorul, would this not indicate a bug anyway? IMHO functions needed should be available, if org-mode is activated. BTW at my machine org-string-nw-p is defined in the git-repo only, not in the installed org-macs.el. HTH Strange that org-string-nw-p is not there in org-macs.el. Seems not that strange for me. git blame says, org-mobile.el, where it's defined, started 2009-09-15 So vendors might not have it, it's not distributed yet maybe. If distributed, (require 'org-macs) isn't needed BTW, because org.el already requires it then. So my recommendation is just to load the git-version: git clone git://repo.or.cz/org-mode.git Andreas Which version of orgmode and emacs are you using? Also are you trying to setup orgmode for the first time? If so do you mind sharing .emacs? Thanks and Regards Noorul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
On 10/18/2010 05:20 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: On 10/18/2010 05:09 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: On 10/18/2010 03:16 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.comwrites: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul Thanks for responding, but that doesn't seem to cure the problem. I still get the same error message. Which version of emacs and org-mode are you using? M-x emacs-version M-x org-version Thanks and Regards Noorul GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of 2010-05-08 on pidsley.hoetzel.info Org-mode version 6.33x (release_7.01h.718.g0cb3c5.dirty) also, I'm using archlinux I think you should use Reply-To All so that everyone in the list can see your message and help out. Thanks. I didn't realize I wasn't replying to the list. It looks like there is a collision of org-mode versions? Do you have multiple org-mode installations? Not on purpose, but probably. I think I used git to get the latest org-mode. I think 6.33x is the one that comes with emacs and release 7.01h is the latest. Ensure that you have the latest version ahead in load path. Thanks and Regards Noorul This is my .emacs, if that will help. Perhaps something in my .emacs is conflicting. It probably needs a lot of cleaning up. (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(canlock-password 129de665b1f8f1c95eaaa9daca897b054d323b2b) '(column-number-mode t) '(current-language-environment UTF-8) '(debug-on-error t) '(muse-project-alist (quote ((WikiPlanner (~/plans :default index :major-mode planner-mode :visit-link planner-visit-link) '(org-agenda-files (quote (~/org/anniversaries.org ~/org/schedule.org ~/org/projects.org))) '(safe-local-variable-values (quote ((Package . CL-PPCRE) (Syntax . COMMON-LISP) (Package . CL-USER) (Base . 10 '(save-place t nil (saveplace)) '(scroll-bar-mode (quote right)) '(show-paren-mode t) '(size-indication-mode t) '(uniquify-buffer-name-style (quote forward) nil (uniquify)) '(vc-handled-backends (quote (Git SVN CVS RCS SCCS Arch (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:inherit nil :stipple nil :background honeydew :foreground black :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 136 :width normal :foundry unknown :family Gentium) (global-set-key \C-x\C-m 'execute-extended-command) (global-set-key \C-c\C-m 'execute-extended-command) ;(setq custom-file ~/.emacs-custom.elc) ;(load custom-file) (setq inhibit-splash-screen '(t)) (put 'downcase-region 'disabled nil) (put 'upcase-region 'disabled nil) ;;; Maltron keyboard navagation ;; Moving down (global-set-key (kbd s-k) 'next-line) (global-set-key (kbd s-o) 'forward-char) (global-set-key (kbd s-r) 'forward-word) (global-set-key (kbd s-') 'forward-sentence) (global-set-key (kbd s-l) 'forward-paragraph) (global-set-key (kbd s-z) 'forward-page) (global-set-key (kbd s-x) 'end-of-buffer) ;; Moving up - (global-set-key (kbd s-u) 'previous-line) (global-set-key (kbd s-t) 'backward-char) (global-set-key (kbd s-d) 'backward-word) (global-set-key (kbd s-m) 'backward-sentence) (global-set-key (kbd s-v) 'backward-paragraph) (global-set-key (kbd s-w) 'backward-page) (global-set-key (kbd s-;) 'beginning-of-buffer) ;; Move to middle (defun goto-middle-of-line () (interactive) (let ((begin (progn (beginning-of-line) (point))) (end (progn (end-of-line) (point (goto-char (/ (+ begin end) 2 (global-set-key (kbd s-h) 'goto-middle-of-line) ;; Search forward (global-set-key
[Orgmode] Re: org-default-notes-file
Louis Turk l...@dayspringpublisher.com writes: On 10/18/2010 05:20 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: On 10/18/2010 05:09 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: On 10/18/2010 03:16 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.comwrites: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul Thanks for responding, but that doesn't seem to cure the problem. I still get the same error message. Which version of emacs and org-mode are you using? M-x emacs-version M-x org-version Thanks and Regards Noorul GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of 2010-05-08 on pidsley.hoetzel.info Org-mode version 6.33x (release_7.01h.718.g0cb3c5.dirty) also, I'm using archlinux I think you should use Reply-To All so that everyone in the list can see your message and help out. Thanks. I didn't realize I wasn't replying to the list. It looks like there is a collision of org-mode versions? Do you have multiple org-mode installations? Not on purpose, but probably. I think I used git to get the latest org-mode. I think 6.33x is the one that comes with emacs and release 7.01h is the latest. Ensure that you have the latest version ahead in load path. Thanks and Regards Noorul This is my .emacs, if that will help. Perhaps something in my .emacs is conflicting. It probably needs a lot of cleaning up. (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(canlock-password 129de665b1f8f1c95eaaa9daca897b054d323b2b) '(column-number-mode t) '(current-language-environment UTF-8) '(debug-on-error t) '(muse-project-alist (quote ((WikiPlanner (~/plans :default index :major-mode planner-mode :visit-link planner-visit-link) '(org-agenda-files (quote (~/org/anniversaries.org ~/org/schedule.org ~/org/projects.org))) '(safe-local-variable-values (quote ((Package . CL-PPCRE) (Syntax . COMMON-LISP) (Package . CL-USER) (Base . 10 '(save-place t nil (saveplace)) '(scroll-bar-mode (quote right)) '(show-paren-mode t) '(size-indication-mode t) '(uniquify-buffer-name-style (quote forward) nil (uniquify)) '(vc-handled-backends (quote (Git SVN CVS RCS SCCS Arch (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:inherit nil :stipple nil :background honeydew :foreground black :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 136 :width normal :foundry unknown :family Gentium) (global-set-key \C-x\C-m 'execute-extended-command) (global-set-key \C-c\C-m 'execute-extended-command) ;(setq custom-file ~/.emacs-custom.elc) ;(load custom-file) (setq inhibit-splash-screen '(t)) (put 'downcase-region 'disabled nil) (put 'upcase-region 'disabled nil) ;;; Maltron keyboard navagation ;; Moving down (global-set-key (kbd s-k) 'next-line) (global-set-key (kbd s-o) 'forward-char) (global-set-key (kbd s-r) 'forward-word) (global-set-key (kbd s-') 'forward-sentence) (global-set-key (kbd s-l) 'forward-paragraph) (global-set-key (kbd s-z) 'forward-page) (global-set-key (kbd s-x) 'end-of-buffer) ;; Moving up - (global-set-key (kbd s-u) 'previous-line) (global-set-key (kbd s-t) 'backward-char) (global-set-key (kbd s-d) 'backward-word) (global-set-key (kbd s-m) 'backward-sentence) (global-set-key (kbd s-v) 'backward-paragraph) (global-set-key (kbd s-w) 'backward-page) (global-set-key (kbd s-;) 'beginning-of-buffer) ;; Move to middle (defun goto-middle-of-line () (interactive) (let ((begin (progn (beginning-of-line) (point))) (end (progn (end-of-line)
[Orgmode] Re: org-default-notes-file
On 10/18/2010 06:03 PM, Noorul Islam K M wrote: Can you move following line to the beginning for org-mode settings? (add-to-list 'load-path ~/org-mode/lisp/) Thanks and Regards Noorul Thanks, you are really trying hard to help me. But I still get the same error message. Lou ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
On 10/18/2010 05:39 PM, Andreas Röhler wrote: Am 18.10.2010 11:02, schrieb Noorul Islam K M: Andreas Röhlerandreas.roeh...@easy-emacs.de writes: Am 18.10.2010 09:16, schrieb Noorul Islam K M: Louis Turkl...@dayspringpublisher.com writes: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul Hi Noorul, would this not indicate a bug anyway? IMHO functions needed should be available, if org-mode is activated. BTW at my machine org-string-nw-p is defined in the git-repo only, not in the installed org-macs.el. HTH Strange that org-string-nw-p is not there in org-macs.el. Seems not that strange for me. git blame says, org-mobile.el, where it's defined, started 2009-09-15 So vendors might not have it, it's not distributed yet maybe. If distributed, (require 'org-macs) isn't needed BTW, because org.el already requires it then. So my recommendation is just to load the git-version: git clone git://repo.or.cz/org-mode.git Andreas Andreas, Thanks for replying. I updated using lat-a-ws% git clone git://repo.or.cz/org-mode.git but I still get the same error message. Lou ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
Louis Turk l...@dayspringpublisher.com writes: On 10/18/2010 06:03 PM, Noorul Islam K M wrote: Can you move following line to the beginning for org-mode settings? (add-to-list 'load-path ~/org-mode/lisp/) Thanks and Regards Noorul Thanks, you are really trying hard to help me. But I still get the same error message. Try to find out which version of org-mode is actually loaded. May be you can use M-x find-library org to find which org.el is loaded. Thanks and Regards Noorul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
On 10/18/2010 07:17 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: On 10/18/2010 06:03 PM, Noorul Islam K M wrote: Can you move following line to the beginning for org-mode settings? (add-to-list 'load-path ~/org-mode/lisp/) Thanks and Regards Noorul Thanks, you are really trying hard to help me. But I still get the same error message. Try to find out which version of org-mode is actually loaded. May be you can use M-x find-library org to find which org.el is loaded. Thanks and Regards Noorul That loaded ~/org-mode/lisp/org.el Louis ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
Am 18.10.2010 13:10, schrieb Louis Turk: On 10/18/2010 05:39 PM, Andreas Röhler wrote: Am 18.10.2010 11:02, schrieb Noorul Islam K M: Andreas Röhlerandreas.roeh...@easy-emacs.de writes: Am 18.10.2010 09:16, schrieb Noorul Islam K M: Louis Turkl...@dayspringpublisher.com writes: Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file ~/org/refile.org) But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available)) (setq file (or (org-string-nw-p file) org-default-notes-file (error No notes file specified, and no default available))) org-capture-target-buffer(~/org/refile.org) (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? This function is defined in org-macs.el. I think you should have in your .emacs. (require 'org-macs) Thanks and Regards Noorul Hi Noorul, would this not indicate a bug anyway? IMHO functions needed should be available, if org-mode is activated. BTW at my machine org-string-nw-p is defined in the git-repo only, not in the installed org-macs.el. HTH Strange that org-string-nw-p is not there in org-macs.el. Seems not that strange for me. git blame says, org-mobile.el, where it's defined, started 2009-09-15 So vendors might not have it, it's not distributed yet maybe. If distributed, (require 'org-macs) isn't needed BTW, because org.el already requires it then. So my recommendation is just to load the git-version: git clone git://repo.or.cz/org-mode.git Andreas Andreas, Thanks for replying. I updated using lat-a-ws% git clone git://repo.or.cz/org-mode.git but I still get the same error message. Lou Hi Lou, same here unfortunatly. load-path displays the git-org repo, org-mode is loaded from there. (require 'org-macs) is present there but org-string-nw-p still unknown. Hm, no idea ... I'll drop Carsten a cc, maybe he knows what to do. Andreas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-default-notes-file
At Mon, 18 Oct 2010 13:54:30 +0200, Andreas Röhler wrote: same here unfortunatly. load-path displays the git-org repo, org-mode is loaded from there. (require 'org-macs) is present there but org-string-nw-p still unknown. The only explanation that makes sense to me is a mixup of old and new Org files: org-string-nw-p is a regular function and org-macs is required by org.el It was added Tue Jul 20 07:54:11 2010 +0200 -- do you have a function: org-not-nil (C-h f org-not-nil RET) and, say, org-plist-delete (C-h f org-plist-delete RET) If so, the help shows the file where the function is defined. Can you verify that this is the file in the clone of the git repository? Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpxUzevxhwT5.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-default-notes-file
On Mon, 18 Oct 2010 19:36:18 +0800, Louis Turk l...@dayspringpublisher.com wrote: On 10/18/2010 07:17 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: On 10/18/2010 06:03 PM, Noorul Islam K M wrote: Can you move following line to the beginning for org-mode settings? (add-to-list 'load-path ~/org-mode/lisp/) Thanks and Regards Noorul Thanks, you are really trying hard to help me. But I still get the same error message. yes but did you move it to the right place? further, you should also move the (require 'org-install) to come before anything else, but after the load-path setting. I have the following at the start of my org customisations: : (add-to-list 'load-path ~/git/org-mode/lisp) : (require 'org-install) After making the changes, check org-version again. Are you still getting 6.33 or are you now in 7.01xxx? I should also add that I set my default org notes file to a file name without a path but define org-directory to point to the appropriate directory: : (setq org-directory ~/git/notes : org-default-notes-file notes.org) HTH, eric -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-default-notes-file
Am 18.10.2010 20:16, schrieb David Maus: At Mon, 18 Oct 2010 13:54:30 +0200, Andreas Röhler wrote: same here unfortunatly. load-path displays the git-org repo, org-mode is loaded from there. (require 'org-macs) is present there but org-string-nw-p still unknown. The only explanation that makes sense to me is a mixup of old and new Org files: org-string-nw-p is a regular function and org-macs is required by org.el It was added Tue Jul 20 07:54:11 2010 +0200 -- do you have a function: org-not-nil (C-h f org-not-nil RET) and, say, org-plist-delete (C-h f org-plist-delete RET) If so, the help shows the file where the function is defined. Can you verify that this is the file in the clone of the git repository? Best, -- David Hi, some good news: with emacs -Q and evaluating (add-to-list 'load-path ~/org-mode/lisp/) (load ~/org-mode/lisp/org.el)) it's fine. Thanks all Andreas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-default-notes-file
Hi, Noorul Islam K M wrote: Louis Turk l...@dayspringpublisher.com writes: On 10/18/2010 05:20 PM, Noorul Islam K M wrote: Louis Turkl...@dayspringpublisher.com writes: GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of 2010-05-08 on pidsley.hoetzel.info Org-mode version 6.33x (release_7.01h.718.g0cb3c5.dirty) Such a mix clearly indicates that: - you have used some libs from v6.33 - you have a clean working copy of the current Org elsewhere If you look at your load-path, you will see that your repo is before the Org directory from the standard Emacs, that what you expect. Though, it seems not respected... Reason is you have autoloads that called some libs to be loaded *before* you properly add the path to your Org WC, and before you explicitly load it. For example, an s-expr in your diary file, when that one is read, or something like that. You can chase such things using my modified version of require: --8---cut here---start-8--- ;; REPLACES ORIGINAL in `C source code' (dumped) ;; redefine require to leave a trace of packages being loaded (if (not (fboundp 'orig-require)) (fset 'orig-require (symbol-function 'require)) (message The code to redefine `require' should not be loaded twice)) (defvar my/require-depth 0) (defun require (feature optional filename noerror) Leave a trace of packages being loaded. (cond ((member feature features) (message %sRequiring `%s' (already loaded) (concat (make-string (* 2 my/require-depth) ? ) +- ) feature)) (t (message %sRequiring `%s' (concat (make-string (* 2 my/require-depth) ? ) +- ) feature) (let ((my/require-depth (+ 1 my/require-depth))) (orig-require feature filename noerror)) (message %sRequiring `%s'...done (concat (make-string (* 2 my/require-depth) ? ) +- ) feature) --8---cut here---end---8--- With such, you certainly will see that Org is loaded before you think it is, hence loading the libs that come with the standard distrib of your Emacs. Solution is to put something similar to this at the earliest possible in your .emacs: --8---cut here---start-8--- (my/add-to-load-path ~/src/org/ 'with-subdirs 'recursive) (when (try-require 'org-install) --8---cut here---end---8--- Note that this is very very tricky... Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode