Re: [Orgmode] Re: markup in environments in latex export

2009-04-20 Thread Carsten Dominik

Hi Chris,

Normally a request for a patch shuts people up, not in your case. :-)

Very interesting, I like how you did this parallel to the
other, similar environments that also require internal
processing.

I am quite over committed right now and have a trip coming up,
and  I will need to think a bit more about this, so I may not
get to in quickly.  I'll get back to you, at the latest
in mid May.

- Carsten

P.S.  Do you have an FSF copyright assignment?  If not, could
you please get one?

On Apr 19, 2009, at 9:55 PM, Chris Gray wrote:


Hi Carsten,

I took up your challenge and made a patch that does what I want.  It
does what I suggested in my previous email in that it allows one to
put #+begin_foo and #+end_foo tags in the body of an org file.  These
tags allow you to change the environment of the text between them.
What that means is left up to the exporter.  For example, in LaTeX,
the tags are expanded to \begin{foo} and \end{foo}, whereas in HTML, I
have the tags being expanded to div class=foo and /div.  (I am
not sure if that is the right thing to do in HTML...)  The text
between the tags is not protected, and thus it is interpreted for
markup just as the rest of the file.

I have left the old cases in place, so blockquote, verse, and center
should still have the same behaviour as before.  The only behaviour
that changes is with #+begin_quote in HTML.  This no longer generates
a blockquote, but a div class=quote.  It would be easy to revert
this to the old behaviour if many people were using #+begin_quote with
HTML export.

I have put the patches up in a github repository (basically because I
wanted to play with github), so you should be able to pull them from
the general-cookies branch of git://github.com/chrismgray/org-mode.git

Cheers,
Chris

Carsten Dominik wrote:


Hi Chris,



no, this is really by design the way it is.  Org-mode has its own
markup.  As a bonus to people used to LaTeX, it allows certain
LaTeX constructs to be intermingled into the file.  For LaTeX
export, it will export these *literally*, the entire construct.
For HTML export, you can arrange for these snippets to be
processed by LaTeX as well and then included as images,
this is useful for formulas and some other constructs.



Here is a way to fool it:



\nop{}\begin{center}



- /a/ this is a
- /b/ this is b



\begin{itemize}
\item \emph{a} this is a
\item \emph{b} this is b
\end{itemize}



\nop{}\end{center}



- /a/ this is a
- /b/ this is b




Why does it fool it?  Because it recognized full environments to be
included
by \begin ... \end, wit these macros at the beginning of the line.



If I were to allow what you propose, it would quickly become hard to
know
what should be LaTeX and what not.  I think.


Feel free to try to make a patch that will convince me of the  
opposite.



- Carsten





On Apr 16, 2009, at 3:09 PM, Chris Gray wrote:



Carsten Dominik wrote:



Hi Chris,



you can't have the cake and eat it.



if you insert a LaTeX environment, the entire environment
will be protected.  After all, you rely on this quoting with your
itemize environment!



Hi Carsten,



I don't really understand this.  I can see it for things like the
verbatim environment, but that might be a special case.



However, you can do this:



#+begin_center


I should have chosen a different example I suppose.  What I am  
really

using, rather than center, are the theorem, lemma, and proof
environments.  I thought it would be safer for my example to use an
environment that is included by default in LaTeX.  Unfortunately,
center
is already a special case in org.  But I tried #+begin_proof and  
that

did not work.



This works by the protection being done first, and only
then #+begin_center is turned into \begin{center}



Perhaps that could be generalized so that #+begin_foo means do the
regular org parsing and then turn on \begin{foo}?  Other exporters
would be free to ignore these commands.



I really like doing my work in org mode, and I can certainly convert
my
markup commands to regular LaTeX, but doing that really seems like a
second-best solution.



Cheers,
Chris





___
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




___
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: Counter cookies and mixed checkbox lists/subtasks

2009-04-20 Thread Ulf Stegemann
Hi Carsten,

Carsten Dominik carsten.domi...@gmail.com wrote:

 Hmmm, I am still not convinced, in particular about adding new syntax.

 One thing I could imagine though, is this:
 If an entry has checkboxes, always put those into the cookie, not the
 children.
 Or maybe a variable, stating your preference for this.  This would at least
 give predictable behavior.

or how about a property?

Ulf



___
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] Clockreport for each day last week?

2009-04-20 Thread Ivan Nedrehagen

Hi,
In my work I log all hours in an org-file, and every monday I report my  
hours for the previous week.
I have been playing with the clock-report to get a solution that displays  
hours for each day in the
previous week, but by solution now is a a clock-report where I have to go  
in and change the date for

each entry before updating them.

There must be many with similar needs, could anyone tell me how you solve  
this?


Ivan


___
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] Clockreport for each day last week?

2009-04-20 Thread Brad Bozarth
I do the same. Three things I learned / didn't learn:

1. For a daily report, I use the :step option (see
http://orgmode.org/manual/Clocking-work-time.html) ... not in a single
table like I wanted, but nice small summary tables in export, so good
enough for me.
2. I successfully hacked in another column that gives the $ the line
represents, based on an hourly rate, via the clocktable's formula line
3. I wanted to hack in a persistent *row*, for column width formatting
or other summary calculations, but couldn't figure out an easy way and
gave up

I'd be interested in how others do similar time tracking reports!
-brad

 Hi,
 In my work I log all hours in an org-file, and every monday I report my
 hours for the previous week.
 I have been playing with the clock-report to get a solution that displays
 hours for each day in the
 previous week, but by solution now is a a clock-report where I have to go
 in and change the date for
 each entry before updating them.

 There must be many with similar needs, could anyone tell me how you solve
 this?

 Ivan




 --

 ___
 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


 End of Emacs-orgmode Digest, Vol 38, Issue 86
 *



___
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] Hiding tasks from export but not the agenda

2009-04-20 Thread Bernt Hansen
Hi,

I have a task I want to continually see in one of my agenda views but I
want to keep it out of exported HTML files.  I use this task for
clocking miscellaneous time on the project and don't need it in the
exported view since it has no useful detail to be shared.

I've tried using COMMENT but that hides the task from the agenda view
too.

,[ example task for clocking time only ]
| ** STARTED Task to clock time on
`

,[ commented it out doesn't really do what I want ]
| ** COMMENT STARTED Task to clock time on
`

Putting a COMMENT in front of started keeps it from being exported but
then I can't find it easily when I look for 'STARTED' tasks with an
agenda view.

Is there a good way to handle this?  I think someone talked about a
no-export property at some point but I can't find anything about that in
the code.

Thanks,
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] Hiding tasks from export but not the agenda

2009-04-20 Thread Matthew Lundin
Hi Bernt,

Bernt Hansen be...@norang.ca writes:

 Hi,

 I have a task I want to continually see in one of my agenda views but I
 want to keep it out of exported HTML files.  I use this task for
 clocking miscellaneous time on the project and don't need it in the
 exported view since it has no useful detail to be shared.

Have you tried the variable org-export-exclude-tags?

Best,
Matt

 I've tried using COMMENT but that hides the task from the agenda view
 too.

 ,[ example task for clocking time only ]
 | ** STARTED Task to clock time on
 `

 ,[ commented it out doesn't really do what I want ]
 | ** COMMENT STARTED Task to clock time on
 `

 Putting a COMMENT in front of started keeps it from being exported but
 then I can't find it easily when I look for 'STARTED' tasks with an
 agenda view.

 Is there a good way to handle this?  I think someone talked about a
 no-export property at some point but I can't find anything about that in
 the code.

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


___
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] Updates in windows?

2009-04-20 Thread Sebastian Titz
Hello,

I am running the latest stable windows version of emacs from FSF. It comes
with org-mode 5.23a. Is there a tutorial on how to update it? I tried
removing all the org-*.el* files from the /emacs/lisp directory and adding
the unziped lisp-directory from the download to the load-path in my .emacs
file, but that didn't work.

Ciao

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] Updates in windows?

2009-04-20 Thread Scot Becker
Check the Keeping Current question of the FAQ in Worg, org's other
doucmentation.

Roughly here http://orgmode.org/worg/org-faq.php

Short answer, you don't actually have to delete the old org, but you
do have to get Emacs to find the new one first, by adding the new path
to the front of you package path list.

Scratch that.  It's better in the manual.  Here:
http://orgmode.org/manual/Installation.html#Installation

Scot


On Sun, Apr 19, 2009 at 5:08 PM, Sebastian Titz
sebastian.t...@gmail.com wrote:
 Hello,

 I am running the latest stable windows version of emacs from FSF. It comes
 with org-mode 5.23a. Is there a tutorial on how to update it? I tried
 removing all the org-*.el* files from the /emacs/lisp directory and adding
 the unziped lisp-directory from the download to the load-path in my .emacs
 file, but that didn't work.

 Ciao

 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




___
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] Featurep weekday-only timestamps

2009-04-20 Thread Joel J. Adamson
Howdy Org-moders,

I use org from git updated weekly.  I would really like to be able to
specify a timestamp for certain days of the week, e.g. M-F, or MWF,
without specifying multiple timestamps for a single headline.  Doing
that for something that happens twice a week is no hassle, but doing it
five times seems like too much.

What I'd like is to have a headline like this:
** Sacrifice for Demons 2009-04-20 Mon,Wed,Fri 10:00 +1w
** Wake Up 2009-04-20 Mon-Fri 5:45 +1w 

Is there a way to do this that I have missed?  Could this feature be added?

Thanks,
Joel

-- 
Joel J. Adamson -- http://www.unc.edu/~adamsonj
University of North Carolina at Chapel Hill
CB #3280, Coker Hall
Chapel Hill, NC 27599-3280


___
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] Hiding tasks from export but not the agenda

2009-04-20 Thread Bernt Hansen
Matthew Lundin m...@imapmail.org writes:

 Bernt Hansen be...@norang.ca writes:

 I have a task I want to continually see in one of my agenda views but I
 want to keep it out of exported HTML files.  I use this task for
 clocking miscellaneous time on the project and don't need it in the
 exported view since it has no useful detail to be shared.

 Have you tried the variable org-export-exclude-tags?

No I haven't.  I'll check it out -- Thanks!

-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] Featurep weekday-only timestamps

2009-04-20 Thread Matthew Lundin
Hi Joel,

adams...@email.unc.edu (Joel J. Adamson) writes:

 Howdy Org-moders,

 I use org from git updated weekly.  I would really like to be able to
 specify a timestamp for certain days of the week, e.g. M-F, or MWF,
 without specifying multiple timestamps for a single headline.  Doing
 that for something that happens twice a week is no hassle, but doing it
 five times seems like too much.

 What I'd like is to have a headline like this:
 ** Sacrifice for Demons 2009-04-20 Mon,Wed,Fri 10:00 +1w
 ** Wake Up 2009-04-20 Mon-Fri 5:45 +1w 

You can do this with a diary sexp within org-mode. E.g., I used the
following for a class that I taught on Tuesdays and Thursdays from
January 8 through February 24:

--8---cut here---start-8---
** Teach Course 1:20pm-2:35pm
%%(let ((d (calendar-day-of-week date))) (and (or (= d 2) (= d 4)) 
(diary-block 1 8 2009 2 24 2009)))
--8---cut here---end---8---

I'm an elisp amateur, but I imagine you could create your example above
with the following:

--8---cut here---start-8---
** Wake up 5:45am
%%(memq (calendar-day-of-week date) '(1 3 5)))
--8---cut here---end---8---

Someone please correct me if I'm doing something wrong here.

Best,
Matt




___
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] Table changes - entering new fields

2009-04-20 Thread Bernt Hansen
Hi,

Did the user interface for tables change recently?  When I TAB between
fields in a table entering anything normally blanks out the field and
replaces it with whatever new I am typing.

Today it always seems to insert in front of whatever is already there.

I'm just wondering if this was an intentional change or if it's a bug.
I didn't notice anything in the release notes about this (but maybe I
just missed it).

-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] BUG: Navigating table to change fields (was: Table changes - entering new fields)

2009-04-20 Thread Bernt Hansen
Okay I think this is a bug.  If I traverse the table FORWARDS with TAB
and type it inserts in front of the field that is there.  If I traverse
it BACKWARDS with S-TAB it clears the field when I type.

This seems inconsistent (and I really like the blank the field as soon
as you type behaviour)

-Bernt


Bernt Hansen be...@norang.ca writes:

 Hi,

 Did the user interface for tables change recently?  When I TAB between
 fields in a table entering anything normally blanks out the field and
 replaces it with whatever new I am typing.

 Today it always seems to insert in front of whatever is already there.

 I'm just wondering if this was an intentional change or if it's a bug.
 I didn't notice anything in the release notes about this (but maybe I
 just missed it).

 -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


___
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: BUG: Navigating table to change fields

2009-04-20 Thread Bernt Hansen
Nevermind.  It works.

Gah. Sorry for the noise.  This turns out to be my yasnippet setup
messing up the TAB key in tables. :/  It works fine for a minimal emacs
test.

-Bernt

Bernt Hansen be...@norang.ca writes:

 Okay I think this is a bug.  If I traverse the table FORWARDS with TAB
 and type it inserts in front of the field that is there.  If I traverse
 it BACKWARDS with S-TAB it clears the field when I type.

 This seems inconsistent (and I really like the blank the field as soon
 as you type behaviour)

 -Bernt


 Bernt Hansen be...@norang.ca writes:

 Hi,

 Did the user interface for tables change recently?  When I TAB between
 fields in a table entering anything normally blanks out the field and
 replaces it with whatever new I am typing.

 Today it always seems to insert in front of whatever is already there.

 I'm just wondering if this was an intentional change or if it's a bug.
 I didn't notice anything in the release notes about this (but maybe I
 just missed it).

 -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


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


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


Re: [Orgmode] Re: BUG: Navigating table to change fields

2009-04-20 Thread Carsten Dominik

Maybe we should have a hook in org-cycle where yasnippet can
hook into, instead of overruling the TAB key..

- Carsten

On Apr 20, 2009, at 9:43 PM, Bernt Hansen wrote:


Nevermind.  It works.

Gah. Sorry for the noise.  This turns out to be my yasnippet setup
messing up the TAB key in tables. :/  It works fine for a minimal  
emacs

test.

-Bernt

Bernt Hansen be...@norang.ca writes:

Okay I think this is a bug.  If I traverse the table FORWARDS with  
TAB
and type it inserts in front of the field that is there.  If I  
traverse

it BACKWARDS with S-TAB it clears the field when I type.

This seems inconsistent (and I really like the blank the field as  
soon

as you type behaviour)

-Bernt


Bernt Hansen be...@norang.ca writes:


Hi,

Did the user interface for tables change recently?  When I TAB  
between
fields in a table entering anything normally blanks out the field  
and

replaces it with whatever new I am typing.

Today it always seems to insert in front of whatever is already  
there.


I'm just wondering if this was an intentional change or if it's a  
bug.
I didn't notice anything in the release notes about this (but  
maybe I

just missed it).

-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



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



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




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


Re: [Orgmode] Re: BUG: Navigating table to change fields

2009-04-20 Thread Eric Schulte
A hook in org-cycle could be useful aside from yasnippets.  I recently
found myself writing a defadvice for org-cycle in a situation where a
hook would have been preferable. -- Eric

Carsten Dominik carsten.domi...@gmail.com writes:

 Maybe we should have a hook in org-cycle where yasnippet can
 hook into, instead of overruling the TAB key..

 - Carsten

 On Apr 20, 2009, at 9:43 PM, Bernt Hansen wrote:

 Nevermind.  It works.

 Gah. Sorry for the noise.  This turns out to be my yasnippet setup
 messing up the TAB key in tables. :/  It works fine for a minimal
 emacs
 test.

 -Bernt

 Bernt Hansen be...@norang.ca writes:

 Okay I think this is a bug.  If I traverse the table FORWARDS with
 TAB
 and type it inserts in front of the field that is there.  If I
 traverse
 it BACKWARDS with S-TAB it clears the field when I type.

 This seems inconsistent (and I really like the blank the field as
 soon
 as you type behaviour)

 -Bernt


 Bernt Hansen be...@norang.ca writes:

 Hi,

 Did the user interface for tables change recently?  When I TAB
 between
 fields in a table entering anything normally blanks out the field
 and
 replaces it with whatever new I am typing.

 Today it always seems to insert in front of whatever is already
 there.

 I'm just wondering if this was an intentional change or if it's a
 bug.
 I didn't notice anything in the release notes about this (but
 maybe I
 just missed it).

 -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


 ___
 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


___
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: BUG: Navigating table to change fields

2009-04-20 Thread Carsten Dominik
So what would be the right place to call it?  Which context checks  
should com before the hook, and which after?


- Carsten

On Apr 20, 2009, at 11:02 PM, Eric Schulte wrote:


A hook in org-cycle could be useful aside from yasnippets.  I recently
found myself writing a defadvice for org-cycle in a situation where a
hook would have been preferable. -- Eric

Carsten Dominik carsten.domi...@gmail.com writes:


Maybe we should have a hook in org-cycle where yasnippet can
hook into, instead of overruling the TAB key..

- Carsten

On Apr 20, 2009, at 9:43 PM, Bernt Hansen wrote:


Nevermind.  It works.

Gah. Sorry for the noise.  This turns out to be my yasnippet setup
messing up the TAB key in tables. :/  It works fine for a minimal
emacs
test.

-Bernt

Bernt Hansen be...@norang.ca writes:


Okay I think this is a bug.  If I traverse the table FORWARDS with
TAB
and type it inserts in front of the field that is there.  If I
traverse
it BACKWARDS with S-TAB it clears the field when I type.

This seems inconsistent (and I really like the blank the field as
soon
as you type behaviour)

-Bernt


Bernt Hansen be...@norang.ca writes:


Hi,

Did the user interface for tables change recently?  When I TAB
between
fields in a table entering anything normally blanks out the field
and
replaces it with whatever new I am typing.

Today it always seems to insert in front of whatever is already
there.

I'm just wondering if this was an intentional change or if it's a
bug.
I didn't notice anything in the release notes about this (but
maybe I
just missed it).

-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



___
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



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

2009-04-20 Thread Nick Dokos
The SyncML article on LWN is now publicly available (and has
been since last Thurday, but I screwed up my org reminder !-)

 http://lwn.net/Articles/326820/

There is also some information on SyncML on Wikipedia.

Nick


Carsten Dominik carsten.domi...@gmail.com wrote:

 Hi Nick,  when it becomes available, can you end us a reminder here?
 
 Thanks.
 
 - Carsten
 
 On Apr 9, 2009, at 3:10 PM, Nick Dokos wrote:
 
  I thought the following article might be of interest to a lot of
  people here:
 
   http://lwn.net/Articles/326820/
 
  It's a discussion of SyncML, a standard[1] promulgated by the Open
  Mobile Alliance. The spec is available at
 
   http://www.openmobilealliance.org/Technical/release_program/ds_v2_0.aspx
 
  The article is probably only available to LWN subscribers for now,
  but it
  will be publicly available a week from now.
 
  Nick
 
  [1] The nice thing about standards is that there are so many of
  them to choose from.
 Andrew Tanenbaum
 
 
  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 


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


Re: [Orgmode] Re: BUG: Navigating table to change fields

2009-04-20 Thread Eric Schulte
Maybe a list rather than a hook, say `org-cycle-actions'.  Each element
of the list could be called in the current context until one returns a
non-nil result.  Something like...

(let ((pending org-cycle-actions)
  finished)
  (while (not finished)
(setq finished (funcall (car pending)))
(setq pending (cdr pending

If the existing org-cycle actions (fold headline, org-cycle-table,
etc...) were implemented using the list then users could have the
options of putting their actions before or after (after being good if
say they have a very expensive check which shouldn't be run every time
tab is hit).

Does that sound appropriate? -- Eric

Carsten Dominik carsten.domi...@gmail.com writes:

 So what would be the right place to call it?  Which context checks
 should com before the hook, and which after?

 - Carsten

 On Apr 20, 2009, at 11:02 PM, Eric Schulte wrote:

 A hook in org-cycle could be useful aside from yasnippets.  I recently
 found myself writing a defadvice for org-cycle in a situation where a
 hook would have been preferable. -- Eric

 Carsten Dominik carsten.domi...@gmail.com writes:

 Maybe we should have a hook in org-cycle where yasnippet can
 hook into, instead of overruling the TAB key..

 - Carsten

 On Apr 20, 2009, at 9:43 PM, Bernt Hansen wrote:

 Nevermind.  It works.

 Gah. Sorry for the noise.  This turns out to be my yasnippet setup
 messing up the TAB key in tables. :/  It works fine for a minimal
 emacs
 test.

 -Bernt

 Bernt Hansen be...@norang.ca writes:

 Okay I think this is a bug.  If I traverse the table FORWARDS with
 TAB
 and type it inserts in front of the field that is there.  If I
 traverse
 it BACKWARDS with S-TAB it clears the field when I type.

 This seems inconsistent (and I really like the blank the field as
 soon
 as you type behaviour)

 -Bernt


 Bernt Hansen be...@norang.ca writes:

 Hi,

 Did the user interface for tables change recently?  When I TAB
 between
 fields in a table entering anything normally blanks out the field
 and
 replaces it with whatever new I am typing.

 Today it always seems to insert in front of whatever is already
 there.

 I'm just wondering if this was an intentional change or if it's a
 bug.
 I didn't notice anything in the release notes about this (but
 maybe I
 just missed it).

 -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


 ___
 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


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


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


Re: [Orgmode] Re: BUG: Navigating table to change fields

2009-04-20 Thread Bernt Hansen
That would probably be better.  I just copied my current setup from
discussions on the org-mode list about yasnippet.

Is there anything I can do to help make that happen?

-Bernt

Carsten Dominik carsten.domi...@gmail.com writes:

 Maybe we should have a hook in org-cycle where yasnippet can
 hook into, instead of overruling the TAB key..

 - Carsten

 On Apr 20, 2009, at 9:43 PM, Bernt Hansen wrote:

 Nevermind.  It works.

 Gah. Sorry for the noise.  This turns out to be my yasnippet setup
 messing up the TAB key in tables. :/  It works fine for a minimal
 emacs
 test.

 -Bernt

 Bernt Hansen be...@norang.ca writes:

 Okay I think this is a bug.  If I traverse the table FORWARDS with
 TAB
 and type it inserts in front of the field that is there.  If I
 traverse
 it BACKWARDS with S-TAB it clears the field when I type.

 This seems inconsistent (and I really like the blank the field as
 soon
 as you type behaviour)

 -Bernt


 Bernt Hansen be...@norang.ca writes:

 Hi,

 Did the user interface for tables change recently?  When I TAB
 between
 fields in a table entering anything normally blanks out the field
 and
 replaces it with whatever new I am typing.

 Today it always seems to insert in front of whatever is already
 there.

 I'm just wondering if this was an intentional change or if it's a
 bug.
 I didn't notice anything in the release notes about this (but
 maybe I
 just missed it).

 -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


 ___
 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


[Orgmode] Custom_ID problem with org-info.js display

2009-04-20 Thread Xin Shi
Hello Experts,

I've tried to use the new feature in 6.26a for custom IDs. Unfortunately, those
sections have the custom IDs won't show up properly in the javascript page. I 
used the org-info.js(v.0.1.0.6).  I'm wondering if the orgmode.org web
administrator could use this new feature for one of the pages, such as 

http://orgmode.org/Changes.html

So, that the link to each version will be something like:

http://orgmode.org/Changes.html#v6.25  

And see if its sub-section still works on that page. 


Thanks!

Xin







___
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 view tasks with certain Property tag in Agenda view

2009-04-20 Thread Varnit Suri
Thanks. I agree this is prolly a better approach.

I did get things to work (see code in post-script) a bit using your suggestion 
and:
http://orgmode.org/manual/Block-agenda.html#Block-agenda 
http://orgmode.org/manual/Storing-searches.html#Storing-searches 

But maybe I wasn't clear enough in describing what I 'm trying to do. 

I 'd like to parse the weekly Agenda (C-c a a) to show only those items that 
meet the specified criteria (eg, certain tags, todo-tags, or properties). The 
advantage is that that shows the relevant items, will complete details of 
dates, etc. Its sort of running a grep on the weekly Agenda output.

Any ideas are appreciated.

V.

PS: The two custom searches that I coded up are:

(setq org-agenda-custom-commands
 '((h Agenda for context Home
 ((agenda )
  (tags HOME)

(setq org-agenda-custom-commands
 '((h Agenda for context Home agenda (tags HOME


-Original Message-
From: Manish [mailto:mailtomanish.sha...@gmail.com] 
Sent: Sunday, April 19, 2009 9:24 PM
To: Varnit Suri
Cc: emacs-orgmode@gnu.org
Subject: Re: [Orgmode] How to view tasks with certain Property tag in Agenda 
view

FWIW, I use tags to  mark contexts and filtering on tags is really
really fast and flexible.

-- 
Manish

On Mon, Apr 20, 2009 at 6:40 AM, Varnit Suri vs...@brocade.com wrote:
 Hi all,

 I am using the PROPERTY keyword to identify contexts (in the GTD
 approach). So here's a sample of what I do:

 * Online
  :PROPERTIES:
  :CATEGORY: Computer
  :END:
 ** TODO Call/reply to A
 ** TODO Defrag work PC

 The Agenda view that I see is below (Home, Computer, Work are PROPERTY
 tags).

 What I 'd like to do is:
 1. View tasks with only a specified PROPERTY tag.
 2. View the main task (if this task is a sub-task) in the Agenda view.

 So in the above example, I 'm trying to see something like.

 Computer: Online [current output]

 Any comments are appreciated. Thanks.

 Current output:

 Week-agenda (W16-W17):
 Sunday     19 April 2009
  Home:       Sched. 2x:  TODO ETrade debit card
  Home:       In -24 d.:  TODO Respond to DMV Ticket
  Computer:     Sched. 2x:  TODO Incorporate category tags
  Work:     Scheduled:  TODO Defrag work PC



 ___
 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] [PATCH] Add NOBLOCKING to org-default-properties

2009-04-20 Thread Bernt Hansen
This allows setting the NOBLOCKING property by hitting C-c C-c on
the :PROPERTIES: drawer
---

This patch is available at git://git.norang.ca/org-mode.git for-carsten

 lisp/org.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 723ad45..c964adf 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -11152,7 +11152,7 @@ but in some other way.)
 LOCATION LOGGING COLUMNS VISIBILITY
 TABLE_EXPORT_FORMAT TABLE_EXPORT_FILE
 EXPORT_FILE_NAME EXPORT_TITLE EXPORT_AUTHOR EXPORT_DATE
-ORDERED)
+ORDERED NOBLOCKING)
   Some properties that are used by Org-mode for various purposes.
 Being in this list makes sure that they are offered for completion.)
 
-- 
1.6.3.rc1



___
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