Re: [Orgmode] Re: Creating an Ubuntu Package for org.

2008-08-26 Thread Harri Kiiskinen
From: Paul R [EMAIL PROTECTED]
Subject: [Orgmode] Re: Creating an Ubuntu Package for org.
Date: Mon, 25 Aug 2008 10:45:00 +0200

 On Mon, 25 Aug 2008 09:19:46 +0100, Ian Barton [EMAIL PROTECTED] said:
 
 Ian Comments please!
 
 Ubuntu uses the debian emacs packages distribution system. So if you
 want an ubuntu package, you probably want to do the debian package at
 first, and let the ubuntu packagers do their work for next release.

And org-mode has already been packaged for Debian, see 
http://packages.debian.org/org-mode

--
Harri K.


___
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: Creating an Ubuntu Package for org.

2008-08-26 Thread Ian Barton

 Whilst it's pretty easy to install org from source, I thought it might
 be helpful to make an Ubuntu package. Making a package may encourage
 more people to try org as it overcomes some hurdles in installation.
 Also you should automatically get up to date versions.
 
 Debian already has a separate org-mode package, currently up to date at
 6.06b-1.  The development release of Ubuntu currently features version
 6.05-2 of that package.
 
Good, I hadn't realised that Intrepid had included org mode as a
separate package. There is a bug in the current alpha which stops it
running on Virtual Box, so I haven't had a chance to look at it. So it
looks as though there is nothing for me to do:)

Ian.



___
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: Showing todos with inherited tags in agenda views

2008-08-26 Thread Richard G Riley
Bernt Hansen [EMAIL PROTECTED] writes:

 Robert Goldman [EMAIL PROTECTED] writes:

 I hope that this isn't too much of an FAQ, but I searched the mailing
 list and couldn't find an answer (although I could find the question
 being asked):

 Is it possible to tailor the agenda view so that when it displays the
 TODO items it shows those todo items with their *inherited* tags?

 My display seems to show only the tags directly applied to the items.
 This isn't so great for me, since I put my TODO items in multiple files,
 one for each project, and put at the * Tasks level in those files a tag
 corresponding to the project.  I'd really like to see those tags in the
 agenda view, so I know what project the TODOs belong to.

 Hi Robert,

 I use categories for this.  I have multiple org files (normally one per
 project) but some files (like todo.org) are catch-all org files which
 have multiple categories.

 I set the category for a subtree using a property.

 All of my project tasks are level 2 tasks so they have a level 1 parent
 task for organizing things.  Such as

 ,[ proj1.org ]
 | * Support
 |   :PROPERTIES:
 | :ARCHIVE: %s_archive::* Support
 | :CATEGORY: PROJ1
 |   :END:
 | ** TODO First Project
 | ** TODO Second Project
 `

 so all tasks in this project show up in the agenda in the 'PROJ1'
 category.  You're free to set different categories for any subtree and I
 find it very flexible.

 This works great for me.


I use this too. I would ask that the category name in the left column of
the agenda view used its own face though. Is this possible?


___
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-plot (generating graphs from org-mode)

2008-08-26 Thread Manish
  On Tue, Aug 26, 2008 at 7:23 AM, Eric Schulte wrote:
   Hi,
  
   org-plot enables generation of graphs from data stored in org tables
   (maybe eventually elsewhere in org files).
  
   It is available on github at
   http://github.com/eschulte/org-plot/tree/master or with
  
git clone git://github.com/eschulte/org-plot.git
  
   Included with org-plot.el is an example.org file which should quickly
   show off it's features, options and abilities.
  
   While this is not completed, it is functional, and I figure better to
   get early feedback then wait until it's all polished.  Please give it
   a look and let me know what you think.

Awesome!  This has wonderful possibilities for my work.  I just wish I
had this a couple of months ago.  But I hope I am going to have an
opportunity to use this again soon.

Works great on GNU Emacs 22.1.1 with Org 6.06b and gnuplot 4.2
patchlevel 3.  Got a current buffer has no process when tried from
Windows Native GNU Emacs 22.2.1 but I am sure that's something I need
to correct at my end.

A couple of questions (or feature requests):

1. How can I save the image?  I think the question how to use a
   different device like png and have charts saved on disk.

2. How to use custom labels?

3. How can I pick and choose which columns to plot like in gnuplot's
   plot command?

4. How can I cycle through all tables and plot them all?

Thanks for writing and sharing this.

Regards,
-- 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


Re: [Orgmode] org-info.js - new version with tags index

2008-08-26 Thread Rick Moynihan

Sebastian Rose wrote:

Hello list,


Rick Moynihan requested a table of contents sorted by tags
(http://lists.gnu.org/archive/html/emacs-orgmode/2008-07/msg00434.html). 
The new version on http://repo.or.cz/w/Worg.git provides a the

shortcut 'C' to show such an index:


Tag1
   - Headline with tag1
   - Another headline with tag1 and tag2

Tag2
   - Headline with tag2
   - Another headline with tag1 and tag2


Excellent!  Thanks for this, it works great!  My only issue is that the 
tags in the table, don't look like links, or look clickable.  Admitedly 
this only becomes an issue when others are browsing a file published 
with org-info.js.


Also it would be handy to be able to hyperlink directly to this (and the 
other table of contents).



There is no inheritance though. As for the most cases, the links
lead to the local toc showing all subsections. Maybe inheritance
should be an option?


I personally don't tend to use inheritance a lot, but I can see how it 
could be useful.


On an unrelated topic, what struck me as interesting was how similar 
org-info.js is to s5 (the XHTML/CSS/js) presentation format.  I did 
mention this briefly here:


http://thread.gmane.org/gmane.emacs.orgmode/2668/focus=7656

I took a look at what would be required to re-style 
org-info.js/org-publish files like s5; and it looked possible but my 
XHTML/CSS/js skills are a little rusty.


What do you think it would take to modify org-info.js into a 
presentation format like s5?  Writing presentations in org-mode and then 
publishing to XHTML/org-info.js seems like a great idea, and it strikes 
me that org-info.js is already pretty close.


I'm not entirely sure what s5 offers that this combination doesn't, but 
it seems to largely be around ensuring that slides are scaled to fit 
into the browser-window, rather than scrolling, and that the slides are 
styled more minimally and a little more like a powerpoint file.


Thanks again for your hard work!!

R.














___
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 appointments not cancelling

2008-08-26 Thread Richard G Riley

I have the following in one of my org files but the reminder is still
popping up (or was until the original scheduled time was passed). What
do I need to call to have a cancelled org entry removed from the
reminder mechanism? I use the gtk reminder system and include the code
below. Does the org-agenda-to-appt not remove closed/cancelled entries?
(Note I changed the run-at-time parameters to run now and repeat every
while).

1) org entry

** CANCELED gf 
   SCHEDULED: 2008-08-26 Tue 14:00 CLOSED: [2008-08-26 Tue 13:50]

2) code

;;;
; For org appointment reminders

; 5 minute warnings
(setq appt-message-warning-time '15)
(setq appt-display-interval '5)

; Update appt each time agenda opened.
(add-hook 'org-finalize-agenda-hook 'org-agenda-to-appt)

; Setup zenify, we tell appt to use window, and replace default function
(setq appt-display-format 'window)
(setq appt-disp-window-function (function my-appt-disp-window))

(defun my-appt-disp-window (min-to-app new-time msg)  
  (save-window-excursion (shell-command (concat 
/usr/bin/zenity --info --title='Appointment' --text=' 
msg
' 
) nil nil)
))

;; activate and schedule refresh
(appt-activate t)
(run-at-time nil 3600 'org-agenda-to-appt)





___
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-plot (generating graphs from org-mode)

2008-08-26 Thread Sebastian Rose

Hi Eric,

It's beautiful!

...but in emacs 23 only the first table works.

C-M-g on the other tables gives me the following message:

'Not in table data field'


emacs 23, CVS last week, Debian testing.


But, hey, this is wonderful!


 - Sebastian


Eric Schulte wrote:

Hi,

org-plot enables generation of graphs from data stored in org tables
(maybe eventually elsewhere in org files).

It is available on github at
http://github.com/eschulte/org-plot/tree/master or with

  git clone git://github.com/eschulte/org-plot.git

Included with org-plot.el is an example.org file which should quickly
show off it's features, options and abilities.

While this is not completed, it is functional, and I figure better to
get early feedback then wait until it's all polished.  Please give it
a look and let me know what you think.

Thanks -- Eric


___
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] org-plot (generating graphs from org-mode)

2008-08-26 Thread Sebastian Rose

Hi again,


still emacs 23:


On the table with data:

  The first try works. Then I have to pres C-M-g twice to get
  the plot window.


On the empty tables:

  with (setq debug-on-error t) this is in *Messages*:


(:plot-type grid :with lines :ind 0 :title org mode :map nil) [3 times]
Mark set [14 times]
Mapping tables: 100%
Mark set [2 times]
Mapping tables: done
signal: Wrong number of arguments: (lambda (el) (message (format %S 
el)) el), 2




The buffer is modified after C-M-g and emacs asks if I want to save it.


 - Sebastian




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-plot (generating graphs from org-mode)

2008-08-26 Thread Eric Schulte
On Tuesday, August 26, at 14:36, Sebastian Rose wrote:
  Hi again,
  
  
  still emacs 23:

on Debian (Xubuntu) I'm using
- cvs emacs23 (from a couple of weeks ago)
- gnuplot 4.2 patchlevel 2
- gnuplot.el 0.6.0

  On the table with data:
  
 The first try works. Then I have to pres C-M-g twice to get
 the plot window.

I've noticed this as well, but for me it only happens when doing 3d or
grid plots.  I think the gnuplot process may be changing state, I may
just start restarting this process before every graph.

  On the empty tables:
  
 with (setq debug-on-error t) this is in *Messages*:

How have I never seen `debug-on-error' before! thanks

  (:plot-type grid :with lines :ind 0 :title org mode :map nil) [3 times]
  Mark set [14 times]
  Mapping tables: 100%
  Mark set [2 times]
  Mapping tables: done
  signal: Wrong number of arguments: (lambda (el) (message (format %S 
  el)) el), 2
  
  
  
  The buffer is modified after C-M-g and emacs asks if I want to save it.

That is certainly something to figure out.

I've added all these issues to my TODO for the project, and will
hopefully start resolving them soon, I'll update here.

Thanks for the testing/debugging -- Eric

- Sebastian
  
  
  
  
  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
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] org-plot (generating graphs from org-mode)

2008-08-26 Thread Eric Schulte
On Tuesday, August 26, at 15:32, Manish wrote:
On Tue, Aug 26, 2008 at 7:23 AM, Eric Schulte wrote:
 Hi,

 org-plot enables generation of graphs from data stored in org tables
 (maybe eventually elsewhere in org files).

 It is available on github at
 http://github.com/eschulte/org-plot/tree/master or with

  git clone git://github.com/eschulte/org-plot.git

 Included with org-plot.el is an example.org file which should quickly
 show off it's features, options and abilities.

 While this is not completed, it is functional, and I figure better to
 get early feedback then wait until it's all polished.  Please give it
 a look and let me know what you think.
  
  Awesome!  This has wonderful possibilities for my work.  I just wish I
  had this a couple of months ago.  But I hope I am going to have an
  opportunity to use this again soon.

Great to hear, hopefully this will be more robust by then :)

  Works great on GNU Emacs 22.1.1 with Org 6.06b and gnuplot 4.2
  patchlevel 3.  Got a current buffer has no process when tried from
  Windows Native GNU Emacs 22.2.1 but I am sure that's something I need
  to correct at my end.

I'll take a look and see if there are any unix-only commands being
used, I have no access to windows machines so I may not be able to
reproduce.

  A couple of questions (or feature requests):
  
  1. How can I save the image?  I think the question how to use a
 different device like png and have charts saved on disk.

you can save the image by adding a

 file:path-to-image.jpg

option to the #+PLOT: line above the graph, which should set gnuplot's
`output' and `term' options appropriately, if you want to do fancy
things you can set these values manually by adding something like the
following to the #+PLOT: line

 set:terminal png transparent nocrop enhanced font arial 8
 set:output 'my-output-file.png'

  2. How to use custom labels?

there is an option intended for this purpose labels:(col1 col2) which
should have this effect, however I will probably need to change the
way the regexp parses options first, I'll put this on my TODO list and
let you know when it's working.

  3. How can I pick and choose which columns to plot like in gnuplot's
 plot command?

you select the column to serve as the dependent variable (x-axis)
using the dep: command with the number of the column as the sole
argument (dep:1 to use the first column).  To specify which cols
should be plotted use the inds: options passing a list of column
numbers, like inds:(2 3)

  4. How can I cycle through all tables and plot them all?

I have no idea what the best method would be for cycling through
tables, I agree this would be a useful feature (picturing all graphs
being re-generated upon export to latex/html), however I don't know of
any commands for cycling through tables.  I've been thinking of
defining a [[plot:]] type link which may make this easier.  Also, I
may be able to copy an answer from the exporting code.  If anyone has
any ideas I'd love to hear them.

  Thanks for writing and sharing this.

Thank you, I'm happy it may be useful. -- Eric

  Regards,
  -- Manish

-- 
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: Emacs-orgmode Digest, Vol 30, Issue 39

2008-08-26 Thread Stephan Schmitt

Eric Schulte wrote:

On Tuesday, August 26, at 14:36, Sebastian Rose wrote:
  The buffer is modified after C-M-g and emacs asks if I want to save it.

That is certainly something to figure out.



This happens already if you press tab with the cursor 
located inside a table, so this is probably an org issue.


Eric, did you know that Carsten provided a function called 
org-table-to-lisp in org-6.06b?  I think with this you can 
refactor your code to be more modular and thus better 
maintainable and extensible.


Regards,
Stephan


___
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-orgmode Digest, Vol 30, Issue 39

2008-08-26 Thread Eric Schulte
On Tuesday, August 26, at 19:57, Stephan Schmitt wrote:
  Eric Schulte wrote:
   On Tuesday, August 26, at 14:36, Sebastian Rose wrote:
 The buffer is modified after C-M-g and emacs asks if I want to save it.
   
   That is certainly something to figure out.
   
  
  This happens already if you press tab with the cursor 
  located inside a table, so this is probably an org issue.

I had been using tab `org-cycle' in some cases to position the cursor
on selected columns, so that is probably the cause.

  Eric, did you know that Carsten provided a function called 
  org-table-to-lisp in org-6.06b?  I think with this you can 
  refactor your code to be more modular and thus better 
  maintainable and extensible.

I was not aware of that function.  It should certainly help, both in
cleaning up the code, and hopefully removing the reliance on
`org-cycle'.  Using `org-table-to-lisp' should also eliminate the 'Not
in table data field' error that Sebastian mentioned.  Thanks -- Eric

  Regards,
   Stephan

-- 
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] org-plot (generating graphs from org-mode)

2008-08-26 Thread Eric Schulte
On Tuesday, August 26, at 11:08, Eric Schulte wrote:
  On Tuesday, August 26, at 19:57, Stephan Schmitt wrote:
Eric, did you know that Carsten provided a function called 
org-table-to-lisp in org-6.06b?  I think with this you can 
refactor your code to be more modular and thus better 
maintainable and extensible.

I have switched over to using `org-table-to-lisp' for all table
manipulation, and (at least in my environment), it seems to have made
the graphing functions faster, and much more reliable (no longer do I
have to run a function twice to generate a graph).

I believe this should fix most of the bugs mentioned previously.

Also, I have finished support for 3d graphing.  The updated version is
up on my git repo at

http://github.com/eschulte/org-plot/tree/master

or

git clone git://github.com/eschulte/org-plot.git

Of course if anyone has any comments, problems, or suggestions please
let me know.

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


[Orgmode] Using numbers w/ commas in spreadsheets?

2008-08-26 Thread Parker, Matthew
Is it possible to work w/ numbers w/ commas in 'spreadsheets'?

 

when trying to add 3,000 to 4,000 below...

  =$1+$2

... yields 7

 

and this works but is long winded:

  @2$3='(+ (string-to-number (replace-regexp-in-string ,  $1))
(string-to-number (replace-regexp-in-string ,  $2)) )

 

I reviewed the chapter on tables... am I missing something simple?

 

Thanks

 

| one | two | sum   |

|-+-+---|

| 3000| 4000| 7000  |

| 3,000   | 4,000   | 7 |

| 3,000   | 4,000   | 7000  |

| 3,000 | 4,000 | [103, 88, 96, 96, 96] |

| 3\,000  | 4\,000  | #ERROR|

| '3,000' | '4,000' | #ERROR|

#+TBLFM: @2$3='(+ (string-to-number (replace-regexp-in-string , 
$1)) (string-to-number (replace-regexp-in-string ,  $2))
)::@3$3=$1+$2

 

 

___
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