[Orgmode] Autoloading failed to define function org-agenda after an update
Hi, After upgrading to orgmode version 6.05 (with an aptitude dist-upgrade under a debian sid system), and changing my configuration file to resolve the problem described here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg07167.html, I still have a problem when I type C-ca. I get the following error message: Autoloading failed to define function org-agenda When I type a second time C-ca, every thing works fine. Here is my configuration lines concerning org-mode: -- ;; ;; Org-mode ;; (add-to-list 'auto-mode-alist '(\\.org$ . org-mode)) (define-key global-map \C-ca 'org-agenda) (setq org-agenda-files (append (file-expand-wildcards ~/text/gtd/*.org) (file-expand-wildcards ~/text/gtd/res-proj/*.org) ) ) (setq org-log-done t); affiche l'heure d'un passage en DONE (setq org-blank-before-new-entry '((heading . t) (plain-list-item . nil))); an empty line before each newly inserted ; headline, but not before each newly inserted ; plain-list item. (setq org-todo-keywords '((sequence TODO(t) NEXT_ACTION(n) WAITING(w) | DONE(d) CANCELED(c)) (sequence PROJECT(p) SOMEDAY_MAYBE(m) SCHEDULED(s) STAND_BY(b) | FINISH(f) ABANDONED(a))) ) (eval-after-load org '(progn (define-key org-mode-map (quote [S-iso-lefttab]) (quote dabbrev-expand)) ) ) (eval-after-load org-agenda '(progn (define-key org-agenda-mode-map (quote [S-iso-lefttab]) (quote dabbrev-expand)) ; (define-key org-agenda-keymap (quote [S-iso-lefttab]) (quote dabbrev-expand)) ; ) ) (custom-set-variables '(org-agenda-show-all-dates t) '(org-agenda-skip-deadline-if-done t) '(org-agenda-skip-scheduled-if-done t) '(org-deadline-warning-days 0)) (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. ) -- Thanks in advance for you help -- Michaël Parienti ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] updating org-mode on Windows
Hello, I'm running Emacs 22.2.1 on WinXP. I've downloaded and unzipped the latest Org files (6.06b), and have modified the load-path line in my .emacs file as follows - (add-to-list 'load-path c:/path/to/org-6.06b/lisp/) This is at the top of my .emacs file so it should read this line first. However, Emacs is still loading the old version (5.23a) of Org. I've searched extensively on this, and it appears that this load-path line should do the trick, but it's not working. Any thoughts? Thanks in advance. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Autoloading failed to define function org-agenda after an update
Hi Michaël, On Mon, 4 Aug 2008 14:21:00 +0200, Michaël Parienti [EMAIL PROTECTED] said: Michaël Hi, Michaël After upgrading to orgmode version 6.05 (with an aptitude Michaël dist-upgrade under a debian sid system), and changing my Michaël configuration file to resolve the problem described here: Michaël http://www.mail-archive.com/emacs-orgmode@gnu.org/msg07167.html, Michaël I still have a problem when I type C-ca. I get the following Michaël error message: Michaël Autoloading failed to define function org-agenda Sounds like your autoload file is out of date. Check variable load-path to ensure latest org mode is the only candidate when doing a (require 'org-install). -- Paul ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Command line tricks
I've recently started using a few command line options with Org I thought I'd share, perhaps they'll inspire someone else. In my ~/.bashrc, I have defined an alias for Org that runs: emacs -nw --funcall org-agenda-list Which pulls up Org in the agenda view, which is where I wanted to be in the first place! I'm working away at latex, and I've divided up some of my files in Org, and got tired to manually triggering the export to latex. Instead now I have a makefile which runs: emacs --eval '(setq enable-local-variables :all)' \ filename.org \ -f org-export-as-latex \ -f save-buffers-kill-emacs This opens my Org file, exports it to latex, and quits. I'm very pleased with the result, because the makefile next calls pdflatex to PDF my document. The local variables override is because I set some custom headers in the documents. Enjoy! -- Russell Adams[EMAIL PROTECTED] PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] Fix typo
--- lisp/org-remember.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-remember.el b/lisp/org-remember.el index ebeb112..6274f17 100644 --- a/lisp/org-remember.el +++ b/lisp/org-remember.el @@ -207,7 +207,7 @@ user each time a remember buffer with a running clock is filed away. ;;;###autoload (defun org-remember-insinuate () - Setup remember.el for use wiht Org-mode. + Setup remember.el for use with Org-mode. (require 'remember) (setq remember-annotation-functions '(org-remember-annotation)) (setq remember-handler-functions '(org-remember-handler)) -- 1.6.0.rc1.71.gfba5 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] blorg users?
Hello I'm currently started to use blorg, and found some problems with it - for example, improper generation of relative links - for example, [[../bla-bla-bla][description]] is turned into http://my-url/:../bla-bla-bla - may be you know this problem? P.S. is any mailing list for blorg users, or better to discuss all issues in org-mode list? -- With best wishes, Alex Ott, MBA http://alexott.blogspot.com/ http://xtalk.msk.su/~ott/ http://alexott-ru.blogspot.com/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re:
Le mer 06/08/08 09:37, Paul R [EMAIL PROTECTED] a écrit: Hi Michaël, On Mon, 4 Aug 2008 14:21:00 +0200, Michaël Parienti michael @parienti.name said: Michaël Hi, Michaël After upgrading to orgmode version 6.05 (with an aptitude Michaël dist-upgrade under a debian sid system), and changing my Michaël configuration file to resolve the problem described here: Michaël http://www.mail-archive.com/emacs-o [EMAIL PROTECTED]/msg07167.html, Michaël I still have a problem when I type C-ca. I get the following Michaël error message: Michaël Autoloading failed to define function org-agenda I uninstall one of my emacs version (the snapshot one) and keep just the 22.2.1 version. I reinstall the org-mode package from debian repository. I am sure that I have only one version of the org-mode files availables for emacs: I manually deleted source directory (*..el files) and the *.elc files compiled for snapshot version of emacs. Here is the content of my load-path variable: (/usr/share/emacs22/site-lisp/python-mode /usr/share/emacs22/site-lisp/pymacs /usr/share/emacs22/site-lisp/pymacs /usr/share/emacs22/site-lisp/org-mode /usr/share/emacs22/site-lisp/css-mode /usr/share/emacs/site-lisp/css-mode /usr/share/emacs22/site-lisp/a2ps /usr/share/emacs22/site-lisp/wl /usr/share/emacs22/site-lisp/semi /usr/share/emacs22/site-lisp/w3m /usr/share/emacs22/site-lisp/w3m/shimbun /usr/share/emacs22/site-lisp/html-helper-mode ...) available in *Message* buffer. It seems troncated, but I don't know how to get it complety. -- Michaël Parienti ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] set remember default file to be originating .org file
If I invoke remember from a .org file, e.g. foo.org, I would like the default file to which the remembered note is saved to be that file, foo.org. I work on several projects at a time, and the project mix changes monthly. While on a project, I generate lots of project-specific notes and TODOs. So, I like to have project-specific .org files. Any ideas appreciated. Thanks. --Greg -- Gregory T. Sullivan, Ph.D. BAE Systems Advanced Information Technologies 6 New England Executive Park, Burlington, MA 01803 781-262-4553 (office), 978-430-3461 (cell) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Command line tricks
Russell Adams [EMAIL PROTECTED] writes: I've recently started using a few command line options with Org I thought I'd share, perhaps they'll inspire someone else. Awesome stuff Russell. Thanks for sharing. -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re:
On Wed, 6 Aug 2008 17:50:38 +0200, Michaël Parienti [EMAIL PROTECTED] said: Michaël I uninstall one of my emacs version (the snapshot one) and Michaël keep just the 22.2.1 version. I reinstall the org-mode Michaël package from debian repository. Michaël I am sure that I have only one version of the org-mode files Michaël availables for emacs: I manually deleted source directory Michaël (*..el files) and the *.elc files compiled for snapshot Michaël version of emacs. What happens if you (require 'org-install) before first call to org ? If it works straight, then you may need to find where your default org autoloads are defined. If it does not work, then you may need to rebuild the org-install file. To do so, on debian, get your package sources and run the build process. org-install.el is generated during this process IIRC. Finally, depending on your conclusions, you can write an email to the package maintainer to inform him that something is wrong in its org package. -- Paul ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] updating org-mode on Windows
Hi Chick, chick knick schrieb: Hello, I'm running Emacs 22.2.1 on WinXP. I've downloaded and unzipped the latest Org files (6.06b), and have modified the load-path line in my .emacs file as follows - (add-to-list 'load-path c:/path/to/org-6.06b/lisp/) This adds the element to the end of the list I think. Try: (setq load-path (cons c:/path/to/org-6.06b/lisp/ load-path)) Does that help? Regards, Sebastian ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
RE: [Orgmode] set remember default file to be originating .org file
OK - I did the following. I allow for functions in the filename positions of templates, changing org-remember.el as follows: diff ../../org-6.05b/lisp/org-remember.el ./org-remember.el 321,322c321 (file (if (and (nth 1 entry) (stringp (nth 1 entry)) (string-match \\S- (nth 1 entry))) --- (file (if (nth 1 entry) 351a351,353 (when (functionp file) (setq file (funcall file)) (message after funcall file, file = [%S] file)) ~/emacs/org/lisp So my remember template list includes: (Todo (local) ?t * TODO %? %i\n ,(lambda () (buffer-file-name org-select-template-original-buffer)) So if I invoke org-remember and choose t, it will save the resulting TODO item in the file from which I invoked remember. Could be made more robust, but it works for me. Let me know if you think this might be generally useful. --Greg -- Gregory T. Sullivan, Ph.D. BAE Systems Advanced Information Technologies 6 New England Executive Park, Burlington, MA 01803 781-262-4553 (office), 978-430-3461 (cell) [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sullivan, Gregory (US SSA) Sent: Wednesday, August 06, 2008 11:55 AM To: emacs-orgmode@gnu.org Subject: [Orgmode] set remember default file to be originating .org file If I invoke remember from a .org file, e.g. foo.org, I would like the default file to which the remembered note is saved to be that file, foo.org. I work on several projects at a time, and the project mix changes monthly. While on a project, I generate lots of project-specific notes and TODOs. So, I like to have project-specific .org files. Any ideas appreciated. Thanks. --Greg -- Gregory T. Sullivan, Ph.D. BAE Systems Advanced Information Technologies 6 New England Executive Park, Burlington, MA 01803 781-262-4553 (office), 978-430-3461 (cell) [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Command line tricks
Russell Adams [EMAIL PROTECTED] writes: I've recently started using a few command line options with Org I thought I'd share, perhaps they'll inspire someone else. In my ~/.bashrc, I have defined an alias for Org that runs: [snip] Thanks for sharing that! alias todo=$EMACS -nw --funcall org-agenda-list And to not miss anything there is a cronjob: $EMACS --batch \ --load $HOME/.emacs.d/init.el \ --load $HOME/.emacs.d/.gnus \ --funcall org-mail $LOGFILE Cheers, Patrick -- Admiration, n. Our polite recognition of another's resemblance to ourselves.-- Ambrose Bierce ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Problems publishing css files
Richard G Riley [EMAIL PROTECTED] writes: I can org-publish both web-org and web-images with no problem. However when I try to publish web-css I get: , | Debugger entered--Lisp error: (error Wrong type argument: arrayp, nil) | signal(error (Wrong type argument: arrayp, nil)) | error(%s Wrong type argument: arrayp, nil) | byte-code(Â!ÃÄÅ!\ [orig-buff act-on-choice icicle-try-switch-buffer error %s error-message-string] 4) | icicle-execute-extended-command() | call-interactively(icicle-execute-extended-command) ` I can org-publish-current-file with no problem. (I have tried it without icicles loaded too). It is only css files (in this instance) causing this. Any suggestions on how to debug this? What could it be? I have tried without nxhtml loaded too and have ensured the only css mode I have in the one that comes with emacs 22. org : 6.06b emacs : 22.2.1 Can anyone confirm (using emacs 22) that they can publish css files without a problem? I'm in the process of finally setting up org-publish for some of my reference information. I'm converting another system to org and I get a similar error (but not identical) due to some of my org files that are not the correct structure. I was lazy and just renamed my original *.txt files to *.org and I haven't completed editing them to convert them to valid org files. When I try to export with the wrong format I get: , | Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) | 1-(nil) | (max (point-min) (1- (previous-single-property-change ... ...))) | (get-text-property (max (point-min) (1- ...)) (quote target)) | (or (get-text-property (point) (quote target)) (get-text-property (max ... ...) (quote target))) | (progn (or (get-text-property ... ...) (get-text-property ... ...))) | (if (and found (or ... ...)) (progn (or ... ...))) | ... ` Maybe your problem is some other css file that the web-css project is picking up? If I load a problem file then org-publish-current-file fails with the above error. I may be completely off-base here... but it's something else to look at. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Latex exporting
Thank you so much for sharing this! d. On Wed, Aug 6, 2008 at 2:32 PM, Russell Adams [EMAIL PROTECTED]wrote: On Tue, Jul 29, 2008 at 06:46:37PM -0500, Russell Adams wrote: I've finally embarked upon a journey of exploration, attempting to publish quality PDF's via org and latex. As a follow up to my command line tricks, I want to share how to get headers and footers into Latex exports. First, the default latex exporter uses A4 paper, I need letter. To change that I use the following in my .emacs to add a custom export type, myarticle. This includes expanding the default margins via the geometry package, and sets up packages I will use later like fancyhdr and lastpage. I also include a default footer on my work, which includes the filename and date, page numbering, and copyright statement with current year. ~/.emacs (setq org-export-latex-classes (cons '(myarticle % BEGIN My Article Defaults \\documentclass[10pt,letterpaper]{article} \\usepackage[letterpaper,includeheadfoot,top=0.5in,bottom=0.5in,left=0.75in,right=0.75in]{geometry} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage{hyperref} \\usepackage{lastpage} \\usepackage{fancyhdr} \\pagestyle{fancy} \\renewcommand{\\headrulewidth}{1pt} \\renewcommand{\\footrulewidth}{0.5pt} % Default footer \\fancyfoot[L]{\\small \\jobname \\today} \\fancyfoot[C]{\\small Page \\thepage\\ of \\pageref{LastPage}} \\fancyfoot[R]{\\small \\copyright \\the\\year\\ Me} % END My Article Defaults (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s})) org-export-latex-classes)) To use this custom type I add this as the first line in my Org file: #+LaTeX_CLASS: myarticle Further customization is easy using a local variables block at the end of my file. End of file.org -- #+ Local Variables: #+ org-export-latex-title-command: #+ org-export-latex-append-header: \ #+ \\usepackage{graphicx} #+ \\usepackage{multicol} #+ \\geometry{headheight=47pt} #+ \\fancyhead[L]{\\LARGE This is the header title} #+ \\fancyfoot[L]{\\small Overridden filename \\today} #+ #+ End: Changing the title command means no title page is created, so I must make my own. Omitting that line will create the normal title page. Other packages I include via the append header variable are graphicx for PNG support, multicol for two columns, overriding the page header height in case I get a warning its too tall, and new headers to override the defaults (ie: I want something better than a filename). I'm exporting to latex via a Makefile, using the command line tricks I posted earlier. The Makefile is attached. I've attached a sample org file and its output PDF using these settings, because one of my frustrations learning latex has been the lack of finished output for examples. ;] Enjoy! -- Russell Adams[EMAIL PROTECTED] PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkiaGHkACgkQEVTgGBFg3LPwcQCeJMBRNJhDujh1f8HIt0x+3jY2 A58AoMjnNFTPvjzU7xYRj+lAtqymxB7J =9EH5 -END PGP SIGNATURE- ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Daniel Goldin 213.926.1960 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode