[Orgmode] Re: org-toc.el - browsable table of contents for Org
Bastien [EMAIL PROTECTED] writes: I must acknowledge that the boxquote stuff wrapping your e-mails always looked a bit weird to me.. I usually see this as a way to quote emails or code examples, not to encapsulate your own prose. True, I was kind of misusing the boxquotes. I just liked the looks of them. For e-mailing to friends that's oke, but on a mail-list like this one it looks a bit confusing... Sorry for that. I don't see any way to make boxquotes works with the TOC anyway, since there would be too many complexity when displaying several levels at the same time. Agreed But I like the idea of having some kind of margin, just as linum.el does for line numbers: http://stud4.tuwien.ac.at/~e0225855/linum/linum.html Yes, I had a look at linum, and it looks like a good mechanism that can be of use in the TOC. If you could make such a margin, that would be great for the TOC... What kind of information you would like to be displayed in this margin? (Remember there is org-toc-info already, so the margin and the echo-area should work in a complementary way.) Maybe the margin could display how many sub-headings are below the heading that shows in the TOC? Or how many lines of text there are folded inside it? Or the number of TODO's that are below it? Or maybe it's better to keep things simple. And put no extra information in the margin? Just put two or three symbols (ones that do not conflict with org-mode) there, to make the TOC display distinguishable from the base-buffer. You could use a symbol from the utf-8 coding table. I've put some examples here: http://swangdoodles.googlepages.com/Unicodes-for-org-toc.html I don't know h-line... did you mean hl-line? I think the purpose of global-hl-line-mode is only to highlight the current line, not several lines. Yes, I meant hl-line... I'm using it in my agenda-views. But your right, it only works on one line. I tried to insert this at the end of a file: # Local Variables: # eval: (org-show-table-of-contents) # End: but it requires M-x normal-mode, which I don't understand. Even by setting both `enable-local-variables' and `enable-local-eval' to t (which is not recommended!) ... any hint on this is welcome! When I set in my .emacs: '(enable-local-eval t) And at the bottom of the org-file: # Local Variables: # eval: (org-toc-show) # End: What happens is that the TOC-buffer does open. But it is opened as a full view buffer, not as a split screen together with the org-file What might also be handy is to limit the size of the TOC-buffer. Right now, what happens when I'm in a large org-file, and use the TOC, is that it takes over half the screen... Ciao, Renzo ___ 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] How I run org-agenda -csv to create data for my ListPro program
I wanted to show how I use the org-batch-agenda-csv command to create a file to import into the ListPro program that I run on my Palm M515 handheld. ListPro is from http://www.iliumsoft.com In my .emacs file I have this helper function: (defun org-csv-agenda () (org-batch-agenda-csv H) ) The H refers to a prestored command: (H Home NA Lists ((agenda) (tags-todo HOME) (tags-todo COMPUTER) (tags-todo OFFICE) (tags-todo DVD) (tags-todo READING) I run a Perl script agen2lpro.pl that runs the helper function, captures the comma-separated output into a file, then processes this file to create a tab-delimited file for importing into ListPro. I manage my lists on the Palm and synchronise back to my Windows Machine. The ListPro list can be exported to a tab delimited and processed with another Perl script, but I don't attempt to do any updating of the original org-mode file marking completed items, but that is planned for the future. Here is the Perl script use strict; use warnings; my $emacs_exe = \D:\\Program Files\\emacs_22\\emacs-22.1\\bin\\emacs.exe\; my $work_file = agenwork.txt; print Create CSV file using Emacs\n; my $cmd = system($emacs_exe --batch -l c:/homes/charles/.emacs -f org-csv-agenda $work_file); print $work_file (workfile) Created.\nProcessing ...\n; # The output of this script is a tab delimited file to import # into ListPro. The fields are # # Description # Category (OFFICE, HOME, DVD, or READING) # Date - Either the scheduled date or blank. # DateLoaded - Todays date in month and day format in order to # identify Listpro items that originated from org-mode my $listpro = listpro.txt; open (my $fv, , $work_file) or die Could not open $work_file: $!\n; open (my $of, , $listpro) or die Could not create $listpro: $!\n; my @ltime = localtime(); my $datestring = sprintf(%d%d , $ltime[4] + 1, $ltime[3] ); print Version string $datestring\n; my ($category, $headline, $type, $todo, $tags, $date, $time, $extra, $priority_l, $priority_n); while($fv) { chomp; ($category, $headline, $type, $todo, $tags, $date, $time, $extra, $priority_l, $priority_n) = split(/,/); if ($tags =~ m/^([A-Za-z]+):/) { $tags = $1; } $tags = uc($tags); if ( ($type eq scheduled) or ($type eq typestamp) ) { my @d = split(/-/, $date);# orgmode used -M-DD format my $newdate = $d[2]./.$d[1]./.$d[0]; print $of $headline\t$tags\t$newdate\t$datestring\n; } if ( $type eq tagsmatch ) { print $of $headline\t$tags\t\t$datestring\n; } } print Finished! Now load the file $listpro into Listpro\n; ___ 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] resheduling from agenda buffer
On Sep 28, 2007, at 3:15, Richard G Riley wrote: Two questions: 1) When following the instruction from the following link and rescheduling from the agenda buffer, why do I always get Item scheduled for nil in the message bufffer? his is just a bug, fixed now for the next version. 2) What is the reason behind having to manually refresh after a reschedule in the agenda buffer, why does it not do it automatically? Initially the reason was technical. Constructing the agenda can take a second or more, to automatically reconstructing it after each change forbids itself. Just moving around a changed line can be difficult. However, after giving up on trying to change everything live, I now happen to think that this is in fact good. What you really do is look at a list of tasks and appointments, and you do want to push things around. I really like to be able to modify several lines before getting a rearranged display. For example: - When things move around with each change I make, I constantly have to follow the changes with my eyes and memory, this is more tiring. - I change a TODO entry to DONE. That means it should not even be in the agenda anymore, and a live update would just get rid of the item. If you made a mistake in marking it done, it is hard to find the entry back and change it back. - I want to reschedule an item to next week. Will the display then move to next week? So I need to go back to today to continue working? Things like this. You *do* get visual feedback that an entry has been modified, and r is not hard to press. So even if I knew how to change it, I would not want to do it. (ps Carsten, if you are reading this I found the issue with org-return-follows-link - it has to be set before loading Org so cant be used in normal customization block). Yes, the docstring of that variable says so. - 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] Latex Export
Hello All, I am desperately trying to go from org to Latex without success. I am using org-mode 5.10b. I receive the following Exporting to LaTeX... Loading latexenc...done (New file) Loading tex...done Loading latex...done Loading font-latex... Loading bytecomp...done Loading font-latex...done Applying style hooks... done Sorting environment... Removing duplicates... done Loading tex-bar...done Loading reftex...done Loading reftex-dcr...done Automatic display of crossref information was turned on Loading preview... Loading byte-opt...done Loading preview...done Applying style hooks... done format: Wrong type argument: number-or-marker-p, t Can you please help? I think the same question was posted by Xiao-Yong Jin, on 26/09, but was never answered. Dimitris ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ** ___ 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] org store link doesnt work
Hi I cant seem to make org store link work, does i have to do something special? It simply says that the link was stored but when i try to retrieve it the only possible completions are the kind of links that are possible, like nntp: file: ... ___ 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] org store link doesnt work
On Sep 28, 2007, at 13:19, Glauber Alex Dias Prado wrote: Hi I cant seem to make org store link work, does i have to do something special? It simply says that the link was stored but when i try to retrieve it the only possible completions are the kind of links that are possible, like nntp: file: ... Use the up arrow or M-p. The stored links are in the history, not in the completion table. It used to be like this, but it was changed. If the documentation still says you should use completion, it is wrong and I'd like to know about it. - 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
Re: [Orgmode] displayed-month
Hi, On Sep 29, 2007, at 11:50, François Puitg wrote: Hi all, I'm new to this list. Thanks to Carsten (and to all the contributors) for this excellent mode. Seems I've discovered a little bug (there's an easy workaround, see below), but I'm not sure it's org-mode fault: when I try to insert a time stamp (with C-c .), I can't select a date as explained in section 8.2.1 of the manual. So I just hit q to quit the calendar frame and enter a date by hand in the minibuffer. The time stamp is correctly inserted in my org buffer, but then, as soon as I hit any key, I get a Symbol's value as variable is void: displayed-month error in the minibuffer (even if I use mouse buttons). What is the setup you are using to get the calendar in a separate frame? Org-mode assumes that it is coming up in the *current* frame. Do your really need to press q to get rid of the calendar? Can't you just type in the minibuffer of the other frame? - 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
Re: [Orgmode] howto show all todo's linked with some buffer in agenda?
Jost Burkardt [EMAIL PROTECTED] writes: One caveat though: file links contain context. Obviously, we don't want to be only able to find such links if the point is *exactly* where the context was defined from. So I suggest we get rid of the context when storing a link to the registry. Of course, not having a registry file would help here :) Similar problem may arise, when using bbdb links. Think of [[bbdb:Ludwig Beethoven]] and [[bbdb:beethoven]] which should both be matched, when I'm on the relevant entry. Maybe the search should do a match against some kind of fingerprint of the current buffer. No idea, about the impact on calculation time. Very true, I'll handle this as well. What do you mean by plain links, links within the same buffer or links without brackets? I think, it would be good to have all links, which will be recognised by ord, in the registry (O.K., excluding internal links). I mean links without brackets. For now the registry just skip them, because he's not able to decide whether this links are part of a full (bracketed) link or not. -- Bastien ___ 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] my simple GTD setup
David O'Toole [EMAIL PROTECTED] writes: - I am having trouble with searching for all the NEXT keyword items, which is all I really need to complete my setup. I can see the list of NEXT actions, but not what project they come from or what tags they have. Do you use a custom agenda view for this? with `org-agenda-remove-tags' set to nil, and with the project being the category in which the headline is, you should have all the desired info. Global list of TODO items of type: NEXT Available with `N r': (0)ALL (1)TODO (2)NEXT (3)DONE compas: NEXT [#A] Mettre en place ... compas: NEXT [#A] Ecrire Nicolas :Write: compas: NEXT [#A] Mettre en forme ... :Write: You can also refine this display by adding a new entry to `org-agenda-custom-commands': (setq org-agenda-custom-commands ((N todo NEXT ((org-agenda-sorting-strategy '(priority-down)) (org-agenda-prefix-format %-12c: ) See `org-agenda-prefix-format' docstring for details. -- Bastien ___ 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 and Google Calendar
Bastien [EMAIL PROTECTED] writes: I just point google calendar to this file. The only problem I have had is with google calendars timezone handling. Talking about the .ics export, I find the new DESCRIPTION very useful. But maybe org-trim could be used here, so that leading and trailing whitespaces are stripped away? DESCRIPTION: \nAAAI Spring Symposium - March 26-28, 2008, Stanford University,\nCalifornia - Submission deadline: And maybe this description field could also skip timestamps that are not SCHEDULED or DEADLINE. I often use such timestamps and the description shows them, which looks weird: DESCRIPTION: 2007-12-19 mer Last but not least: now that we have properties, it would be very nice to be able to export a :LOCATION: property into the LOCATION vCal field. Having to store the location in the description is okay, but I think the location property is quite usual -- what do people think on this? -- Bastien ___ 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-registry.el v0.1 - a registry for Org links
Fabian Braennstroem [EMAIL PROTECTED] writes: I could not find any updating of the links when moving and copying files and directories with dired... did I miss it :-) No you don't :) The registry by itself is not able to update Org files and tell them about new locations for files that are linked in them. Just as it is not currently able to track URL renaming... It is probably 'just' a hook for dired, which changes the registry entry and corresponding link according to the destination directory!? That's it. Not a hook though, but an advice to `dired-do-rename'. It should go through all org-agenda-files and replace the old file names with the new ones. Would that suit you? PS: no time for this right now, I'm moving in London tomorrow morning... -- Bastien -- Bastien ___ 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-registry.el v0.1 - a registry for Org links
Bastien [EMAIL PROTECTED] writes: -- Bastien Ahem. Sorry for the double signature. I guess it's part of the moving out process. -- Bastien ___ 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] org-crypt.el --- Public key encryption for org-mode entries
John Wiegley [EMAIL PROTECTED] writes: The following code is preliminary, but gets the job done in my simple tests. Now's the time to beat down on, and refine, the user interface and behavior. This is a very nifty idea. It might be an idea for someone setting up org-crypt to do something like: (eval-after-load org-crypt (add-hook 'org-mode-hook (lambda nil (add-hook 'after-save-hook 'org-encrypt-entries nil t (This is untested, could be wrong in some way). Rather than rely on setting a local variable list in their org-mode files. -- +---+ | Jason F. McBrayer[EMAIL PROTECTED] | | If someone conquers a thousand times a thousand others in | | battle, and someone else conquers himself, the latter one | | is the greatest of all conquerors. --- The Dhammapada| ___ 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] How I run org-agenda -csv to create data for my ListPro program
Charles Cave [EMAIL PROTECTED] writes: I wanted to show how I use the org-batch-agenda-csv command to create a file to import into the ListPro program that I run on my Palm M515 handheld. Nifty. I use something similar in Python for syncing with my paper notebook by generating pdfs of my custom agendas. -- +---+ | Jason F. McBrayer[EMAIL PROTECTED] | | If someone conquers a thousand times a thousand others in | | battle, and someone else conquers himself, the latter one | | is the greatest of all conquerors. --- The Dhammapada| ___ 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: emacs on the N800
Daniel M German [EMAIL PROTECTED] writes: hi everybody, Some of you might be interested... I was able to cross-compile emacs-nox for the N800 (emacs22.1) and run org mode on it. YOu can check the screenshots here: http://turingmachine.org/~dmg/temp/emacsOrgN800.jpg http://turingmachine.org/~dmg/temp/emacsOrgN800full.jpg That looks really cool. I'd love to see Emacs take off on handheld devices. -- Michael Olson -- FSF Associate Member #652 | http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net | /` |\ | | | Sysadmin -- Hobbies: Lisp, GP2X, HCoop| |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner | pgpIoKugtHUyu.pgp Description: 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
[Orgmode] Re: Org-mode with multiple major modes
Hi, (setq org-startup-folded nil) Thanks for your answer, but it doesn't do what I wish. If I have some part of my file folded and others not, with org-startup-folded set to nil, when I move from a code chunk to a doc chunk, everything is unfolded. What I'd like is a way to disable this feature, or to enable it only when I open the file, not when I switch from another mode to org-mode in the same buffer. But maybe it is a bit complicated for a minor issue. Thanks again, -- Julien ___ 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] org store link doesnt work
Carsten Dominik [EMAIL PROTECTED] writes: On Sep 28, 2007, at 13:19, Glauber Alex Dias Prado wrote: Hi I cant seem to make org store link work, does i have to do something special? It simply says that the link was stored but when i try to retrieve it the only possible completions are the kind of links that are possible, like nntp: file: ... Use the up arrow or M-p. The stored links are in the history, not in the completion table. It used to be like this, but it was changed. If the documentation still says you should use completion, it is wrong and I'd like to know about it. Hi the docs arent wrong but are missing the M-p which worked here to restore it, where down and up arrows doesnt work probably cause of something that i have customized which might steals the bind (im not sure) below it follows where i could find info doc on this subject: All links stored during the current session are part of the history for this prompt, so you can access them with up and down. Completion, on the other hand, will help you to insert valid link prefixes like `http:' or `ftp:', including the prefixes defined through link abbreviations (*note Link abbreviations::). Thanks a lot, i was already thinking i had something broken here on my side. - Carsten Cheers, Glauber. ___ 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] org store link doesnt work
Carsten Dominik [EMAIL PROTECTED] writes: On Sep 28, 2007, at 13:19, Glauber Alex Dias Prado wrote: Hi I cant seem to make org store link work, does i have to do something special? It simply says that the link was stored but when i try to retrieve it the only possible completions are the kind of links that are possible, like nntp: file: ... Use the up arrow or M-p. The stored links are in the history, not in the completion table. It used to be like this, but it was changed. If the documentation still says you should use completion, it is wrong and I'd like to know about it. Hi the docs arent wrong but are missing the M-p which worked here to restore it, where down and up arrows doesnt work(sorry correcting it they work after i had pressed M-p at least one time) probably cause of something that i have customized which might steals the bind (im not sure) below it follows where i could find info doc on this subject: All links stored during the current session are part of the history for this prompt, so you can access them with up and down. Completion, on the other hand, will help you to insert valid link prefixes like `http:' or `ftp:', including the prefixes defined through link abbreviations (*note Link abbreviations::). Thanks a lot, i was already thinking i had something broken here on my side. - Carsten Cheers, Glauber. ___ 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: org store link doesnt work
Jost Burkardt [EMAIL PROTECTED] writes: Hi Glauber, Glauber Alex Dias Prado [EMAIL PROTECTED] writes: Hi I cant seem to make org store link work, does i have to do something special? It simply says that the link was stored but when i try to retrieve it the only possible completions are the kind of links that are possible, like nntp: file: ... What keys do you use to complete the link? On my setup I get standard-prefixes with TAB completion, to get stored links I have to use M-p, M-n or just RETURN for the last stored link. Cool stuff RETURN is very pratical when not working with lots of links which should be more than 80% of the cases i use it. Jost ___ 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: my simple GTD setup
Bastien [EMAIL PROTECTED] writes: David O'Toole [EMAIL PROTECTED] writes: - I am having trouble with searching for all the NEXT keyword items, which is all I really need to complete my setup. I can see the list of NEXT actions, but not what project they come from or what tags they have. You can try a TAGS search like the following Headlines with TAGS match: /NEXT|PROJECT That seems to work well for me. I recently (2 days ago?) switched back to trying to use GTD and I mark projects with the PROJECT TODO keyword and the result shows all PROJECT and NEXT matches for me with tags. HTH, 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