Re: [Orgmode] Fix for emacs 23 bug on inserting diary entries
Indeed, thanks a lot. - Carsten On Jul 24, 2008, at 6:54 PM, Andrew Hyatt wrote: I remember seeing an emacs 23 git branch at some point, but I looked around and cannot locate it anymore. At any rate, this may be a dup, but in emacs 23 inserting diary entries in the agenda does not work. Here's the patch to fix it: diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 23cda50..56c7d62 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5120,7 +5120,7 @@ All the standard commands work: block, weekly etc. (unwind-protect (progn (fset 'calendar-cursor-to-date - (lambda (optional error) + (lambda (optional error dummy) (calendar-gregorian-from-absolute (get-text-property point 'day (call-interactively cmd)) @@ -5307,5 +5307,3 @@ belonging to the \Work\ category. ;; arch-tag: 77f7565d-7c4b-44af-a2df-9f6f7070cff1 ;;; org-agenda.el ends here - - ___ 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] Customized header for LaTeX export
As far as I can tell, the variable org-format-latex-header is only used to generate images of LaTeX fragments in non-LaTeX export. A different header seems to be used for LaTeX export. Can the header for LaTeX export be customized? If so, which variable is this in? In particular, the default specifies a4paper, but I want US letter. Thanks, Dan ___ 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: Project Planning Tutorial Using Org-Mode
Hallo Peter! [snip] git clone git://pmade.com/rc The file you want is: emacs/emacs.d/pmade-org.el What a clean and concise rc-setup! And, thx for sharing! -- rolf ___ 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: Project Planning Tutorial Using Org-Mode
On 25 Jul 2008, at 10:33, rolf wrote: Hallo Peter! [snip] git clone git://pmade.com/rc The file you want is: emacs/emacs.d/pmade-org.el What a clean and concise rc-setup! it clearly is a nice setup. Having all configuration items separated keeps you from having a 600+ lines .emacs ;) I basically do the same, except I place my specific rc for emacs-org in the org directory. the org-dir is maintained by git and that way, on each system I do use emacs-org, the same setup is always there. Peter, why do you specify all .org files by name in your setup ? as I'm creating new files for each new project I do use this line to be sure all files are treated : (setq org-agenda-files (file-expand-wildcards ~/org/*.org)) Regards, -- erik ___ 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] Feature Request: property for the time part of a timestamp.
Carsten Dominik wrote: Hi Robin, On Jul 23, 2008, at 9:57 AM, Jose Robins wrote: I've been extensively using column mode in the agenda buffer to plan my day/week. I have columns set up for scheduled and deadline. However, I was wondering if it'd be possible to expose just the time part of the scheduled timestamp as a property so that I could have a column for the time part of the timestamp (without the date). This would allow one to look @ the daily agenda and schedule time for tasks with just that column without bothering about the date (after all I'm already in today's agenda; so there is no need to see the date). This would in principle be possible of course, basically a filter when displaying the column. Hi Carsten, Would this filter be something that would be done on the source end? If so, would you consider adding it? :) The GoogleTech talk has inspired me to start hacking into the source code a bit and contributing back. As a baby step, I'm thinking about modifying the column view to display custom date formats for the date column. Any pointers on getting me going on this? Thanks mucho, Jose But Also if it'd be possible to sort the column view based on that column's contents it'd be great. That way, all the tasks will be sorted based on the time of the day that the task has been scheduled for. I guess I'm trying to use the column view similar to the time grid. This does not make sense becaue column view still uses the outline structure of your file. Why don't you just use the agenda or a timeline view for this? - Carsten Not sure if others' sort of planning methodology would benefit from this or not. I'm open to other ideas that folks may feel is more efficient for achieving this as well. Thanks, Jose ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org mailto: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
[Orgmode] Re: Nicely indented text fields in google tech talk
Bill Raynor [EMAIL PROTECTED] writes: In Carsten's Google Tech Talk, he shows text fields as being nicely indented under the appropriate heading. How do I get that behavior? My text fields all end up against the left margin until I manually input the space. I am currently using org-mode 5.17a in GNU Emacs 22.0.990.1 (W32 version) on windows XP. Just his TAB anywhere on the line and it aligns it with the heading indent. -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
[Orgmode] Re: Nicely indented text fields in google tech talk
Thank you. I thought his example was automatic. On Fri, Jul 25, 2008 at 7:43 AM, Bernt Hansen [EMAIL PROTECTED] wrote: Bill Raynor [EMAIL PROTECTED] writes: In Carsten's Google Tech Talk, he shows text fields as being nicely indented under the appropriate heading. How do I get that behavior? My text fields all end up against the left margin until I manually input the space. I am currently using org-mode 5.17a in GNU Emacs 22.0.990.1 (W32 version) on windows XP. Just his TAB anywhere on the line and it aligns it with the heading indent. -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
[Orgmode] skipping entries in daily/weekly view
When making custom agendas, can you use the org-agenda-skip-function with the 'agenda' block type? I'm trying to do it, but I'm not successful. I take the example used in the manual's appendix, and I can successfully filer items for a 'todo' block type, but when I change the type and match items from 'todo' and 'next' to 'agenda' and '', I get an empty daily/weekly agenda view, ie no events shown, but the dates are there. If I remove the org-agenda-skip-function option, I get my typical daily/weekly agenda, regardless of what I use for the match string. I'd like a daily/weekly view for headings tagged with :HOME: and a second daily/weekly view for headings tagged with :WORK:. Thanks, Yann ___ 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] project management integration
I mostly use org-mode as a way to organize my tasks but would love if there was a way to export/publish to a wiki. Right now I'm using trac-wiki mode to edit trac wiki pages. It works pretty well but I find myself missing org-mode's list/heading manipulation abilities. I could see a benefit to importing trac tickets. Not sure how that would fit into org-mode though. -Jason On Tue, Jul 22, 2008 at 3:38 PM, Cezar Halmagean [EMAIL PROTECTED] wrote: Hello list, I anybody using/integrating org-mode in their workflow together with a project management system like Trac or Redmine ? Or is there a better sollution than those 2 that integrates better with org ? Cezar ___ 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] Orgstruct-mode not present.
In the manual it says I can load an org minor mode(Orgstruct) but when I try, it can't be found. I'm using emacs 22.2.1 on a mac with org-mode 6.05b. Any ideas why I can't find orgstruct anywhere? -Jason ___ 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] outline-cycle and AUCTeX
Hi, Using the old outline-magic.el it was possible to do visibility cycling of a LaTeX file, as it recognized \section, \subsection, etc... as headings. Is it possible to accomplish the same using the orgstruct minor mode? As far as I can see, orgstruct continues to think that asterisks represent headings, even in LaTeX. To edit LaTeX files I use AUCTeX + CDLaTeX. Many thanks! Felipe ___ 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] skipping entries in daily/weekly view
When making custom agendas, can you use the org-agenda-skip-function with the 'agenda' block type? I'm trying to do it, but I'm not successful. I take the example used in the manual's appendix, and I can successfully filer items for a 'todo' block type, but when I change the type and match items from 'todo' and 'next' to 'agenda' and '', I get an empty daily/weekly agenda view, ie no events shown, but the dates are there. I'd like a daily/weekly view for headings tagged with :HOME: and a second daily/weekly view for headings tagged with :WORK:. -Yann ___ 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] Thank you from a newbie...
I have tried numerous outliners and agenda tools and was never happy with any of them. I didn't even think to look at modes of emacs. Emacs and I have been together for years and I refuse to use any other text editor. Now, after finding 'org-mode'...task management bliss! Carsten, thank you so much for your time and effort with this tool! It beats *everything* I've tried. The linking is AWESOME!!! The only other tool I've found that can do linking _almost_ this good was NoteCase. But I bailed on that software after it kept blowing out my execution path. Anyhow, just wanted to offer my sincere thanks and appreciation! --- David A. Gershman [EMAIL PROTECTED] http://dagertech.net/gershman/ It's all about the path! --d. gershman ___ 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] Orgstruct-mode not present.
On Jul 23, 2008, at 9:55 AM, Jason Schadel wrote: In the manual it says I can load an org minor mode(Orgstruct) but when I try, it can't be found. I'm using emacs 22.2.1 on a mac with org-mode 6.05b. Any ideas why I can't find orgstruct anywhere? Do you do (require 'org-install) in .emacs? And the mode is orgstruct-mode, not Orgstruct-mode. - 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] Feature Request: property for the time part of a timestamp.
Unfortunately, you need for me to create a hook for this, which will not happen before September :-( - Carsten On Jul 25, 2008, at 5:33 AM, Jose Robins wrote: Carsten Dominik wrote: Hi Robin, On Jul 23, 2008, at 9:57 AM, Jose Robins wrote: I've been extensively using column mode in the agenda buffer to plan my day/week. I have columns set up for scheduled and deadline. However, I was wondering if it'd be possible to expose just the time part of the scheduled timestamp as a property so that I could have a column for the time part of the timestamp (without the date). This would allow one to look @ the daily agenda and schedule time for tasks with just that column without bothering about the date (after all I'm already in today's agenda; so there is no need to see the date). This would in principle be possible of course, basically a filter when displaying the column. Hi Carsten, Would this filter be something that would be done on the source end? If so, would you consider adding it? :) The GoogleTech talk has inspired me to start hacking into the source code a bit and contributing back. As a baby step, I'm thinking about modifying the column view to display custom date formats for the date column. Any pointers on getting me going on this? Thanks mucho, Jose But Also if it'd be possible to sort the column view based on that column's contents it'd be great. That way, all the tasks will be sorted based on the time of the day that the task has been scheduled for. I guess I'm trying to use the column view similar to the time grid. This does not make sense becaue column view still uses the outline structure of your file. Why don't you just use the agenda or a timeline view for this? - Carsten Not sure if others' sort of planning methodology would benefit from this or not. I'm open to other ideas that folks may feel is more efficient for achieving this as well. Thanks, Jose ___ 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] Customized header for LaTeX export
On Jul 25, 2008, at 2:32 AM, Daniel J. Sinder wrote: As far as I can tell, the variable org-format-latex-header is only used to generate images of LaTeX fragments in non-LaTeX export. A different header seems to be used for LaTeX export. Can the header for LaTeX export be customized? If so, which variable is this in? In particular, the default specifies a4paper, but I want US letter. Check out org-export-latex-classes. - Carsten Thanks, Dan ___ 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] How to convert org file to such a plain text
We do not have an exporter that can do this right now. - Carsten On Jul 24, 2008, at 4:59 PM, anhnmncb wrote: I want to export org to plan text, which pattern is: |level 1 |tablevel 2 |tab- item |tabtablevel 3 instead of |* level 1 |** level 2 |tab- item |*** level 3 -- Regards, anhnmncb gpg key: 44A31344 ___ 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] Bug: remember/refiling filing target
I can reproduce the bug, but I don't know an easy way how to fix it. - Carsten On Jul 21, 2008, at 8:02 AM, Wanrong Lin wrote: Hi, There seems to be a bug in remember/refiling filing target auto- completion prompt, if the target heading text has a forward slash /. For example, if my filing target is the following: * TODO A/B switch needs to be fixed With M-x org-refile, when I press TAB in the mini-buffer to bring up the filing target list, the above target shows up as A/, all text after the forward slash is cut out. However, the actual auto- completion (by pressing A/ and TAB) does work. I am using org 6.05b on Emacs 22.2, my refiling config is: (setq org-refile-targets '((org-agenda-files . (:maxlevel . 2 (setq org-refile-use-outline-path t) Thanks a lot if someone can take a look of it. Wanrong ___ 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] Problems using longlines-mode with tables in org-mode
Unfortunately, I d not know enough about the internals of longlines to fix this. With TAB, Org rewrites the entire table, probably inserting soft newlines. Maybe a solution would be to use font lock to make the newline in each table line hard? - Carsten On Jul 20, 2008, at 7:53 PM, RC wrote: Hi, I tried using long-lines mode in org-mode 6.06pre01 in Enacs 22 and 23 (emacs-snapshot) on Ubuntu 8.04 (64 bit), by adding to my .emacs file: (add-hook 'org-mode-hook 'longlines-mode) However, I am unable to edit tables in org-mode. Hitting TAB causes multiple rows to collapse into in a single line... I don't have fill-mode activated in org-mode as I would like to set soft line-wrapping that adjusts to window size by: ;(add-hook 'org-mode-hook (lambda () (setq longlines-wrap-follows-window-size t))) Is it possible to use longlines-mode with tables in org-mode? Thanks for your assistance. Recif ___ 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: Project Planning Tutorial Using Org-Mode
Peter Jones [EMAIL PROTECTED] writes: The file you want is: emacs/emacs.d/pmade-org.el Of course, I meant to say: emacs/emacs.d/pmade-colors.el For my home-brewed color theme. Sorry about that. -- 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: Project Planning Tutorial Using Org-Mode
rolf [EMAIL PROTECTED] writes: What a clean and concise rc-setup! And, thx for sharing! Thanks. -- 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: Project Planning Tutorial Using Org-Mode
Carsten Dominik [EMAIL PROTECTED] writes: looks great! My workflow would completely suck if it weren't for Org-Mode. Thanks Carsten! -- 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] Upgrading org-mode (in W32)
Hello, I just upgraded my emacs to the current W32 version (GNU Emacs 23.0.60.1) which includes org-mode 6.05a. How do I upgrade org-mode when it is in the ...\emacs\lisp directory? In the past I have just created a new directory in site-lisp and rewrote my .emacs file to point to the new one. Do I just unpack in the existing directory and restart, or is there some other magic? I'm on windows XP on a corporate machine, so incantations like make install at the command line don't usually work. Thanks ___ 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] graphing from org-tables
Any advice for quick graphing of a table in org-mode? I searched the mailing list archives and found nothing. It would be nice to have a command to dump the contents of a table (or single column) to gnuplot. I know calc can interact with gnuplot info:calc:Basic Graphics but with my VERY limited calc experience, I don't see an obvious way to push information from org-tables through the calc gnuplot interface. Thanks -- Eric -- schulte ___ 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] Upgrading org-mode (in W32)
I got the new version of W32 emacs from http://ourcomments.org/Emacs/EmacsW32.html and the new version of org-mode from http://orgmode.org. The new version of emacs has a problem with alt-tab, but I haven't rebooted yet to see if that goes away. (the cure for many strange windows problems!) On Fri, Jul 25, 2008 at 10:50 AM, Tim O'Callaghan [EMAIL PROTECTED] wrote: Hi, where did you download that from? I'd be interested in a newer version of emacs too... regards, Tim. 2008/7/25 Bill Raynor [EMAIL PROTECTED] Hello, I just upgraded my emacs to the current W32 version (GNU Emacs 23.0.60.1) which includes org-mode 6.05a. How do I upgrade org-mode when it is in the ...\emacs\lisp directory? In the past I have just created a new directory in site-lisp and rewrote my .emacs file to point to the new one. Do I just unpack in the existing directory and restart, or is there some other magic? I'm on windows XP on a corporate machine, so incantations like make install at the command line don't usually work. Thanks ___ 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] graphing from org-tables
Hi Eric, Currently this is not implemented. Could be done, there are functions to grab sections of a table. Nice add-on project? - Carsten On Jul 25, 2008, at 8:53 AM, Eric Schulte wrote: Any advice for quick graphing of a table in org-mode? I searched the mailing list archives and found nothing. It would be nice to have a command to dump the contents of a table (or single column) to gnuplot. I know calc can interact with gnuplot info:calc:Basic Graphics but with my VERY limited calc experience, I don't see an obvious way to push information from org-tables through the calc gnuplot interface. Thanks -- Eric -- schulte ___ 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] outline-cycle and AUCTeX
On Jul 23, 2008, at 1:53 PM, Felipe Csaszar wrote: Hi, Using the old outline-magic.el it was possible to do visibility cycling of a LaTeX file, as it recognized \section, \subsection, etc... as headings. Is it possible to accomplish the same using the orgstruct minor mode? As far as I can see, orgstruct continues to think that asterisks represent headings, even in LaTeX. To edit LaTeX files I use AUCTeX + CDLaTeX. Many thanks! Felipe Hi Felipe As long as you are only after the outline cycling functionality, you can simply call org-cycle in any mode that runs outline-minor-mode. I have this in my customization: (add-hook 'outline-minor-mode-hook (lambda () (define-key outline-minor-mode-map [(control tab)] 'org-cycle) (define-key outline-minor-mode-map [(shift tab)] 'org-global- cycle))) (add-hook 'outline-mode-hook (lambda () (define-key outline-mode-map [(tab)] 'org-cycle) (define-key outline-mode-map [(shift tab)] 'org-global-cycle))) When you want to do structure editing, you can use reftex, or outline- magic.el - 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 ___ 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] graphing from org-tables
On 2008-07-25 08:53:31(-0700), Eric Schulte wrote: Any advice for quick graphing of a table in org-mode? I have a setup for plotting data from tables. I'm not sure if it's exactly what you want, but yoy may find it useful. 1. Add the following to your .emacs: (defun ahkt-plot-table (script) util function to export and plot a table using the supplied gnuplot `script' (org-table-export) (let ((cbuf (current-buffer)) (cwin (selected-window))) (save-restriction (save-excursion (find-file script) (gnuplot-send-buffer-to-gnuplot) (bury-buffer) (bury-buffer (get-buffer *gnuplot* (and (window-live-p cwin) (select-window cwin)) (switch-to-buffer cbuf) (delete-other-windows))) 2. Create a gnuplot script which plots data from a file. 3. Add the following properties to the headline containing the table. TABLE_EXPORT_FILE filename in the gnuploy script TABLE_EXPORT_FORMAT orgtbl-to-generic :skip 4 :splice t :sep \t 4. Add an org link in the table (it must be in the table otherwise the export doesn't work) as below: [[elisp:(ahkt-plot-table gnuplot script)][plot table]] I suggest you put it at the top of the table. You will then need to adjust the 'skip' parameter in the export format depending on the number of lines at the top of the table which should not be exported (hlines, more than one plotting link etc). 5. You should then be able to open the link, and get a plot of the table contents. -- |-James TD Smith-email/[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
Re: [Orgmode] graphing from org-tables
Coool On Jul 25, 2008, at 9:25 AM, James TD Smith wrote: On 2008-07-25 08:53:31(-0700), Eric Schulte wrote: Any advice for quick graphing of a table in org-mode? I have a setup for plotting data from tables. I'm not sure if it's exactly what you want, but yoy may find it useful. 1. Add the following to your .emacs: (defun ahkt-plot-table (script) util function to export and plot a table using the supplied gnuplot `script' (org-table-export) (let ((cbuf (current-buffer)) (cwin (selected-window))) (save-restriction (save-excursion (find-file script) (gnuplot-send-buffer-to-gnuplot) (bury-buffer) (bury-buffer (get-buffer *gnuplot* (and (window-live-p cwin) (select-window cwin)) (switch-to-buffer cbuf) (delete-other-windows))) 2. Create a gnuplot script which plots data from a file. 3. Add the following properties to the headline containing the table. TABLE_EXPORT_FILE filename in the gnuploy script TABLE_EXPORT_FORMAT orgtbl-to-generic :skip 4 :splice t :sep \t 4. Add an org link in the table (it must be in the table otherwise the export doesn't work) as below: [[elisp:(ahkt-plot-table gnuplot script)][plot table]] I suggest you put it at the top of the table. You will then need to adjust the 'skip' parameter in the export format depending on the number of lines at the top of the table which should not be exported (hlines, more than one plotting link etc). 5. You should then be able to open the link, and get a plot of the table contents. -- |-James TD Smith-email/[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 ___ 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] Upgrading org-mode (in W32)
On Jul 25, 2008, at 8:40 AM, Bill Raynor wrote: Hello, I just upgraded my emacs to the current W32 version (GNU Emacs 23.0.60.1) which includes org-mode 6.05a. How do I upgrade org-mode when it is in the ...\emacs\lisp directory? In the past I have just created a new directory in site-lisp and rewrote my .emacs file to point to the new one. Do I just unpack in the existing directory and restart, or is there some other magic? I would not recommend overwriting org in the default directories. I would alway just run it from the distribution directory. All you need to do then is to add the path to this directory, and to make sure that Emacs looks at the new directory before checking its own directories. - 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] graphing from org-tables
Thanks, both for the code, and the instructions it worked on the first try! On Friday, July 25, at 17:25, James TD Smith wrote: On 2008-07-25 08:53:31(-0700), Eric Schulte wrote: Any advice for quick graphing of a table in org-mode? I have a setup for plotting data from tables. I'm not sure if it's exactly what you want, but yoy may find it useful. 1. Add the following to your .emacs: (defun ahkt-plot-table (script) util function to export and plot a table using the supplied gnuplot `script' (org-table-export) (let ((cbuf (current-buffer)) (cwin (selected-window))) (save-restriction (save-excursion (find-file script) (gnuplot-send-buffer-to-gnuplot) (bury-buffer) (bury-buffer (get-buffer *gnuplot* (and (window-live-p cwin) (select-window cwin)) (switch-to-buffer cbuf) (delete-other-windows))) 2. Create a gnuplot script which plots data from a file. 3. Add the following properties to the headline containing the table. TABLE_EXPORT_FILE filename in the gnuploy script TABLE_EXPORT_FORMAT orgtbl-to-generic :skip 4 :splice t :sep \t 4. Add an org link in the table (it must be in the table otherwise the export doesn't work) as below: [[elisp:(ahkt-plot-table gnuplot script)][plot table]] I suggest you put it at the top of the table. You will then need to adjust the 'skip' parameter in the export format depending on the number of lines at the top of the table which should not be exported (hlines, more than one plotting link etc). 5. You should then be able to open the link, and get a plot of the table contents. -- |-James TD Smith-email/[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 -- schulte ___ 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: Project Planning Tutorial Using Org-Mode
On Fri, Jul 25, 2008 at 8:16 PM, Peter Jones wrote: Peter Jones [EMAIL PROTECTED] writes: The file you want is: emacs/emacs.d/pmade-org.el Of course, I meant to say: emacs/emacs.d/pmade-colors.el For my home-brewed color theme. Wow! Very neat and eye-pleasing. Thanks a lot. -- 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] Gnus nnimap links
I find that my org-mode links to Gnus articles are very unstable, often breaking. Specifically, a link to an article will work when created and later be broken. Almost all the links I make to Gnus articles are to articles in an nnimap backend connecting to a local dovecot IMAP server that is synced with the remote dovecot IMAP server using OfflineIMAP. I don't know if its at all specific to nnimap or OfflineIMAPI. IOW, since the problem is intermittent and I don't link to many articles with other backends, the fact that I've only run into this problem with this stack doesn't mean it doesn't occur for a different stack. Has anyone run into this or a related problem? Does anyone have any suggestions for where I might start looking. Ross ___ 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: How to convert org file to such a plain text
Carsten Dominik [EMAIL PROTECTED] writes: We do not have an exporter that can do this right now. - Carsten Will it come in furture? On Jul 24, 2008, at 4:59 PM, anhnmncb wrote: I want to export org to plan text, which pattern is: |level 1 |tablevel 2 |tab- item |tabtablevel 3 instead of |* level 1 |** level 2 |tab- item |*** level 3 -- Regards, anhnmncb gpg key: 44A31344 ___ 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 -- Regards, anhnmncb gpg key: 44A31344 ___ 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] graphing from org-tables
I had some time waiting for things to execute, so I condensed your process into a single command (borrowing heavily from org-export-table). (defun org-table/gnuplot (optional x-col) Plot the current table using gnuplot. Use a prefix argument to specify a column to use for the x-coordinates, to use the row number for the x-coordinates provide a prefix argument of 0. (interactive p) (message (format %S x-col)) (unless (org-at-table-p) (error No table at point)) (require 'org-exp) (require 'gnuplot) (org-table-align) ;; make sure we have everything we need (let* ((beg (org-table-begin)) (end (org-table-end)) (cols (save-excursion (goto-char end) (backward-char 3) (org-table-current-column))) (data-beg (if (and (goto-char beg) (re-search-forward org-table-dataline-regexp end t) (re-search-forward org-table-hline-regexp end t) (re-search-forward org-table-dataline-regexp end t)) (match-beginning 0) beg)) (skip (- (line-number-at-pos data-beg) (line-number-at-pos beg))) (exp-format (format orgtbl-to-tsv :skip %d skip)) (file (make-temp-file org-table-plot))) ;; export table (org-table-export file exp-format) (with-temp-buffer ;; write script (insert (org-table/gnuplot-script file x-col cols)) ;; graph table (gnuplot-mode) (gnuplot-send-buffer-to-gnuplot) (bury-buffer (get-buffer *gnuplot*))) (delete-file file))) (defun org-table/gnuplot-script (file x-col num-cols) (let ((plot-str '%s' using %s:%d with lines title '%d');; \\\n, script) (dotimes (col (+ 1 num-cols)) (unless (or (and x-col (equal col x-col)) (equal col 0)) (setf script (cons (format plot-str file (or (and x-col (format %d x-col)) ) col col) script (concat plot (mapconcat 'identity (reverse script) \\\n, On Friday, July 25, at 17:25, James TD Smith wrote: On 2008-07-25 08:53:31(-0700), Eric Schulte wrote: Any advice for quick graphing of a table in org-mode? I have a setup for plotting data from tables. I'm not sure if it's exactly what you want, but yoy may find it useful. 1. Add the following to your .emacs: (defun ahkt-plot-table (script) util function to export and plot a table using the supplied gnuplot `script' (org-table-export) (let ((cbuf (current-buffer)) (cwin (selected-window))) (save-restriction (save-excursion (find-file script) (gnuplot-send-buffer-to-gnuplot) (bury-buffer) (bury-buffer (get-buffer *gnuplot* (and (window-live-p cwin) (select-window cwin)) (switch-to-buffer cbuf) (delete-other-windows))) 2. Create a gnuplot script which plots data from a file. 3. Add the following properties to the headline containing the table. TABLE_EXPORT_FILE filename in the gnuploy script TABLE_EXPORT_FORMAT orgtbl-to-generic :skip 4 :splice t :sep \t 4. Add an org link in the table (it must be in the table otherwise the export doesn't work) as below: [[elisp:(ahkt-plot-table gnuplot script)][plot table]] I suggest you put it at the top of the table. You will then need to adjust the 'skip' parameter in the export format depending on the number of lines at the top of the table which should not be exported (hlines, more than one plotting link etc). 5. You should then be able to open the link, and get a plot of the table contents. -- |-James TD Smith-email/[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 -- schulte ___ 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: Gnus nnimap links
Ross Patterson [EMAIL PROTECTED] writes: I find that my org-mode links to Gnus articles are very unstable, often breaking. Specifically, a link to an article will work when created and later be broken. Almost all the links I make to Gnus articles are to articles in an nnimap backend connecting to a local dovecot IMAP server that is synced with the remote dovecot IMAP server using OfflineIMAP. I don't know if its at all specific to nnimap or OfflineIMAPI. IOW, since the problem is intermittent and I don't link to many articles with other backends, the fact that I've only run into this problem with this stack doesn't mean it doesn't occur for a different stack. Has anyone run into this or a related problem? Does anyone have any suggestions for where I might start looking. I use Gnus with a local cyrus imap server on my network. Occasionally links to mail fails when they are in subfolders of my INBOX. (i.e. a link to [[gnus:INBOX.SomeFolder#12345][email description]] will fail. I usually have Gnus session permanently open in a second frame all day long and if I just open the SomeFolder group in Gnus then the link works again. So far that's my workaround for this issue - it's not very elegant but it Works For Me(tm). -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
[Orgmode] Re: Upgrading org-mode (in W32)
Hi For those few who are not yet very emacs savvy -- in follow up to the original post: on my windows xp (work machine)GNU Emacs 23.0.60.1 (included is 5.23 org mode) 1. I downloaded and unzipped org-6.06a to c:/Documents and Settings/csnyder/Desktop/Archive/orgmode/org-6.06a/ 2. I then added to the top of my .emacs file (I assume this is how you make sure that Emacs looks at the new directory before checking its own directories?: (add-to-list 'load-path c:/Documents and Settings/csnyder/Desktop/Archive/orgmode/org-6.06a/);; latest orgmode ...I still get the old 5.23 version of orgmode, but no error messages... Sorry to be so basic, but I like the org mode and would like be able to update when new features are added! Thanks CLS ___ 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: Gnus nnimap links
Bernt Hansen [EMAIL PROTECTED] writes: Ross Patterson [EMAIL PROTECTED] writes: I find that my org-mode links to Gnus articles are very unstable, often breaking. Specifically, a link to an article will work when created and later be broken. Almost all the links I make to Gnus articles are to articles in an nnimap backend connecting to a local dovecot IMAP server that is synced with the remote dovecot IMAP server using OfflineIMAP. I don't know if its at all specific to nnimap or OfflineIMAPI. IOW, since the problem is intermittent and I don't link to many articles with other backends, the fact that I've only run into this problem with this stack doesn't mean it doesn't occur for a different stack. Has anyone run into this or a related problem? Does anyone have any suggestions for where I might start looking. I use Gnus with a local cyrus imap server on my network. Occasionally links to mail fails when they are in subfolders of my INBOX. (i.e. a link to [[gnus:INBOX.SomeFolder#12345][email description]] will fail. I usually have Gnus session permanently open in a second frame all day long and if I just open the SomeFolder group in Gnus then the link works again. So far that's my workaround for this issue - it's not very elegant but it Works For Me(tm). Thanks for the suggestion! I tried that in a couple ways and couldn't get it to work. On further inspection, I think maybe there may be something that is removing the message number within the group used in the link. For example, one broken link is #4922. When I look in the group, the message that is supposed to be linked now has number #4923. So I think somehow there's something in my setup that is duplicating and removing the original. I found a case of duplicated messages and noted that the Message-ID header *is* stable. Might there be a way to get org-mode links to use that header for lookup rather than Gnus' internal group message number? It seems like that might be better data to store anyways in that it's more portable. Ross ___ 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: Upgrading org-mode (in W32)
On Jul 25, 2008, at 12:58 PM, charles snyder wrote: Hi For those few who are not yet very emacs savvy -- in follow up to the original post: on my windows xp (work machine)GNU Emacs 23.0.60.1 (included is 5.23 org mode) 1. I downloaded and unzipped org-6.06a to c:/Documents and Settings/csnyder/Desktop/Archive/orgmode/org-6.06a/ 2. I then added to the top of my .emacs file (I assume this is how you make sure that Emacs looks at the new directory before checking its own directories?: (add-to-list 'load-path c:/Documents and Settings/csnyder/Desktop/Archive/orgmode/org-6.06a/);; latest orgmode The load path needs to point to the lisp/ sub directory. - 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] Re: Upgrading org-mode (in W32)
On Fri, Jul 25, 2008 at 3:03 PM, Carsten Dominik [EMAIL PROTECTED] wrote: On Jul 25, 2008, at 12:58 PM, charles snyder wrote: Hi For those few who are not yet very emacs savvy -- in follow up to the original post: on my windows xp (work machine)GNU Emacs 23.0.60.1 (included is 5.23 org mode) 1. I downloaded and unzipped org-6.06a to c:/Documents and Settings/csnyder/Desktop/Archive/orgmode/org-6.06a/ 2. I then added to the top of my .emacs file (I assume this is how you make sure that Emacs looks at the new directory before checking its own directories?: (add-to-list 'load-path c:/Documents and Settings/csnyder/Desktop/Archive/orgmode/org-6.06a/);; latest orgmode The load path needs to point to the lisp/ sub directory. - Carsten Thanks! that fixed it. cls ___ 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: Project Planning Tutorial Using Org-Mode
Peter Jones [EMAIL PROTECTED] writes: Peter Jones [EMAIL PROTECTED] writes: The file you want is: emacs/emacs.d/pmade-org.el Of course, I meant to say: emacs/emacs.d/pmade-colors.el For my home-brewed color theme. Sorry about that. Thank you very much ! Is that Emacs on OS X ? And if so, which one ? Carbon Emacs ? Cezar ___ 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] Feature Request: property for the time part of a timestamp.
If you get the latest git version, take a look at the variable `org-columns-modify-value-for-display-function'. HTH - Carsten On Jul 25, 2008, at 5:33 AM, Jose Robins wrote: Carsten Dominik wrote: Hi Robin, On Jul 23, 2008, at 9:57 AM, Jose Robins wrote: I've been extensively using column mode in the agenda buffer to plan my day/week. I have columns set up for scheduled and deadline. However, I was wondering if it'd be possible to expose just the time part of the scheduled timestamp as a property so that I could have a column for the time part of the timestamp (without the date). This would allow one to look @ the daily agenda and schedule time for tasks with just that column without bothering about the date (after all I'm already in today's agenda; so there is no need to see the date). This would in principle be possible of course, basically a filter when displaying the column. Hi Carsten, Would this filter be something that would be done on the source end? If so, would you consider adding it? :) The GoogleTech talk has inspired me to start hacking into the source code a bit and contributing back. As a baby step, I'm thinking about modifying the column view to display custom date formats for the date column. Any pointers on getting me going on this? Thanks mucho, Jose But Also if it'd be possible to sort the column view based on that column's contents it'd be great. That way, all the tasks will be sorted based on the time of the day that the task has been scheduled for. I guess I'm trying to use the column view similar to the time grid. This does not make sense becaue column view still uses the outline structure of your file. Why don't you just use the agenda or a timeline view for this? - Carsten Not sure if others' sort of planning methodology would benefit from this or not. I'm open to other ideas that folks may feel is more efficient for achieving this as well. Thanks, Jose ___ 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