[Emacs-orgmode] html export spacing, UI, links

2006-06-02 Thread Scott Otterson
I really like the interface Carsten created for visible exports, the one 
where you type:


M-x org-export-visible [RET]

and then hit a single key for ascii, html, or whatever.  For 
consistency, could this same approach be taken for the regular exports 
eg. org-export-as-html-and-open?


Thanks,

Scott


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Emacs-orgmode] Midnight and noon in agendas

2006-06-02 Thread Carsten Dominik


On Jun 2, 2006, at 21:45, Daniel J. Sinder wrote:


If 12am/00:00 is considered the start of the day, then the rule
holds -- switching 12am to 12pm makes the event later that same day,
at noon.


Yes, you are right, of course.




Should 12am be listed as 0:00 or as 24:00?
Should 12:21am be listed as 0:21 or as 24:21?

It seems to me that the logic would be a bit better to schedule these
show uo as 0:00 and 0:21.  If you wanted to put something at midnight 
at

the end of the day you would then have to use 24:00 and 24:21.


I like this idea (allowing times at 24:00 and beyond).  The user can
place things where they want: at the start or end of the day.  As a
bonus, if you work the night shift, you'll be able to see your daily
agenda all under one date at the start of your shift.


Thank you and the others on this thread for the input.
I am summarizing the result (at least what I extract of it):

- 12am is beginning of the day, same as 0:00
- 12pm is noon.
- Times like 24:13, 25:14, and even 13:12pm will be tolerated,
  mainly because the regular expression I have for finding times.
  matches them (it is something like [012]?[0-9].
  The agenda will list such times after midnight.  You need to
  decide for yourself if this is more useful than confusing.
  The way these nonstandard times will show up in the agenda is:

23:58
23:59
24:00
+0:01
+0:02
 ...

  The hard limit for this game is 29:59

- Carsten

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Emacs-orgmode] Re: Midnight and noon in agendas

2006-06-02 Thread Carsten Dominik

Hi Christian,

thanks for pointing to the relevant standards.

On Jun 2, 2006, at 19:24, Christian Schlauer wrote:


I see the problem, but I don't like these time formats at all. I'd
prefer if the agenda would show me things that are scheduled "early"
the next day (before 06:00, for example, should be configurable) on
the previous day already (and on the actual day).


I agree that this would be nice, but because the technical way in which 
the agenda is constructed, this would be hard to implement.  The way it 
works is like this:


1. The agenda collects all entries for the given date.
2. The it checks if the entry specifies a time-of day in any way.  
Org-mode is very tolerant in this.  Times may be specified as part of a 
timestamp, but also in many free-format ways.


To implement what you ask for, I would have to collect entries for two 
different dates, check for times, throw away the ones with the second 
date and either not time at all, or a time larger than your limit.  All 
this is possible, but has significant overhead.  The purpose of the 
week agenda is to show entries of the next day at least in close 
proximity to entries of the current day.


Still, this is a good idea, and I will put it on my todo list, 
scheduled for a long winter day evening :-)



Also, 26:00 is against the rules ;-)


That is certainly true, but I see no reason to explicitly forbid them.  
This is something that can be easily left at a users discretion, don't 
you agree?


- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Emacs-orgmode] Midnight and noon in agendas

2006-06-02 Thread Daniel J. Sinder

Carsten Dominik wrote:
> Well, if this is the way things are normally interpreted,
> then this is clearly a bug.  Thanks for explaining this to me.
> Strange system.  Switching am to pm always makes the event happen later, 
> except when the hour is 12.

If 12am/00:00 is considered the start of the day, then the rule
holds -- switching 12am to 12pm makes the event later that same day,
at noon.

> Should 12am be listed as 0:00 or as 24:00?
> Should 12:21am be listed as 0:21 or as 24:21?
> 
> It seems to me that the logic would be a bit better to schedule these 
> show uo as 0:00 and 0:21.  If you wanted to put something at midnight at 
> the end of the day you would then have to use 24:00 and 24:21.

I like this idea (allowing times at 24:00 and beyond).  The user can
place things where they want: at the start or end of the day.  As a
bonus, if you work the night shift, you'll be able to see your daily
agenda all under one date at the start of your shift.


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Emacs-orgmode] Re: Midnight and noon in agendas

2006-06-02 Thread Christian Schlauer
Carsten Dominik <[EMAIL PROTECTED]> writes:

> However, it can be useful to schedule something at 24:21 or even at
> 26:00 or so. because if you put such a date on your agenda for the
> next day, you might find out too late

I see the problem, but I don't like these time formats at all. I'd
prefer if the agenda would show me things that are scheduled "early"
the next day (before 06:00, for example, should be configurable) on
the previous day already (and on the actual day).

Also, 26:00 is against the rules ;-)

,[ http://en.wikipedia.org/wiki/ISO_8601 ]
| hh refers to an hour between 00 and 24, where 24 is only used to
| notate the midnight at the end of a calendar date
`

,[ http://en.wikipedia.org/wiki/24-hour_clock#Midnight_00:00_and_24:00 ]
| Time-of-day notations beyond 24:00 (such as 24:01 or 25:59) are
| neither commonly used nor covered by any relevant standards,
| although they have been seen on rare occasions in Japan.
`

-- 
Christian Schlauer



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Emacs-orgmode] Re: Midnight and noon in agendas

2006-06-02 Thread Carsten Dominik


On Jun 2, 2006, at 16:11, Michael Olson wrote:


Carsten Dominik <[EMAIL PROTECTED]> writes:


It seems to me that the logic would be a bit better to schedule these
show uo as 0:00 and 0:21.  If you wanted to put something at midnight
at the end of the day you would then have to use 24:00 and 24:21.

Opinions?


That would have the nice effect of giving people more hours in a day.
I'm sure everyone could use that.  :^)



Yes, indeed a funny effect.  However, it can be useful to schedule 
something at 24:21 or even at 26:00 or so.  because if you put such a 
date on your agenda for the next day, you might find out too late


- Carsten



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Emacs-orgmode] Re: Midnight and noon in agendas

2006-06-02 Thread Michael Olson
Carsten Dominik <[EMAIL PROTECTED]> writes:

> It seems to me that the logic would be a bit better to schedule these
> show uo as 0:00 and 0:21.  If you wanted to put something at midnight
> at the end of the day you would then have to use 24:00 and 24:21.
>
> Opinions?

That would have the nice effect of giving people more hours in a day.
I'm sure everyone could use that.  :^)

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Project involvement: Emacs, Muse, Planner, ERC, EMMS


pgpvEjPko2PAH.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Emacs-orgmode] Re: Midnight and noon in agendas

2006-06-02 Thread J. David Boyd
Carsten Dominik <[EMAIL PROTECTED]> writes:

>
> Should 12am be listed as 0:00 or as 24:00?
> Should 12:21am be listed as 0:21 or as 24:21?
>

I vote for 0:00 and 0:21

Dave in Largo, FL



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Emacs-orgmode] Midnight and noon in agendas

2006-06-02 Thread Jason F. McBrayer
On Fri, 2006-06-02 at 07:15 +0200, Carsten Dominik wrote:

> It seems to me that the logic would be a bit better to schedule these 
> show uo as 0:00 and 0:21.  If you wanted to put something at midnight 
> at the end of the day you would then have to use 24:00 and 24:21.
> 
> Opinions?

That's probably the best way to do it.  Users should probably be
responsible for scheduling things on the correct day --- either 23:59
one day or 0:00 the next.

-- 
+---+
| Jason F. McBrayer[EMAIL PROTECTED]  |
| A flower falls, even though we love it; and a weed grows, |
| even though we do not love it.-- Dogen|


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Emacs-orgmode] missing ';' in html output

2006-06-02 Thread T. V. Raman
Minor bug (probably introduced by me )--
in xhtml output, non-breaking space is coming out as   --
should be  

-- 
Best Regards,
--raman

  
Email:  [EMAIL PROTECTED]
WWW:http://emacspeak.sf.net/raman/
AIM:emacspeak   GTalk: [EMAIL PROTECTED]
PGP:http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:irc://irc.freenode.net/#emacs


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Emacs-orgmode] org-agenda-todo-list-sublevels bug?

2006-06-02 Thread T. V. Raman

Here's one for the list:

Now that we have xhtml output, and CSS support, it might be nice
to introduce support for microformats -- starting with things
like hcard and hcalendar.

> "Carsten" == Carsten Dominik <[EMAIL PROTECTED]> writes:
Carsten> OK, there is indeed a bug, exposed because of your
Carsten> setting
Carsten> 
Carsten> (setq org-agenda-todo-ignore-scheduled t)
Carsten> 
Carsten> which I don't have and therefore the bug did not
Carsten> happen for me.  Thanks for taking the time to make
Carsten> me a test file, and for including your complete
Carsten> configuration.
Carsten> 
Carsten> I have fixed this for the next version.  I am not
Carsten> sure if you realize this, but this will mean that
Carsten> your example todo list will be completely empty. You
Carsten> ask Org-mode to not treat scheduled items as "open",
Carsten> and you also ask it to ignore the subitems of any
Carsten> TODO.  The first setting makes it skip the first
Carsten> headline, the second setting makes it skip the other
Carsten> two.
Carsten> 
Carsten> Thanks
Carsten> 
Carsten> - Carsten
Carsten> 
Carsten> On Jun 1, 2006, at 17:07, Christian Egli wrote:
Carsten> 
>> Hi all
>> 
>> On Wed, 2006-05-24 at 12:53 +0200, Christian Egli wrote:
>>> I really like the option to hide TODOs that are part of a
>>> bigger TODO, for example
>>> 
>>> * TODO Organize party ** TODO Invite people ** TODO Find
>>> location
>>> 
>>> Thanks to the option org-agenda-todo-list-sublevels my
>>> agenda only contains the "Organize party" task and is not
>>> cluttered with the subtasks.
>>> 
>>> However if I schedule the task "Organize Party" the
>>> subtasks show up in the "ALL CURRENTLY OPEN TODO
>>> ITEMS". I guess the code to skip the subtasks should not
>>> only be in org-agenda-get-todos but also in
>>> org-agenda-get-scheduled and possibly all
>>> org-agenda-get-* functions.
>> 
>> Attached is the test org file and my .emacs. The version
>> of org-mode is 4.35 (from CVS). The *Org Agenda* Buffer
>> looks as follows:
>> 
>> ALL CURRENTLY OPEN TODO ITEMS: test: TODO Invite people
>> test: TODO Find location Monday 29 May 2006 Tuesday 30 May
>> 2006 Wednesday 31 May 2006 Thursday 1 June 2006 test:
>> Scheduled: TODO Organize party Friday 2 June 2006 Saturday
>> 3 June 2006 Sunday 4 June 2006
>> 
>> <.emacs>___
>> Emacs-orgmode mailing list Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>> 
Carsten> --
Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek"
Carsten> Universiteit van Amsterdam Kruislaan 403 NL-1098SJ
Carsten> Amsterdam phone: +31 20 525 7477
Carsten> 
Carsten> 
Carsten> 
Carsten> ___
Carsten> Emacs-orgmode mailing list Emacs-orgmode@gnu.org
Carsten> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
Best Regards,
--raman

  
Email:  [EMAIL PROTECTED]
WWW:http://emacspeak.sf.net/raman/
AIM:emacspeak   GTalk: [EMAIL PROTECTED]
PGP:http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:irc://irc.freenode.net/#emacs


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode