Re: [Orgmode] Re: Org-Mode in Windows
Bailey, I think the first thing you need to do is find your .emacs: start emacs and type Ctrl-x Ctrl-f, make sure it says something like 'Find file: ~/' at the bottom of the screen and press enter. A 'dired' buffer should open up in which you should see your .emacs file (if you want to put it in a different directory, you can set the HOME environment variable). Next, you need to open the file and follow the instructions in http:// orgmode.org/manual/Installation.html#Installation to set the load- path to the new version of org-mode and require org-install (don't worry about the make commands: you will need to install cygwin or something like it to get that working). You may need to get rid of the old version of org-mode before it will pick up the new one. If so, you can open the old file by typing Alt- x find-library, press enter, type 'org' and press enter again. Then type Ctrl-x Ctrl-f and press enter to find its location. Delete the file (after backing it up somewhere of course) and restart emacs. Regards David Lord On Jan 25, 2009, at 3:48 AM, Manager Leader wrote: Dear Mr. Dominik, Thank you for your work in Org-Mode, I started researching about it a month ago and I have started using it 10 days ago (used to work in outlook but it just can't cope with my life now). And so far am happy with it except for some things that's not working as expected. I am using Windows XP and have downloaded the latest release version for emacs (22.3.1) and org-mode (6.18c). But when I type M- x org-version 5.23a. * Org-Mode does not start by itself when emacs is started - I always have to type ALT-X org-mode (in your book convention: M- x) or put on each file MY PROJECTS-*- mode: org; -*- * Agenda view does not come out with the shortcut C-c a - I always have to use the mouse and org-agenda command - t * I want my default org file to open when I start emacs or org- mode but don't know how to do this. I always have to browse to the correct directory and open the file. * Other things but I think should be resolved if those above can work. I consider myself competent with computers and normally can easily make things work with reading documentation and searching through newsgroups, web. But this is taking a bit too long. Some info and Things I have done to try to resolve it: * I placed emacs in directory c:/emacs, downloaded 6.18c orgmode file to c:/emacs/org * I am logged in with admin rights on Windows * I have added the path to emacs in environment variables. C:/ emacs/bin * I have watched your video at google 3 times, gone through the manual particularly installation and activation parts, searched the newsgroups and google searched whatever I can... * I can't find any file named emacs or *.emacs so I created .emacs file and placed it in c:/emacs - I attach my emacs file. * Make command from the installation manual does not work (even inside emacs Tools- Make) - I attach my makefile which I have edited based on the installation manual. But, I still can't get things to work properly. I hope that you can help. Thank you for a great software! Regards, Bailey ___ 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] Re: Org-Mode in Windows
On Jan 25, 2009, at 3:48 AM, Manager Leader wrote: Dear Mr. Dominik, Thank you for your work in Org-Mode, I started researching about it a month ago and I have started using it 10 days ago (used to work in outlook but it just can't cope with my life now). And so far am happy with it except for some things that's not working as expected. I am using Windows XP and have downloaded the latest release version for emacs (22.3.1) and org-mode (6.18c). But when I type M-x org-version 5.23a. Adding this will cause the new Org to come before system supplied Org. Of course, update the path for your machine. --8---cut here---start-8--- (add-to-list 'load-path C:/path/to/org-mode/lisp) --8---cut here---end---8--- Please ensure you have (require 'org-install) and not (require 'org)' in your .emacs. * Org-Mode does not start by itself when emacs is started - I always have to type ALT-X org-mode (in your book convention: M-x) or put on each file MY PROJECTS -*- mode: org; -*- This should make all .org files open in Org mode. --8---cut here---start-8--- (add-to-list 'auto-mode-alist '(\\.org$ . org-mode)) --8---cut here---end---8--- * Agenda view does not come out with the shortcut C-c a - I always have to use the mouse and org-agenda command - t * Following should help bring agenda options with C-c a. --8---cut here---start-8--- (global-set-key \C-ca 'org-agenda) --8---cut here---end---8--- I want my default org file to open when I start emacs or org-mode but don't know how to do this. I always have to browse to the correct directory and open the file. * Other things but I think should be resolved if those above can work. Once you use the agenda command it will open required org files automatically. You may also want to take a look at http://www.emacswiki.org/emacs/DeskTop I consider myself competent with computers and normally can easily make things work with reading documentation and searching through newsgroups, web. But this is taking a bit too long. Some info and Things I have done to try to resolve it: * I placed emacs in directory c:/emacs, downloaded 6.18c orgmode file to c:/emacs/org * I am logged in with admin rights on Windows Admin rights should not be necessary to use Emacs and Org mode. * I have added the path to emacs in environment variables. C:/emacs/bin * I have watched your video at google 3 times, gone through the manual particularly installation and activation parts, searched the newsgroups and google searched whatever I can... Following article by John Weigley is what eased the eay for me. http://www.newartisans.com/blog/2007/08/using-org-mode-as-a-day-planner.html * I can't find any file named emacs or *.emacs so I created .emacs file and placed it in c:/emacs - I attach my emacs file. I am afraid I did not find your .emacs file but the link cited above will help you get started with one. I prefer to define an environment variable HOME and keep my stuff under that. Emacs will also read .emacs from the location if it can find the file there. * Make command from the installation manual does not work (even inside emacs Tools- Make) - I attach my makefile which I have edited based on the installation manual. I would suggest skipping the make part for now. Everything should still function without compiling. What you do not get is the info and HTML documentation (that you can access online.) HTH -- Manish ___ 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] Release 6.19
Enjoy! - Carsten Changes in Version 6.19 === Overview - Improved behavior of conversion commands `C-c -' and `C-c *' - Table formulas may now reference fields in other tables - A final hline is imagined in each table, for the sake of references - A tags-todo search can now ignore timestamped items - `\par' can be used to force a paragraph break, also in footnotes Details === Improved behavior of conversion commands `C-c -' and `C-c *' - The conversion commands `C-c -' and `C-c *' are now better behaved and therefore more useful, I hope. If there is an active region, these commands will act on the region, otherwise on the current line. - C-c - :: This command turns headings or normal lines into items, or items into normal lines. When there is a region, everything depends on the first line of the region: - if it is a item, turn all items in the region into normal lines. - if it is a headline, turn all headlines in the region into items. - if it is a normal line, turn all lines into items. - special case: if there is no active region and the current line is an item, cycle the bullet type of the current list. - C-c * :: This command turns items and normal lines into headings, or headings into normal lines. When there is a region, everything depends on the first line of the region: - if it is a item, turn all items in the region into headlines. - if it is a headline, turn all headlines in the region into normal lines. - if it is a normal line, turn all lines into headlines. Table formulas may now reference fields in other tables You may now reference constants, fields and ranges from a different table, either in the current file or even in a different file. The syntax is remote(NAME-OR-ID,REF) where /NAME/ can be the name of a table in the current file as set by a `#+TBLNAME: NAME' line before the table. It can also be the ID of an entry, even in a different file, and the reference then refers to the first table in that entry. /REF/ is an absolute field or range reference, valid in the referenced table. Note that since there is no current filed for the remote table, all row and column references must be absolute, not relative. A final hline is imagined in each table, for the sake of references Even if a table does not end with a hline (mine never do because I think it is not pretty), for the sake of references you can assume there is one. So in the following table a b ---+--- 1 2 3 4 a reference like `...@i$1..@II$2' will now work. A tags-todo search can now ignore timestamped items The variables `org-agenda-todo-ignore-with-date', `org-agenda-todo-ignore-with-date', and `org-agenda-todo-ignore-with-date' make it possible to exclude TODO entries which have this kind of planning info associated with them. This is most useful for people who schedule everything, and who use the TODO list mainly to find things that are not yet scheduled. Thomas Morgan pointed out that also the tags-todo search may serve exactly this purpose, and that it might be good to have a way to make these variables also apply to the tags-todo search. I can see that, but could not convince myself to make this the default. A new variable must be set to make this happen: `org-agenda-tags-todo-honor-ignore-options'. `\par' can be used to force a paragraph break, also in footnotes - The LaTeX idiom `\par' will insert a paragraph break at that location. Normally you would simply leave an empty line to get such a break, but this is useful for footnotes whose definitions may not contain empty lines. ___ 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] Re: Org-Mode in Windows
On Sun, Jan 25, 2009 at 8:32 PM, Manager Leader wrote: Hi Manish, Thank you for your reply. I tried what you said: (add-to-list 'load-path C:/path/to/org-mode/lisp) (require 'org-install) (add-to-list 'auto-mode-alist '(\\.org$ . org-mode)) (global-set-key \C-ca 'org-agenda) But I had to create a .emacs file (.emacs filename and no extension - not sure if this is right). I placed 2 copies - 1 where runemacs.exe is located (c:/emacs/bin) and another in c:/emacs - but it seems like there's no effect on the behaviour of org-mode... So I think there's a problem with reading the .emacs.. I have already set the path: C:\emacs\bin\ and Added environmental variables HOME = c:\emacs\ How are you setting up the environment variable? I set it up a user variable under: 1. Windows Explorer 2. My Computer 3. (right click) 4. Properties 5. Advanced Tab 6. Environment Variables Do restart Emacs for this to take effect. You can load .emacs using M-x laod-file RET and navigating to the file as well while you resolve the issue. HTH -- Manish ___ 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] Syntax highlighting in published output
Hello List! I was just wondering if org-mode can do (programming language) syntax highlighting like muse when publishing to HTML or similar. If yes, how? Greetings, Jan ___ 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] Latex export, unnumbered sections
Hello, I'm running into some kind of problem with my export as latex and process as pdf setup. I would like to have all my headings numbered but a few ones. Sadly, I don't know about any mean to specify individually what header should be exported as starred or not. I still can export to latex, edit it and then process it as pdf, but, being the lazy type, I'd rather have it done automagically. So, am I missing an obvious option ? Has someone already solved that ? Thanks for any insight. -- Nicolas Goaziou ___ 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] Syntax highlighting in published output
Jan Seeger jan.see...@thenybble.de writes: Hello List! I was just wondering if org-mode can do (programming language) syntax highlighting like muse when publishing to HTML or similar. If yes, how? Hi Jan, If you would like to include an entire file as highlighted html you can use the include directive as described here http://orgmode.org/manual/Include-files.html If you just want to highlight a small snippet of code you can place the code in a source code block as follows --8---cut here---start-8--- #+begin_src emacs-lisp (defun foo (a b) (if ( a b) (* a b) (foo (foo (- b a) a) (- a b #+end_src --8---cut here---end---8--- Best -- Eric Greetings, Jan ___ 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 ___ 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] Remind functionality?
Hi, I am attempting to use org-mode as a replacement for remind. I currently have it set up with the following in my .bash_profile: emacs --batch --no-init-file -q -l ~/.emacs.slim --eval (progn (org-agenda-list) (princ (buffer-string))) 2 /dev/null Where ~/.emacs.slim is a very small init file which essentially just loads org-mode and sets the agenda alist. This works great, but I have a few qualms: 1) Is there any way to just load the agenda part of org-mode? The current exec time of the line above is around 1s, compared to about .1s for remind. If not, are there any other tricks to reduce emacs startup time? If not, I will probably just write an org-agenda clone in some other language to reduce the overhead. 2) Can I change the format of the Deadline lines to be more obvious by adding Deadline: xxx , but *only* in the .emacs.slim executed version? princ doesn't print in color, so I have to scan through to see whether something is a deadline or a scheduled item. Thanks! nick ___ 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] Problem with org-yank and delete-selection-mode
It's taken my a couple of months of running into this flaw to finally stop and figure out what's wrong. I use either pending-delete-mode or delete-selection-mode, depending on Emacs flavor, such that the selected region gets deleted or replaced by a subsequent kill or yank command. There's a strange interaction with yanking in org-mode, though, where the yanked text gets inserted /before/ the delimited region (assuming the point is before the mark) and the delimited text just gets pushed out past the yanked text, as opposed to being /replaced/ by it. Reading the header for delsel.el, I found documentation that requires functions that delete, kill, or yank to exhibit a property (`delete-selection') in order to work correctly with delete-selection-mode. I found the following did the trick to get org-yank to behave as expected: , | (put 'org-yank 'delete-selection 'yank) ` It's not clear where such a definition belongs; delete-selection-mode doesn't know about org-mode, and org-mode may not known about delete-selection-mode. Should this fall to user-level customization? -- Steven E. Harris ___ 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] Problem with org-yank and delete-selection-mode
Hi Steven, this code belongs into org.el, where similar statements are already present for a couple of other functions: ;; Make `delete-selection-mode' work with org-mode and orgtbl-mode (put 'org-self-insert-command 'delete-selection t) (put 'orgtbl-self-insert-command 'delete-selection t) (put 'org-delete-char 'delete-selection 'supersede) (put 'org-delete-backward-char 'delete-selection 'supersede) I have added your line, thanks. - Carsten On Jan 25, 2009, at 6:00 PM, Steven E. Harris wrote: It's taken my a couple of months of running into this flaw to finally stop and figure out what's wrong. I use either pending-delete-mode or delete-selection-mode, depending on Emacs flavor, such that the selected region gets deleted or replaced by a subsequent kill or yank command. There's a strange interaction with yanking in org-mode, though, where the yanked text gets inserted /before/ the delimited region (assuming the point is before the mark) and the delimited text just gets pushed out past the yanked text, as opposed to being /replaced/ by it. Reading the header for delsel.el, I found documentation that requires functions that delete, kill, or yank to exhibit a property (`delete-selection') in order to work correctly with delete-selection-mode. I found the following did the trick to get org-yank to behave as expected: , | (put 'org-yank 'delete-selection 'yank) ` It's not clear where such a definition belongs; delete-selection-mode doesn't know about org-mode, and org-mode may not known about delete-selection-mode. Should this fall to user-level customization? -- Steven E. Harris ___ 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 ___ 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: Problem with org-yank and delete-selection-mode
Carsten Dominik domi...@science.uva.nl writes: I have added your line, thanks. Great. Thanks for the fast response. -- Steven E. Harris ___ 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] Problem compiling org-mode for XEmacs
I updated my copy of the org-mode source tree today and tried to compile it for XEmacs. It failed with the following error (reformatted slightly with a path shortened): , | xemacs -batch -q -eval | (progn | (add-to-list (quote load-path) | (expand-file-name \./lisp/\)) | (add-to-list (quote load-path) | \~/usr/local/share/xemacs/site-lisp\)) | -f batch-byte-compile lisp/org.el | Compiling /path/org-mode/lisp/org.el... | While compiling org-set-emph-re in file /path/org-mode/lisp/org.el: | ** variable stacked bound but not referenced | While compiling org-set-regexps-and-options: | !! Wrong number of arguments ((#subr store-match-data 2)) | Error occurred processing lisp/org.el: | Wrong number of arguments: #subr store-match-data, 2 ` I see `store-match-data' called on line 8379 of org.el. Running git-blame against that line shows it not having changed since 22 March 2008. -- Steven E. Harris ___ 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] footnote questions
I suggest that each footnote is placed in a div with class footnote, with all footnotes nested inside a div with class footnotes. -- Mike On Sun, 25 Jan 2009 08:46:02 +0100 Carsten Dominik domi...@science.uva.nl wrote: On Jan 24, 2009, at 6:38 AM, Samuel Wales wrote: Minor questions: Is there a way to have footnotes that have more than one paragraph? For me, they are not recognized as footnotes. How would I format a multi-paragraph footnote in HTML? Right now we have: (div id=footnotes h2 class=footnotesFootnotes: /h2 div id=footnotes-text p class=footnote supa class=footnum name=fn.1 href=#fnr.11/a/sup Footnote text here /p /div /div I guess if someone had CSS to style footnote paragraphs specially, inserting /pp somewhere inside the footnote text would not do the right thing. Sebastian, do you have an idea here? - Carsten Also, is there a way to make footnote references work when they start in column 0? Reformatting a paragraph sometimes puts them there for me. Latest org release with (setf org-footnote-section nil). Thanks. -- For personal and corporate gain, myalgic encephalomyelitis denialists are knowingly causing massive suffering and 25-years-early death by grossly corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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 ___ 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 ___ 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] Re: Org-Mode in Windows
On Sun, Jan 25, 2009 at 9:26 PM, Bailey wrote: Hi Manish, I tried putting in the configuration from John Wigley on the link you gave: http://www.newartisans.com/blog/2007/08/using-org-mode-as-a-day-planner.html and then use M-x load-file... Unfortunately, I got the following messages: Loading c:/emacs/.emacs... eval-buffer: Cannot open load file: remember Seems like my copy of emacs have a lot of missing things. I did a file search and there's no remember... and also no diff Do you think emacs 22.3.1 version that I downloaded is the problem? No, Emacs is not the problem here. You could just add minimal configuration (some emailed earlier) and start using it (load .emacs) manually if need be till you understand the beast some more. Org should be usable even with that. I would highly recommend going through the series of tutorials here first. http://www.ibm.com/developerworks/views/aix/libraryview.jsp?search_by=emacs+editing+environment And then going through various tutorials and articles in Worg and keep adding stuff that you like and find useful to your .emacs incrementally as you understand more about Emacs and Org-mode. Emacswiki is also a rich source of information and resources. HTH -- Manish ___ 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] Problem compiling 6.19a for xemacs
While compiling 6.19a for xemacs, I got the following error: Compiling /usr/share/xemacs21/site-lisp/org-mode/org-agenda.el... While compiling toplevel forms in file /usr/[...]/org-mode/org-agenda.el: !! Malformed list ((:inverse-video)) Error occurred processing org-agenda.el: Malformed list: :inverse-video Cheers, --Seb ___ 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] Re: Org-Mode in Windows
Bailey, I'm surprised you are seeing c:/emacs/bin as your home directory - perhaps its a peculiarity of the official GNU release. `C:\Documents and Settings\USERNAME\Application Data' is the default on XP I believe. Personally, I like the EmacsW32 release (http:// ourcomments.org/Emacs/EmacsW32.html). It is customized to work well with windows and includes a more up-to-date version of org-mode by default. The file is called '.emacs' - no extension. You can create it if it doesn't exist by typing 'C-x C-f ~/.emacs RET'. It might also be worth looking up the Windows section in the emacs manual (see 'Read the Emacs Manual' on the help menu). Regards David Lord On 25 Ion 2009, at 12:42, Manager Leader wrote: Hi David, Thank you for your reply. I downloaded emacs from: http://ftp.gnu.org/gnu/emacs/windows/ and the file I got is emacs-22.3-bin-i386.zip When I did as you said C-x C-f and enter, I get this file list: c:/emacs/bin: total used in directory 14253 available 6281388 drwxrwxrwx 1 Bailey root 0 01-25 09:31 . drwxrwxrwx 1 Bailey root 0 01-25 19:49 .. -rw-rw-rw- 1 Bailey root 35147 09-07 01:27 COPYING -rwxrwxrwx 1 Bailey root208024 09-07 01:27 addpm.exe -rwxrwxrwx 1 Bailey root213712 09-07 01:27 cmdproxy.exe -rwxrwxrwx 1 Bailey root415691 09-07 01:26 ctags.exe -rwxrwxrwx 1 Bailey root201154 09-07 01:27 ddeclient.exe -rwxrwxrwx 1 Bailey root 23196 09-07 01:26 digest-doc.exe -rwxrwxrwx 1 Bailey root303837 09-07 01:26 ebrowse.exe -rwxrwxrwx 1 Bailey root 10584469 09-07 01:26 emacs.exe -rwxrwxrwx 1 Bailey root470906 09-07 01:26 emacsclient.exe -rwxrwxrwx 1 Bailey root494988 09-07 01:26 emacsclientw.exe -rwxrwxrwx 1 Bailey root411930 09-07 01:26 etags.exe -rwxrwxrwx 1 Bailey root 30055 09-07 01:26 hexl.exe -rw-rw-rw- 1 Bailey root502117 08-10 23:22 libXpm.dll -rwxrwxrwx 1 Bailey root444386 09-07 01:26 movemail.exe -rwxrwxrwx 1 Bailey root224236 09-07 01:27 runemacs.exe -rwxrwxrwx 1 Bailey root 31209 09-07 01:26 sorted-doc.exe No .emacs... I also attach the file list of the whole emacs subdirectory (I downloaded it again just to be sure). Is the .emacs file a file with name .emacs with no extension? or is emacs the extension with no filename? Can I create my own emacs? I did and put it in c:/emacs and c:/ emacs/bin but seems like no effect... i.e. When org file opened, its not in org-mode. Where can I download the .emacs file? Thank you, Bailey ___ 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] Problem compiling 6.19a for xemacs
Fixed, thanks. - Carsten On Jan 25, 2009, at 8:11 PM, Seb wrote: While compiling 6.19a for xemacs, I got the following error: Compiling /usr/share/xemacs21/site-lisp/org-mode/org-agenda.el... While compiling toplevel forms in file /usr/[...]/org-mode/org- agenda.el: !! Malformed list ((:inverse-video)) Error occurred processing org-agenda.el: Malformed list: :inverse-video Cheers, --Seb ___ 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 ___ 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] Problem compiling org-mode for XEmacs
Org-mode never calls store-match-date with two arguments. I can only guess, maybe you have some file that was compiled for Emacs (not XEmacs), and this file is loaded during the compilation of Org-mode. - Carsten On Jan 25, 2009, at 6:53 PM, Steven E. Harris wrote: I updated my copy of the org-mode source tree today and tried to compile it for XEmacs. It failed with the following error (reformatted slightly with a path shortened): , | xemacs -batch -q -eval | (progn | (add-to-list (quote load-path) | (expand-file-name \./lisp/\)) | (add-to-list (quote load-path) | \~/usr/local/share/xemacs/site-lisp\)) | -f batch-byte-compile lisp/org.el | Compiling /path/org-mode/lisp/org.el... | While compiling org-set-emph-re in file /path/org-mode/lisp/org.el: | ** variable stacked bound but not referenced | While compiling org-set-regexps-and-options: | !! Wrong number of arguments ((#subr store-match-data 2)) | Error occurred processing lisp/org.el: | Wrong number of arguments: #subr store-match-data, 2 ` I see `store-match-data' called on line 8379 of org.el. Running git-blame against that line shows it not having changed since 22 March 2008. -- Steven E. Harris ___ 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 ___ 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] Remind functionality?
Hi Nicolas, On Jan 25, 2009, at 5:36 PM, Nicholas S-A wrote: Hi, I am attempting to use org-mode as a replacement for remind. I currently have it set up with the following in my .bash_profile: emacs --batch --no-init-file -q -l ~/.emacs.slim --eval (progn (org-agenda-list) (princ (buffer-string))) 2 /dev/null Where ~/.emacs.slim is a very small init file which essentially just loads org-mode and sets the agenda alist. This works great, but I have a few qualms: 1) Is there any way to just load the agenda part of org-mode? The current exec time of the line above is around 1s, compared to about . 1s for remind. If not, are there any other tricks to reduce emacs startup time? It is unlikely that this can be make faster in a significant way. Why is it a problem Even if it takes 10 seconds? Ah, I see, you do this in every new shell?? This sounds unnecessary, to say the least. Maybe you have to explain better what exactly your are doing If not, I will probably just write an org-agenda clone in some other language to reduce the overhead. 2) Can I change the format of the Deadline lines to be more obvious by adding Deadline: xxx , but *only* in the .emacs.slim executed version? princ doesn't print in color, so I have to scan through to see whether something is a deadline or a scheduled item. No, this is not possible. The only handle you have is the variable org-agenda-deadline-leaders, maybe you can do something with this. - Carsten ___ 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: Problem compiling org-mode for XEmacs
Carsten Dominik domi...@science.uva.nl writes: Org-mode never calls store-match-date with two arguments. Yes, I see: , | % find . -name '*.el' | xargs grep store-match | ./lisp/org-mouse.el: (store-match-data mdata)) | ./lisp/org.el: (store-match-data match-data) ` I can only guess, maybe you have some file that was compiled for Emacs (not XEmacs), and this file is loaded during the compilation of Org-mode. Well, the Makefile invokes XEmacs with the -q switch, so there should only be core packages loaded. I tried cleaning out all the compiled files and building org-mode again, to no avail. The error message be misreporting the offending call. (Not that that assertion helps us find the problem any more easily.) -- Steven E. Harris ___ 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] Please test 6.19a
On 25 Jan 2009, at 16:06, Carsten Dominik wrote: I just uploaded org 6.19a into Emacs CVS, so that it can still be part of the Emacs 23.1 pretest and release. Please test the latest release and let me know as soon as possible if there are any regressions. Two small niggles. 1) :VISIBILITY: property Suppose I have the headings * Foo * Bar * COMMENT setup for buffer :PROPERTIES: :VISIBILITY: folded :END: #+STARTUP: overview #+Rest of options go here On loading the file, *Foo and *Bar are folder, as expected. *COMMENT, however shows its content. Changing value of :VISIBILITY: has no effect. I'm afraid I can't pinpoint in which version this started to happen, but I'm fairly certain it was in the last fortnight. 2) LaTeX export, tables and timestamps ** Foo ** Bar |Foo|[2009-02-25 Sun]|Bar| If I select a region from ** Bar to Bar|, and then org-export-latex-to- buffer, then the timestamp is omitted. If I select a region from ** Foo to Bar| and then org-export-latex-to-buffer, then the timestamp is included. Not sure if this is recent behaviour of not; it's a few months since I've had cause to export a table. Apologies that I can't further narrow down these bugs; it's a daft couple of weeks. Best wishes, Christopher ___ 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] Remind functionality?
Hi, * Carsten Dominik domi...@science.uva.nl [2009-01-25 22:17:16 +0100]: It is unlikely that this can be make faster in a significant way. Why is it a problem Even if it takes 10 seconds? Ah, I see, you do this in every new shell?? This sounds unnecessary, to say the least. Maybe you have to explain better what exactly your are doing So, the way I currently use remind is run it as remind ~/.remind in my .bash_profile. It reminds me of deadlines and events at any login shell, so that I don't forget about them (and also so they are fast to access). This works well, as it is quick to load and doesn't contribute significantly to the login time at e.g. a Terminal window or SSH connection. The problem comes because I now use org-mode agenda to schedule everything, so I have to enter upcoming events twice -- once in my agenda files, and once in ~/.remind. As such, I thought I could improve my workflow by just printing the emacs agenda instead of running remind -- but this is slow. I also tried with emacsclient, but that didn't improve it any. No, this is not possible. The only handle you have is the variable org-agenda-deadline-leaders, maybe you can do something with this. Thanks, I will look into it. Thank you for the prompt reply! Nicholas ___ 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