[Orgmode] Re: A much simpler way of handling dependent tasks

2009-01-26 Thread Carsten Dominik

Hi John,

I realize now that you do not make use of the code in
org-depend.el at all, which is what I thought at first.

Two options:

- I can add the file, but then under a different name - org-depend
  and org-depends are not different in the first 8 characters.
- I can move the code to org-agenda.el and create a variable to
  turn this behavior on and off.

- Carsten

On Jan 27, 2009, at 8:31 AM, John Wiegley wrote:


On Jan 27, 2009, at 2:47 AM, Carsten Dominik wrote:

Do you think it makes sense to integrate this code into org- 
depend.el?


Actually, I don't, since it's a completely different approach.  org- 
depend.el as it stands now is based on a programmatic methodology,  
which more complex blocking schemes could be built on top of.


I think this module represents something much simpler, which should  
be toggled by a single global boolean to indicate "on" or "off".  My  
preference would be to see it mainlined, if that meets with your  
approval, Carsten.


John





___
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: A much simpler way of handling dependent tasks

2009-01-26 Thread John Wiegley

On Jan 27, 2009, at 2:47 AM, Carsten Dominik wrote:


Do you think it makes sense to integrate this code into org-depend.el?


Actually, I don't, since it's a completely different approach.  org- 
depend.el as it stands now is based on a programmatic methodology,  
which more complex blocking schemes could be built on top of.


I think this module represents something much simpler, which should be  
toggled by a single global boolean to indicate "on" or "off".  My  
preference would be to see it mainlined, if that meets with your  
approval, Carsten.


John



___
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-batch-agenda

2009-01-26 Thread Carsten Dominik

I guess this would be a good FAQ entry.  Would you like to write one?

- Carsten

On Jan 26, 2009, at 7:39 PM, Mark Elston wrote:


Carsten,

Thanks.  The quoting was the problem.  I changed the line from what
I had below to:

 c:\emacs-22.3\bin\emacs.exe -batch -l ~/_emacs_org -eval \
   "(org-batch-agenda \"S\")"

and it now works like I expect.

Perhaps there should be somewhere to deal with some of these platform
specific issues so we don't run into them multiple times...

Mark

* Carsten Dominik wrote (on 1/24/2009 7:58 AM):

On Jan 23, 2009, at 1:28 AM, Mark Elston wrote:

I am trying to export information from my org files and am
getting an error every time I run the batch file (Windows XP)

I am starting with a stripped down .emacs file which just sets up
my load path then does the following:

;
;;ORG MODE
(require 'org-install)

(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))

(setq org-log-done 'time)
(setq org-agenda-include-diary t)
(setq org-directory "~/org/")
(setq org-agenda-custom-commands
'(("S" "Schedule for the week plus TODO's"
   ((agenda "")
(todo "TODO")

My batch file looks like this:

c:\emacs-22.3\bin\emacs.exe -batch -l ~/_emacs_org -eval '(org- 
batch-agenda "S")'

This works for me, but it is possible that quoting in a windows
batch file works differently?
The error message looks to me as if there is a parsing error for  
the -eval form.

- Carsten



When I run this from the command line I get:

Loading c:/Home/emacs-22/precompile.el (source)...
Loading c:/Home/emacs-22/all_org.el (source)...
Loading c:/Home/emacs-22/melston-note-paths.el (source)...
Done loading ~/emacs/all_org
Loading c:/Home/emacs-22/custom.el (source)...
Loading gnus...
Done loading init file
End of file during parsing

I saw this mentioned in the list at gmane but never saw
any resolution for it.  Any ideas?

Mark


___
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] Please test 6.19a

2009-01-26 Thread Carsten Dominik


On Jan 26, 2009, at 8:20 PM, Christopher Suckling wrote:



On 26 Jan 2009, at 07:24, Carsten Dominik wrote:



On Jan 25, 2009, at 11:50 PM, Christopher Suckling wrote:



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.


I cannot reproduce this, works fine for me.

Anything the the *Messages* buffer that indicates that visiting a  
new buffer

in Org-mode crashes half-way, i.e. before the ful setup has finished?


Nothing in *Messages*, but I suspect:

My fault: I had (setq org-show-entry-below t) in my .emacs from  
playing around with sparse trees. Setting it to  (default . nil)  
fixes the VISIBILITY problem. So I learn that org-show-entry-below  
takes priority over VISIBILITY properties...


Which is actually a bug, fixed now, thanks.




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


[Orgmode] Re: A much simpler way of handling dependent tasks

2009-01-26 Thread Carsten Dominik

Do you think it makes sense to integrate this code into org-depend.el?

- Carsten

On Jan 26, 2009, at 10:16 PM, John Wiegley wrote:

I've been wanting a simple method for managing dependent tasks for  
some time now, and only now did it occur to me that I could just  
implement a much simpler method using your current blocking mechanism.


The attached file, confusingly named org-depends.el, implements the  
following scheme:


1. Any TODO which has incomplete child TODOs is blocked.

2. If a parent TODO has the ORDERED property, it's children must be
   completed in order.  Undone siblings block later siblings.

3. Blocked items are greyed out in the agenda list.

John






___
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: A much simpler way of handling dependent tasks

2009-01-26 Thread Carsten Dominik


On Jan 27, 2009, at 2:18 AM, Jesse Alama wrote:


Oliver Charles  writes:


On Mon, Jan 26, 2009 at 05:16:17PM -0400, John Wiegley wrote:
I've been wanting a simple method for managing dependent tasks for  
some
time now, and only now did it occur to me that I could just  
implement a

much simpler method using your current blocking mechanism.

The attached file, confusingly named org-depends.el, implements the
following scheme:

[ ... ]


This is very cool and I'm immediately in love with it! I'll let you
know if I have any problems, but it seems like it just works. Neat.


Any chance of putting this into the org codebase (if not as one of the
core modules, then as a contrib module)?


Anything John sends my way gets a pretty good chance at that :-)

- Carsten




Jesse

--
Jesse Alama (al...@stanford.edu)



___
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: A much simpler way of handling dependent tasks

2009-01-26 Thread John Wiegley

On Jan 26, 2009, at 5:16 PM, John Wiegley wrote:

The attached file, confusingly named org-depends.el, implements the  
following scheme:


I found a bug which would cause a Lisp error when trying to change the  
state of top-level TODO items.  The attached version (now 1.0) fixes  
this.


John



org-depends.el
Description: Binary data



___
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 SCHEDULED to indicate task start date

2009-01-26 Thread Robert Goldman

> Date: Mon, 26 Jan 2009 16:45:03 +
> From: Nick Bell 
> Subject: [Orgmode] Using SCHEDULED to indicate task start date
> To: Emacs org-mode list 
> Message-ID: <497de88f.4040...@nickbell.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Dear org-mode users and developers,
> 
> [Using 6.17 here.]
> 
> SCHEDULED nicely hides TODOs from agenda views until on/after the 
> SCHEDULED date.
> 
> I'd like to hide TODOs whose SCHEDULED date is in the future from the 
> global todo list (C-c a t) .
> 
> 'Org Agenda Todo Ignore Scheduled' option hides all scheduled TODOs, 
> including those whose scheduled date is in the past, so won't work for me.
> 
> In other words, I'd like to use SCHEDULED function as a kind of 'start 
> date' for a TODO, before which it won't appear on agenda or global todo 
> lists. Is this possible?
> 

I would actually suggest that it would be better to put in some form of
NOTBEFORE (better name anyone?) that would do the hiding, instead of
(mis) using SCHEDULED for this purpose.  I looked into the org-mode code
and it's very nicely structured so that it should not be hard to add
this.  I have been meaning to get around to it myself, but haven't been
able to take time away from what I'm paid to do for this "recreational
programming" yet


best,
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] Re: A much simpler way of handling dependent tasks

2009-01-26 Thread Jesse Alama
Oliver Charles  writes:

> On Mon, Jan 26, 2009 at 05:16:17PM -0400, John Wiegley wrote:
>> I've been wanting a simple method for managing dependent tasks for some 
>> time now, and only now did it occur to me that I could just implement a 
>> much simpler method using your current blocking mechanism.
>>
>> The attached file, confusingly named org-depends.el, implements the  
>> following scheme:
>>
>> [ ... ]
>
> This is very cool and I'm immediately in love with it! I'll let you
> know if I have any problems, but it seems like it just works. Neat.

Any chance of putting this into the org codebase (if not as one of the
core modules, then as a contrib module)?

Jesse

-- 
Jesse Alama (al...@stanford.edu)



___
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] A much simpler way of handling dependent tasks

2009-01-26 Thread Oliver Charles
On Mon, Jan 26, 2009 at 05:16:17PM -0400, John Wiegley wrote:
> I've been wanting a simple method for managing dependent tasks for some 
> time now, and only now did it occur to me that I could just implement a 
> much simpler method using your current blocking mechanism.
>
> The attached file, confusingly named org-depends.el, implements the  
> following scheme:
>
> [ ... ]

This is very cool and I'm immediately in love with it! I'll let you
know if I have any problems, but it seems like it just works. Neat.

-- 
Oliver Charles / aCiD2


___
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: Using SCHEDULED to indicate task start date

2009-01-26 Thread Nick Bell

Bernt Hansen wrote:

No, the reason for using any of

   org-agenda-todo-ignore-scheduled
   org-agenda-todo-ignore-deadlines
   org-agenda-todo-ignore-with-date

is to get those tasks off the global todo list.  They show up in your
agenda at the appropriate time and you don't need them in the global
todo list at all.

I work off my agenda first, and when that's clear then I go to the
global todo list for other tasks - and I don't want to see anything that
has a date there - since they're already set up to show up at the
appropriate time on my agenda.

You might be able to set up a column view that shows the
scheduled/deadline date and then ignore tasks with dates in the past but
I've never tried that.

HTH,
Bernt


Thanks, that was helpful - I was overcomplicating things.


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] Re: Using SCHEDULED to indicate task start date

2009-01-26 Thread Bernt Hansen
Nick Bell  writes:

> [Using 6.17 here.]
>
> SCHEDULED nicely hides TODOs from agenda views until on/after the
> SCHEDULED date.
>
> I'd like to hide TODOs whose SCHEDULED date is in the future from the
> global todo list (C-c a t) .
>
> 'Org Agenda Todo Ignore Scheduled' option hides all scheduled TODOs,
> including those whose scheduled date is in the past, so won't work for
> me.
>
> In other words, I'd like to use SCHEDULED function as a kind of 'start
> date' for a TODO, before which it won't appear on agenda or global
> todo lists. Is this possible?
>

No, the reason for using any of

   org-agenda-todo-ignore-scheduled
   org-agenda-todo-ignore-deadlines
   org-agenda-todo-ignore-with-date

is to get those tasks off the global todo list.  They show up in your
agenda at the appropriate time and you don't need them in the global
todo list at all.

I work off my agenda first, and when that's clear then I go to the
global todo list for other tasks - and I don't want to see anything that
has a date there - since they're already set up to show up at the
appropriate time on my agenda.

You might be able to set up a column view that shows the
scheduled/deadline date and then ignore tasks with dates in the past but
I've never tried that.

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


[Orgmode] A much simpler way of handling dependent tasks

2009-01-26 Thread John Wiegley
I've been wanting a simple method for managing dependent tasks for  
some time now, and only now did it occur to me that I could just  
implement a much simpler method using your current blocking mechanism.


The attached file, confusingly named org-depends.el, implements the  
following scheme:


 1. Any TODO which has incomplete child TODOs is blocked.

 2. If a parent TODO has the ORDERED property, it's children must be
completed in order.  Undone siblings block later siblings.

 3. Blocked items are greyed out in the agenda list.

John



org-depends.el
Description: Binary data


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


Re: [Orgmode] Latex export, unnumbered sections

2009-01-26 Thread Nicolas Goaziou
Carsten Dominik  writes:

> There is no support for mixed numbered/unnumbered sections.  And I don't
> really think want to put that in.  Seems to me that this would be
> the point where you want to switch over to LaTeX itself.

Indeed, org-mode doesn't aim at being a LaTeX front-end. I was just
thinking that tags could have an impact on export, much like CSS, but
for LaTeX. Now, it sounds way much complicated.

Anyway, I perfectly get your point. Thanks.

-- 
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] Please test 6.19a

2009-01-26 Thread Christopher Suckling


On 26 Jan 2009, at 07:24, Carsten Dominik wrote:



On Jan 25, 2009, at 11:50 PM, Christopher Suckling wrote:



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.


I cannot reproduce this, works fine for me.

Anything the the *Messages* buffer that indicates that visiting a  
new buffer

in Org-mode crashes half-way, i.e. before the ful setup has finished?


Nothing in *Messages*, but I suspect:

My fault: I had (setq org-show-entry-below t) in my .emacs from  
playing around with sparse trees. Setting it to  (default . nil) fixes  
the VISIBILITY problem. So I learn that org-show-entry-below takes  
priority over VISIBILITY properties...


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?

2009-01-26 Thread Nicholas S-A

Hi,

* Taru Karttunen  [2009-01-26 10:31:50 +0200]:


How about having a cron job that creates a ~/.org-remind-me file from
agenda every 15 minutes? And just cat that in the .bash_profile?


I ended up doing this, as it works quickly and is a minimum of work.
Cron is such a great tool...

Thanks Taru and Carten for the tip!
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] Using SCHEDULED to indicate task start date

2009-01-26 Thread Nick Bell

Dear org-mode users and developers,

[Using 6.17 here.]

SCHEDULED nicely hides TODOs from agenda views until on/after the 
SCHEDULED date.


I'd like to hide TODOs whose SCHEDULED date is in the future from the 
global todo list (C-c a t) .


'Org Agenda Todo Ignore Scheduled' option hides all scheduled TODOs, 
including those whose scheduled date is in the past, so won't work for me.


In other words, I'd like to use SCHEDULED function as a kind of 'start 
date' for a TODO, before which it won't appear on agenda or global todo 
lists. Is this possible?


Many thanks

Nick
--
Nick Bell
m...@nickbell.org


___
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?

2009-01-26 Thread Taru Karttunen
On 25.01 18:32, Nicholas S-A wrote:
> 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.

How about having a cron job that creates a ~/.org-remind-me file from
agenda every 15 minutes? And just cat that in the .bash_profile?

- Taru Karttunen


___
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

2009-01-26 Thread Carsten Dominik


On Jan 23, 2009, at 8:30 AM, Carsten Dominik wrote:



On Jan 23, 2009, at 2:37 AM, Eric Schulte wrote:


Dan Davison  writes:


On Mon, Dec 22, 2008 at 12:00:14PM -0500, Eric Schulte wrote:

Hi Dan,



<...>

2) Also interesting is the idea of referencing a table from a  
block of R

 code elsewhere in the org file.  I've worked some on processing
 blocks of R code in org files in a manner similar to Sweave.
 http://github.com/eschulte/org-contrib/tree/master/org-exp-blocks.el
 If we could implement a simple means of referencing tables (either
 whole tables, or cells/cols/rows of tables) from these R-code  
blocks

 then that seems like it may be fairly powerful.


I agree with this. So in the case of my code, I think we would  
like to

be able to do something like

#+TBLR: data: columns:(1 2) action:tabulate

This would make the output of the analysis/plot of the table pointed
to by  appear at the location in the file of  
the

#+TBLR line. Perhaps one design aim would be to have the same
mechanism work for referencing tables for processing by #TBLFM,
org-plot, org-table-R, org-exp-blocks, etc.


That sounds like a very good idea.  A uniform interface for  
referencing
table ranges (either globally from outside of the table or locally  
from

within the table) that could be used for any table formula be it in
calc, R, elisp, etc...  I find the idea of easily accessing and  
writing

table data from external tools very intriguing


For what it is worth,  here is a function that will grab a field value
or a range from a remote table, be it in the current file or in a
different file.  That is not yet a syntax to have such a reference
in a formula, but it is the most important component, and maybe it  
will

already be useful for you.

This function uses an entry ID to access the table - obviously
other schemes like table naming could be used.

It is not going to be very fast, and multiple accesses
to the same remote table would each cause the same overhead,
but it sure is working.

- Carsten

(defun org-table-remote-range (id form
  &optional replace keep-empty numbers lispp)
 "Get a field value or a list of values in a range from table at ID.


In 6.19, there is now  built-in unction to access data from arbitrary  
tables.


- 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] Problem with org-batch-agenda

2009-01-26 Thread Mark Elston

Carsten,

Thanks.  The quoting was the problem.  I changed the line from what
I had below to:

  c:\emacs-22.3\bin\emacs.exe -batch -l ~/_emacs_org -eval \
"(org-batch-agenda \"S\")"

and it now works like I expect.

Perhaps there should be somewhere to deal with some of these platform
specific issues so we don't run into them multiple times...

Mark

* Carsten Dominik wrote (on 1/24/2009 7:58 AM):


On Jan 23, 2009, at 1:28 AM, Mark Elston wrote:


I am trying to export information from my org files and am
getting an error every time I run the batch file (Windows XP)

I am starting with a stripped down .emacs file which just sets up
my load path then does the following:

; 


;;ORG MODE
(require 'org-install)

(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))

(setq org-log-done 'time)
(setq org-agenda-include-diary t)
(setq org-directory "~/org/")
(setq org-agenda-custom-commands
 '(("S" "Schedule for the week plus TODO's"
((agenda "")
 (todo "TODO")

My batch file looks like this:

c:\emacs-22.3\bin\emacs.exe -batch -l ~/_emacs_org -eval 
'(org-batch-agenda "S")'


This works for me, but it is possible that quoting in a windows
batch file works differently?

The error message looks to me as if there is a parsing error for the 
-eval form.


- Carsten




When I run this from the command line I get:

Loading c:/Home/emacs-22/precompile.el (source)...
Loading c:/Home/emacs-22/all_org.el (source)...
Loading c:/Home/emacs-22/melston-note-paths.el (source)...
Done loading ~/emacs/all_org
Loading c:/Home/emacs-22/custom.el (source)...
Loading gnus...
Done loading init file
End of file during parsing

I saw this mentioned in the list at gmane but never saw
any resolution for it.  Any ideas?

Mark


___
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: Latex export, unnumbered sections

2009-01-26 Thread Bernt Hansen
Nicolas Goaziou  writes:

> 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.

Can you give a short example of what it is you are trying to accomplish?

In the export options the H: value states how many heading levels to
export

,[ top of one of my exported org files ]
| #+OPTIONS: H:2 num:t toc:2 \n:nil todo:t @:t ::t |:t ^:nil -:t f:t *:t TeX:t 
LaTeX:nil skip:t d:nil tags:t
`

You can't specify individually which headlines should and shouldn't be
exported as numbered headlines as far as I know.

-Bernt


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


Re: [Orgmode] Remind functionality?

2009-01-26 Thread Oliver Charles
On Mon, Jan 26, 2009 at 05:36:55AM +0100, Carsten Dominik wrote:
>
> On Jan 26, 2009, at 12:32 AM, Nicholas S-A wrote:
>
>> Hi,
>>
>> * Carsten Dominik  [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.
>
>
> A work-around would be to use a cronjob to dump the the agenda output
> to a file, maybe once a minute or even once every hour, and then to
> cat this file into your shells.

Just wanted to chip in and say this is a great idea - thanks to
Nicholas and Carsten!

* goes to implement this himself now *

-- 
Oliver Charles / aCiD2


___
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

2009-01-26 Thread Carsten Dominik


On Jan 25, 2009, at 11:50 PM, Christopher Suckling wrote:



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.


I cannot reproduce this, works fine for me.

Anything the the *Messages* buffer that indicates that visiting a new  
buffer

in Org-mode crashes half-way, i.e. before the ful setup has finished?




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.


Yes, this is a bug, thank you very much for the report.
This made me realize that it is probably a mistake to remove
time stamps from tables, even if `org-export-with-timestamps'
is nil.  So from now on, time stamps in tables will not be
removed.

- 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] Latex export, unnumbered sections

2009-01-26 Thread Scot Becker
I'm a new org user, but I've read the LaTeX export stuff pretty carefully,
and In don't think there is any native org-mode syntax that would allows
control over the numbering of an individual line. However, if you know what
level these unnumbered headings will be exported at, you may be able to just
to a Latex pass-through command:

\subsubsection{my unnumbered heading}

Just tested.  It appears to work.

Or you might be able to just figure out how you want the heading to look
(bold, font size, etc) and just pass through the commands to make that work,
just for those lines.

Barring that, I guess the solution is either to edit the LaTeX manually, or
come up with some bit of "unnumbering" syntax and write a LaTeX-adjusting
function that is run on one of the later hooks that are offered by the
export process. I can't find these in org's info documentation just now, but
they were added sometime after v.6.15, if I remember right, and were nicely
documented on the 'user visible changes' page.  That would require some
Emacs LISP, but it should be relatively simple

Scot


On Sun, Jan 25, 2009 at 3:50 PM, Nicolas Goaziou  wrote:

> 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
>
___
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

2009-01-26 Thread Scot Becker
> For LaTeX export, you can simply write \par to create
> a new paragraph inside a footnote.

Super.

Scot


___
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?

2009-01-26 Thread Sebastian Rose
Hi Nicolas,



how about using a control file like this(untested):


agenda_control_files=~/.emacs.d/agenda_on_login
todays_agenda_file="${agenda_control_files}/$(date -I) 

if [ -f "$todays_agenda_file" ]; then
   echo "Agenda was shown on a previous login today."
   # You could also `cat' the control file here, if you manage it
   # somehow, that it contains your agenda's contents (your elisp should
   # export the agenda to the controle file then. Also, you should
   # adjust  the `else' below to use `cat'.
else
  rm  "$agenda_control_files"/*# rmove yesterdays control file
  touch ~/.emacs.d/agenda-check-$(date -I)   # or fill with agenda export
  // Enter your function here
fi





Regards,


   Sebastian


Nicholas S-A  writes:
> Hi,
>
> * Carsten Dominik  [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
>

-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: s.r...@emma-stil.de, sebastian_r...@gmx.de
Http:  www.emma-stil.de


___
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

2009-01-26 Thread Manager Leader

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

David Lord wrote:

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 

Re: [Orgmode] Re: Org-Mode in Windows

2009-01-26 Thread Bailey

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?

Regards,


Bailey

Manager Leader wrote:

Hi Manish,

Thanks for the tip on loading the .emacs using M-x load-file (ENTER), 
after that I type "c:/emacs/.emacs" and the agenda command worked.


With regards to the environmental settings - we're doing it the same 
place - see attached screenshot.


With regards to my .emacs, its very empty - I attached it as well... I 
just created the .emacs file myself. Is there supposed to be something 
inside .emacs by default?


How do you think I should make the .emacs load by itself?

Thanks,


Bailey

Manish wrote:

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 " and navigating to the
file as well while you resolve the issue.

HTH
  



___
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

2009-01-26 Thread Manager Leader

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\


I have a feeling I'm doing something simple wrong...

Thanks,


Bailey

Manish wrote:


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
  



___
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?

2009-01-26 Thread Carsten Dominik


On Jan 26, 2009, at 12:32 AM, Nicholas S-A wrote:


Hi,

* Carsten Dominik  [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.



A work-around would be to use a cronjob to dump the the agenda output
to a file, maybe once a minute or even once every hour, and then to
cat this file into your shells.

- 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] Latex export, unnumbered sections

2009-01-26 Thread Carsten Dominik


On Jan 25, 2009, at 4:50 PM, Nicolas Goaziou wrote:


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 ?


There is no support for mixed numbered/unnumbered sections.  And I don't
really think want to put that in.  Seems to me that this would be
the point where you want to switch over to LaTeX itself.

- 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