Re: [Orgmode] FR: toggling timestamps active/inactive

2007-10-16 Thread Carsten Dominik


On Oct 16, 2007, at 18:22, Adam Spiers wrote:


Rick Moynihan ([EMAIL PROTECTED]) wrote:

Adam Spiers wrote:

Hi Carsten,

Another simple idea - subject line is pretty much self-explanatory I
think: would be great to be able to toggle timestamps between [] and
<>.

Why?  Say I have an event in my diary.org file, and am subsequently
told my presence at the event is no longer necessary.  Consequently I
would like to keep it in the file for reference, to track colleagues'
movements or in case my presence is re-required, but I don't want the
event to appear in the agenda.

By the way, I probably could have coded this in the time it took to
write the mail, but I thought that until I've sent a piece of paper 
to

the FSF assigning rights for code contributed to org-mode and emacs,
it would be better to let Carsten write it.  Is that correct or 
flawed

thinking?



This seems like a good idea.  Another related one occurred to me today
(if it's necessary) which is toggling between the two list indicators.

e.g.

- foo
- bar
  - baz |<-- Point


This cammand does exist, it is `C-c -'.



Calling the toggle-list-indicator function at the point will cause the
list indicator to change from a - to a + (and vice versa).


Nice idea!  Or even between - and *** at the current level.  Maybe
that should cycle.  Or maybe there are already existing keybindings
which distinguish between new - and *** entries?  M-RET doesn't always
DWIM, personally.


When you are in a list, M-RET makes the next list item, C-u M-RET makes
the next section, and C-RET does the same - even if for different 
reasons.


In what sense does M-RET not DWYM?

- 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] Unschedule an item in column view

2007-10-16 Thread Carsten Dominik


On Oct 16, 2007, at 23:23, Wanrong Lin wrote:



First, I have just begun to use column view. Although it seems it 
still has bugs here and there, it is a awesome concept! I never 
thought in a text based system we can achieve something similar to MS 
project (Sort of. I wouldn't want to see org-mode to emulate 
everything in MS project anyway.)


Now, my question/suggestion:

I have my column format set to:
"%66ITEM %10TODO %10SCHEDULED %3PRIORITY %TAGS"

When I press "e" in the "Scheduled" column, how can I unschedule 
(remove the existing date) the item? Can we use "nil" or maybe other 
special character to indicate that no date is selected?


I can certainly use "C-u C-c C-s" to unschedule and press "r" to 
refresh, but that kills the fun of "editing in place".


Thanks for giving this a thought.


I have.  This is `C-u e' since `e' in the SCHEUDLED column only calls 
`org-schedule'.


- 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] bug in links ?

2007-10-16 Thread Carsten Dominik


On Oct 16, 2007, at 16:49, Giovanni Ridolfi wrote:



Hi, Carsten
I think I've found a bug regarding the hyperlink.

Org-mode version 5.12c
GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE

1. What exactly did you do?

 I wrote the file.
 I enabled the debugger (Options/Enter Debugger on error)
 I clicked on the links.
 The "acs" link  was OK, the browser opened the link.
 So far so good

2. What did you expect to happen?

 That the browser would open the "aip" and "isof" links as well.

3. What happened instead?

 "isof" and "aip" links did not trigger the browser.
 Please see the debugger trace

This is the org file:
--
  -*- mode: org; -*-
* acs link
#+LINK: acs http://pubs3.acs.org/acs/journals/toc.page?incoden=%s

[[acs:achre4][Acc Chem Res] ]
[[acs:achre4][Acc Chem Res]]   this is the link.

The acs link is ok: if I click on it my browser opens the page

Debugger:
| Loading browse-url...done
|
| Starting c:/Documents and Settings/Gaetano/Documenti/firefox/Mozilla
|Firefox/firefox.exe... |

* aip link

#+LINK  aip http://scitation.aip.org/%s


There is a colon missing after LINK.

- Carsten



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


Re: [Orgmode] Re: Re: Org-mode version 5.12

2007-10-16 Thread Carsten Dominik


On Oct 15, 2007, at 22:59, Fabian Braennstroem wrote:

One more great feature would be an additional option to the
'tree-to-indirect-buffer' function from the resulting agenda
view.


An indirect buffer is not something that is extracted, it is just
another view on the same buffer.  In this case it is narrowed,
and you can get back the rest of the buffer by widening it.
What you are asking for is basically to go back to the top
level heading and jump that tree into an indirect buffer.
This does not really help a lot, I guess.

- Carsten



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



___
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: PocketMod for org-mode

2007-10-16 Thread Dan Griswold
Christian,

Because I've been trying something similar (but not as advanced), I'm
intrigued by the possibilities of your approach. Sadly, I can't run
your Makefile. I get an error[1]. Am I missing something?

About font size, I've found that for what we're trying to do, it helps
to replace \tiny with \small globally.

Also, a little gotcha I've found, which may catch some of us org-mode
GTD-ers: cal-tex.el does not check for the @ symbol when inputting
from the diary, and thus does not escape it, leading to latex-errors
on processing.



Footnotes: 
[1]  Wrong type argument: char-or-string-p, nil
 make: *** [weekCalendar.tex] Error 255

-- 
--
Dan Griswold
Rochester, NY
--



___
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 Blorg/org based blog

2007-10-16 Thread Bastien
Rick <[EMAIL PROTECTED]> writes:

> Yes it's a good strategy and one that's worked well for org-mode.  I
> do however have some features which I'd like to see.  If it's not too
> rude, I'll list some here:
>
> - Ability to define your own HTML 's.  Specifically here the
> issue was wanting to list a 3rd party feed  (feedburner) rather than
> my own as a  in the .  I did in fact modify blorg.el to do
> this through a new customize variable.  If you want I can send you the
> patch.

Please do!

> - Ability to include code blocks in posts (with syntax highlighting).

I've just discovered the htmlize-output-type variable (letting some
htmlized code to be embedded in other HTML documents), so it should 
be possible.

> - The ability to make an image a link i.e. to output  ...>
> - To allow sorting of published posts by their date rather than their
> order in the org-mode file.
> - To have more customizable echoes.

Agreed.

> I also noticed that my templates tended to be practically identical,
> causing a lot of duplicated code between them.

Yes, some re-factorization needed here.

> Being able to include your own elisp in these templates would also be
> handy.  Also writing/copying&pasting HTML inside customize buffers is
> a little painful.

Mhh.. true.  

Thanks for the feedback!

-- 
Bastien


___
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: Free `1' and `0' keys from the org-agenda interface ?

2007-10-16 Thread Bastien
[EMAIL PROTECTED] (Andrew J. Korty) writes:

> Bastien <[EMAIL PROTECTED]> writes:
>
>> I tend to use my `org-agenda-custom-commands' in a strict order.  
>> I first check for a first view, then check for a second view, etc.  
>
> Why not just display all those views, in order, with one custom
> command?

Yes, good idea. But I still think it would be nice to be able to bind
the [0-9] keys. One advantage of these keys is that they are very easy
to memorize, and this might help when trying to go from one agenda view
to another.

-- 
Bastien


___
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] PocketMod for org-mode

2007-10-16 Thread Bastien
Christian Egli <[EMAIL PROTECTED]> writes:

> The attached script generates a pocketMod style pdf which contains the
> next four weeks, the next three months and the current year on one
> page. It also generates a hipsterPDA style printout which contains the
> same calendars to be used in hipsterPDA style.

Hey, that's great!  I didn't heard about pocketMod before.

Can you send a PDF example of the output?

I tried your Makefile but could not get any output (yet).  I think it's
mainly because I don't have any of pdfnup/pdfjoin/pdf90 - where does it
come from?  On what system?

Maybe a bit more of explanation on how to use this Makefile would also
be useful.  

Looks promising, thanks!

-- 
Bastien


___
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: Free `1' and `0' keys from the org-agenda interface ?

2007-10-16 Thread Andrew J. Korty
Bastien <[EMAIL PROTECTED]> writes:

> I tend to use my `org-agenda-custom-commands' in a strict order.  
> I first check for a first view, then check for a second view, etc.  

Why not just display all those views, in order, with one custom command?
For example, when I'm at home, I run C-c a h:

 ("h" "home contexts"
  ((tags-todo "[EMAIL PROTECTED]@computer/TODO" nil)
   (tags-todo "[EMAIL PROTECTED]@computer/TODO" nil)
   (tags-todo "[EMAIL PROTECTED]@[EMAIL PROTECTED]/TODO" nil)
   (tags-todo "@phone/TODO" nil)
   (tags-todo "@any/TODO" nil))

-- 
ajk


___
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: FR: toggling timestamps active/inactive

2007-10-16 Thread Bastien
Christian Egli <[EMAIL PROTECTED]> writes:

> What constitutes a "small patch" I don't know. Might be answered in
> one of the GNU FAQs.

>From memory: beyond 15 lines, the patch is not small anymore.

-- 
Bastien


___
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] PocketMod for org-mode

2007-10-16 Thread Christian Egli

Hi all

With my increased use of org-mode I have also started using M-x
calendar and the diary. For a while I've been wanting to have a
printed version of my calendar for offline use. Also I quite like the
idea of the pocketMod. Now the calendar mode itself can generate some
quite fancy latex printouts that include your diary entries. So over
the weekend I tried to generate a calendar similar to the pocketMod
from the calendars you can create from within Emacs. The attached
script generates a pocketMod style pdf which contains the next four
weeks, the next three months and the current year on one page. It also
generates a hipsterPDA style printout which contains the same
calendars to be used in hipsterPDA style.

I guess the script is meant as a starting point. You could possibly
add an export of your most important TODOs or possibly other
stuff. 

One thing that I'm not quite happy with is that the printouts are very
small and you almost need a magnifying glass to read them. Maybe some
experiments with the fonts and font sizes are in order. Also for some
reason the batch jobs do not seem to use the settings from ~/.emacs
(despite the -l ~/.emacs option). I need this to set the preamble in
the generated latex (e.g. for stuff like  (setq cal-tex-preamble-extra
"\\usepackage[utf8]{inputenc}")).

So enjoy your printouts and send me feedback and enhancements :-)

Christian



Makefile
Description: Makefile to generate a pocketMod
___
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: FR: toggling timestamps active/inactive

2007-10-16 Thread Christian Egli
Adam Spiers <[EMAIL PROTECTED]> writes:

> By the way, I probably could have coded this in the time it took to
> write the mail, but I thought that until I've sent a piece of paper to
> the FSF assigning rights for code contributed to org-mode and emacs,
> it would be better to let Carsten write it.  Is that correct or flawed
> thinking?

As far as I know you do not need an assignement, i.e. all the
paperwork for only a small patch. What constitutes a "small patch" I
don't know. Might be answered in one of the GNU FAQs.

HTH
Christian



___
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 Blorg/org based blog

2007-10-16 Thread Rick
On 14/10/2007, Bastien <[EMAIL PROTECTED]> wrote:
> > First impressions are that Blorg seems to work quite well, though it
> > takes some setting up, and could be made more flexible
>
> Sure.  I wrote blorg more than one year ago, and I made the mistake of
> trying too add too many functions too early.

Ahhh, the benefit of hindsight :)  You may feel you've added the
features too quick, but the feature set seems reasonably good.

> Since that time, Org changed a lot and introduced properties - blorg
> should be able to take advantage of them somehow.  Also, some code I
> wrote in org-export-latex.el could be of some help in parsing the Org
> file to get it published as a blog.

Yes, I can imagine that properties might be useful, perhaps for
enabling/disabling features at publish time (e.g. comment forms
etc...).  This said I'm only just starting to explore their uses in
plain org-mode, so I don't really know yet.

> My plan is to rewrite blorg nearly from scratch, trying not to rush on
> functionnalities and adding them only if people need them.

Yes it's a good strategy and one that's worked well for org-mode.  I
do however have some features which I'd like to see.  If it's not too
rude, I'll list some here:

- Ability to define your own HTML 's.  Specifically here the
issue was wanting to list a 3rd party feed  (feedburner) rather than
my own as a  in the .  I did in fact modify blorg.el to do
this through a new customize variable.  If you want I can send you the
patch.
- Ability to include code blocks in posts (with syntax highlighting).
- The ability to make an image a link i.e. to output 
- To allow sorting of published posts by their date rather than their
order in the org-mode file.
- To have more customizable echoes.

I also noticed that my templates tended to be practically identical,
causing a lot of duplicated code between them.  Being able to include
your own elisp in these templates would also be handy.  Also
writing/copying&pasting HTML inside customize buffers is a little
painful.

> > sometimes seems to be a little temperamental in publishing to html
> > with links not rendering properly etc
>
> The next version of blorg will use Org internals for rendering HTML.

This makes a lot of sense.

> The good thing of all this is that, no matter how far blorg1 will be
> from blorg0, you can always work on your Org source without worrying
> too much on this!  Source is source :)

Agreed!  This said I'm already eager to move to blorg1.  It'd be great
if I could use my old blorg.org file on the new version though, even
if I have to change my configuration.

Thanks again!

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] Unschedule an item in column view

2007-10-16 Thread Wanrong Lin


First, I have just begun to use column view. Although it seems it still 
has bugs here and there, it is a awesome concept! I never thought in a 
text based system we can achieve something similar to MS project (Sort 
of. I wouldn't want to see org-mode to emulate everything in MS project 
anyway.)


Now, my question/suggestion:

I have my column format set to:
"%66ITEM %10TODO %10SCHEDULED %3PRIORITY %TAGS"

When I press "e" in the "Scheduled" column, how can I unschedule (remove 
the existing date) the item? Can we use "nil" or maybe other special 
character to indicate that no date is selected?


I can certainly use "C-u C-c C-s" to unschedule and press "r" to 
refresh, but that kills the fun of "editing in place".


Thanks for giving this a thought.

Wanrong



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


Re: [Orgmode] POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Philip Rooke
Carsten Dominik <[EMAIL PROTECTED]> writes:

> I am worried that this will scare away some members.  Do we need to
> address this, or will people stick around and just wait until
> things cool off a bit?

Doesn't worry me at all. I know I haven't posted anything for a long
while but I am still happy watching the development of this great mode
and love the energy that seems to be surrounding it at the moment. (It
has certainly come a long way from v3.? or whatever might have been
the first version I sent bug reports on...)

Phil


___
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] Free `1' and `0' keys from the org-agenda interface ?

2007-10-16 Thread Bastien
Adam Spiers <[EMAIL PROTECTED]> writes:

>> `< <' : cycle through default restricted states (see above)
>
> Hmm, that doubles the number of keypresses to achieve a given state,
> which is a bit cumbersome.  But if it's customizable, who cares? :-)

I wouldn't mind having single keys to achieve this - it's just that I
thought `1' and `0' where not the best choice.

-- 
Bastien


___
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: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Sivaram Neelakantan
Carsten Dominik <[EMAIL PROTECTED]> writes:

> Hi,
>
> the mailing list has been extremely active recently, we have had
> close to 20 email a day.
>
> I am worried that this will scare away some members.  Do we need to
> address this, or will people stick around and just wait until
> things cool off a bit?
>
> - Carsten

Absolutely not. FYI, I find the increased traffic a little reassuring
that there are others using the software.  I already feel lonely in
office using Emacs :-)

sivaram



___
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: Turning on column view marks buffer "modified"

2007-10-16 Thread Wanrong Lin

Carsten Dominik wrote:


On Oct 16, 2007, at 17:44, Wanrong Lin wrote:



I just found out things are even stranger:

I have a level 1 heading "* HR". Every time the column view is turned 
on, an extra space is added to the end of that heading, which is why 
the buffer is marked "modified". But it only happens on that "HR" 
heading. What is so special about the word "HR" (stands for "Human 
Resources" for me)


The reason ist that your headline is so short.  Column view internal
need on character in the headline for each column to display.
Therefore, it adds space characters if you have more columns than
characters.  Don't really know how to change this - I guess I could
avoid marking the buffer marked just because of this.

- Carsten

That will be nice if you can add that work-around. I am compelled to do 
an "undo" when I see a buffer is marked "modified" for no good reason 
because I am afraid of inserting characters accidentally since we all 
press those short-cut keys so fast. One thing I hate about Microsoft 
word is when you close a word file, even if you did not do anything to 
it, it often asks you whether you want to save your changes.


Thank you.

Wanrong


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


[Orgmode] Re: Column view bugs

2007-10-16 Thread Vagn Johansen
Bastien <[EMAIL PROTECTED]> writes:

> Vagn Johansen <[EMAIL PROTECTED]> writes:
>
>> I could also see a use for a state-dependent {:}. Display the sum of
>> times and also the sum of times for tasks that are DONE. E.g. for
>> adding time-estimates and measuring progress. Or maybe add up the
>> not-DONEs to show the remaining time.
>
> Isn't this already achievable with a clever todo/archive structure?

Sort of. But I do not want to be forced to use a specific structure.

Also it gives incorrect sums if you havee subproject with with mixed
TODO and DONE tasks.

-- 
Vagn Johansen



___
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: Turning on column view marks buffer "modified"

2007-10-16 Thread Carsten Dominik


On Oct 16, 2007, at 17:44, Wanrong Lin wrote:



I just found out things are even stranger:

I have a level 1 heading "* HR". Every time the column view is turned 
on, an extra space is added to the end of that heading, which is why 
the buffer is marked "modified". But it only happens on that "HR" 
heading. What is so special about the word "HR" (stands for "Human 
Resources" for me)


The reason ist that your headline is so short.  Column view internal
need on character in the headline for each column to display.
Therefore, it adds space characters if you have more columns than
characters.  Don't really know how to change this - I guess I could
avoid marking the buffer marked just because of this.

- 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] Free `1' and `0' keys from the org-agenda interface ?

2007-10-16 Thread Adam Spiers
On Tue, Oct 16, 2007 at 06:53:47PM +0100, Bastien wrote:
> Adam Spiers <[EMAIL PROTECTED]> writes:
> 
> > I'm curious about your suggestion of '<<' though - does that imply the
> > sub-keymap functionality I asked for already exists?
> 
> I first thought yes, since it looks like the first `<' keystroke is
> waiting for the next one (at least from the description I proposed).
> 
> But in fact there is no sub-keymap involved here: it's only about
> cycling through three states: 
> 
> - not-restricted
> - buffer-restricted
> - subtree/region-resctricted
> 
> Then three keystrokes would turn off the restriction.
> 
> But calling a sub-keymap with `<' could also be useful:
> 
> `< <' : cycle through default restricted states (see above)

Hmm, that doubles the number of keypresses to achieve a given state,
which is a bit cumbersome.  But if it's customizable, who cares? :-)


___
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] Free `1' and `0' keys from the org-agenda interface ?

2007-10-16 Thread Bastien
Adam Spiers <[EMAIL PROTECTED]> writes:

> I'm curious about your suggestion of '<<' though - does that imply the
> sub-keymap functionality I asked for already exists?

I first thought yes, since it looks like the first `<' keystroke is
waiting for the next one (at least from the description I proposed).

But in fact there is no sub-keymap involved here: it's only about
cycling through three states: 

- not-restricted
- buffer-restricted
- subtree/region-resctricted

Then three keystrokes would turn off the restriction.

But calling a sub-keymap with `<' could also be useful:

`< <' : cycle through default restricted states (see above)
`< f' : prompt for an org-agenda-file to restrict to
`< s' : prompt for a subtree to restrict

Caveat: we should better not allow interactive restriction to a
property, since this is the job of the custom-command itself...

My 2.5 cents.

-- 
Bastien


___
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] POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Eddward DeVilla
On 10/16/07, Carsten Dominik <[EMAIL PROTECTED]> wrote:
> Hi,
>
> the mailing list has been extremely active recently, we have had
> close to 20 email a day.
>
> I am worried that this will scare away some members.  Do we need to
> address this, or will people stick around and just wait until
> things cool off a bit?
>
> - Carsten
>
> P.S. I know that this will lead to even more messages in the next
> few days, but it is for a good cause :-)

I've been having a little trouble keeping up and have skimmed over
some of the thread I'm not as interested in.  I'm still glad that
there is enough interest to have this kind of traffic.  That outliner
I depended on before org-mode died from lack of interest.

Edd


___
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] FR: toggling timestamps active/inactive

2007-10-16 Thread Rick Moynihan

Adam Spiers wrote:
This seems like a good idea.  Another related one occurred to me today 
(if it's necessary) which is toggling between the two list indicators.


e.g.

- foo
- bar
  - baz |<-- Point

Calling the toggle-list-indicator function at the point will cause the 
list indicator to change from a - to a + (and vice versa).


Nice idea!  Or even between - and *** at the current level.  Maybe
that should cycle.  Or maybe there are already existing keybindings
which distinguish between new - and *** entries?  M-RET doesn't always
DWIM, personally.


Yes!  This is another that issue that gets me, I often press M-RET 
expecting a list, but get an outline.  Having a keybinding to quickly 
toggle between these sorts of things when they occur *might* be nice.


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


Re: [Orgmode] FR: toggling timestamps active/inactive

2007-10-16 Thread Carsten Dominik

Hi Adam,

On Oct 16, 2007, at 16:19, Adam Spiers wrote:


Hi Carsten,

Another simple idea - subject line is pretty much self-explanatory I
think: would be great to be able to toggle timestamps between [] and
<>.

Why?  Say I have an event in my diary.org file, and am subsequently
told my presence at the event is no longer necessary.  Consequently I
would like to keep it in the file for reference, to track colleagues'
movements or in case my presence is re-required, but I don't want the
event to appear in the agenda.


Writing the command is simple - finding a keybinding is harder.
I will make so that using S-up or S-down on one of the brackets
will switch the type.  If you have a good proposal for another
key, come forward.


By the way, I probably could have coded this in the time it took to
write the mail, but I thought that until I've sent a piece of paper to
the FSF assigning rights for code contributed to org-mode and emacs,
it would be better to let Carsten write it.  Is that correct or flawed
thinking?


Well, I cannot officially take your code, but if you show me an 
"example"

implementation, it will probably be faster still.

- 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] FR: more flexible customization of org-agenda-custom-commands key bindings

2007-10-16 Thread Bastien
Adam Spiers <[EMAIL PROTECTED]> writes:

> Another approach, and this is my personal preference, would be to
> allow "sub-keymaps", so that e.g. I could press C-c C-a s and it would
> present me with a further menu of single keystrokes bound to custom
> agenda commands:
>
>C-c C-a s 1search for :sub10:  (10 minute tasks)
>C-c C-a s 2search for :sub120: (2 hour tasks)
>C-c C-a s 3search for :sub30:  (30 minute tasks)
>C-c C-a s 4search for :sub40:  (4 hour tasks)
>
> etc.
>
> Not only would this approach make it easier to avoid binding conflicts
> with hard-coded bindings, but it also has the advantage of providing
> distinct keymaps for different types of searches, e.g. one keymap
> could be for searching by GTD context, another by task A/B/C priority,
> another by TODO keyword, and so on.
>
> Thoughts?

Fully agreed on sub-keymaps -- even though I have no clue on how hard it
is to implement.

-- 
Bastien


___
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] FR: more flexible customization of org-agenda-custom-commands key bindings

2007-10-16 Thread Adam Spiers
Adam Spiers ([EMAIL PROTECTED]) wrote:
> First, apologies for the constant "gimme" nature of my recent
> feature-request posts!

*sigh*  Here I go again ...

Two more ideas for improving org-agenda:

1. Allow custom agenda commands to be given a descriptive name by the
   user which appears in the keystroke menu of the *Org Agenda*
   buffer.  (For instance, currently my lambda-based priority searches
   appear as `A   Tags query :' which isn't very user-friendly.)

2. Once a custom command has been invoked, provide a binding for going
   straight back to the *Org Agenda* buffer to invoke another one.


___
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] Free `1' and `0' keys from the org-agenda interface ?

2007-10-16 Thread Adam Spiers
Bastien ([EMAIL PROTECTED]) wrote:
> Hi all,
> 
> i'd like to have your opinion on this.
> 
> I tend to use my `org-agenda-custom-commands' in a strict order.  
> I first check for a first view, then check for a second view, etc.  
> It would be nice to be able to use `1' for the first view -- but
> it's currently used to restrict the agenda view to the buffer.
> 
> My suggestion for a possible replacement for the `1' and `0' keys 
> would be this:
> 
>  `<' : restrict to the buffer
> `<<' : restrict to the region or subtree
> 
> Note: `<' could also be `@' since `C-c @' means select the current
> subtree.
> 
> I think it's okay to have some kind of "incremental" restriction,
> but I'm not sure about this.  And I'd definitely like to have the
> [0-9] keys for my own agenda views :)

Wow, what can I say?  I think those two mails arrived with 30 seconds
of each other - great minds think alike ;-)

I'm only just starting to use custom commands; however, your comment
about typically invoking custom commands in a strict order doesn't
surprise me.  I might well find my usage habits following the same
trait.

I'm curious about your suggestion of '<<' though - does that imply the
sub-keymap functionality I asked for already exists?


___
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] Free `1' and `0' keys from the org-agenda interface ?

2007-10-16 Thread Bastien
Hi all,

i'd like to have your opinion on this.

I tend to use my `org-agenda-custom-commands' in a strict order.  
I first check for a first view, then check for a second view, etc.  
It would be nice to be able to use `1' for the first view -- but
it's currently used to restrict the agenda view to the buffer.

My suggestion for a possible replacement for the `1' and `0' keys 
would be this:

 `<' : restrict to the buffer
`<<' : restrict to the region or subtree

Note: `<' could also be `@' since `C-c @' means select the current
subtree.

I think it's okay to have some kind of "incremental" restriction,
but I'm not sure about this.  And I'd definitely like to have the
[0-9] keys for my own agenda views :)

Did anyone ever meet the same need?

Thanks,

PS: I think today will be the craziest day in term of list traffic!

-- 
Bastien


___
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] FR: toggling timestamps active/inactive

2007-10-16 Thread Adam Spiers
Rick Moynihan ([EMAIL PROTECTED]) wrote:
> Adam Spiers wrote:
> >Hi Carsten,
> >
> >Another simple idea - subject line is pretty much self-explanatory I
> >think: would be great to be able to toggle timestamps between [] and
> ><>.
> >
> >Why?  Say I have an event in my diary.org file, and am subsequently
> >told my presence at the event is no longer necessary.  Consequently I
> >would like to keep it in the file for reference, to track colleagues'
> >movements or in case my presence is re-required, but I don't want the
> >event to appear in the agenda.
> >
> >By the way, I probably could have coded this in the time it took to
> >write the mail, but I thought that until I've sent a piece of paper to
> >the FSF assigning rights for code contributed to org-mode and emacs,
> >it would be better to let Carsten write it.  Is that correct or flawed
> >thinking?
> >
> 
> This seems like a good idea.  Another related one occurred to me today 
> (if it's necessary) which is toggling between the two list indicators.
> 
> e.g.
> 
> - foo
> - bar
>   - baz |<-- Point
> 
> Calling the toggle-list-indicator function at the point will cause the 
> list indicator to change from a - to a + (and vice versa).

Nice idea!  Or even between - and *** at the current level.  Maybe
that should cycle.  Or maybe there are already existing keybindings
which distinguish between new - and *** entries?  M-RET doesn't always
DWIM, personally.


___
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] FR: more flexible customization of org-agenda-custom-commands key bindings

2007-10-16 Thread Adam Spiers
First, apologies for the constant "gimme" nature of my recent
feature-request posts!

org-agenda-custom-commands is awesome in its power.  There are one or
two respects in which I think it could be improved, however.

I make extensive use of the functionality added relatively recently
which enables you to select a tag or TODO keyword with a single
keystroke.  I would now like to build a load of corresponding custom
agenda commands which search for the tag or keyword created with the
same keystroke.  So for example, if I marked a TODO with the :sub60:
tag via C-c C-c 6  to indicate that I think the task will take
less than 60 minutes to complete, I would also like to be able to
press C-c C-a 6 to search all agenda files for that tag.

This poses no problems in this and most cases.  However, I would like
to have a quick binding for listing priorities:

  C-c C-a A  - to list anything marked [#A]
  C-c C-a B  - to list anything marked [#B]
  C-c C-a C  - to list anything marked [#C]

I copied the elisp using org-agenda-skip-entry-if from John's great
day planner page[1] to achieve these, and it works great.  But it
overwrites the default binding of C-c C-a C which is a handy shortcut
for customizing org-agenda-custom-commands.  So I would like to be
able to move that to another key.  I noticed there is an option to
make a custom agenda command call "Other, user-defined function", but
the relevant bit of org-agenda seems to be:

((fboundp type)
  (org-let lprops '(funcall type match)))

which doesn't allow lambda functions.  If I define my own function: 

  (defun as-test (match)
(interactive)
(customize-group 'org-agenda-custom-commands))

and refer to that, it works, but it would be nice if lambdas worked.

Similarly, I would like to bind C-c C-a 1 to search for tasks which
can be done in under 10 minutes (`:sub10:'), and C-c C-a 0 for
something else, but they are hard-bound to limiting the scope of an
imminent search.

It seems to me there are two possible approaches to solve these
binding conflicts.  One would be to move the currently hard-coded
bindings all into org-agenda-custom-commands as default values.  This
would require extending what a custom command can do in some cases, as
witnessed with the lambda issue above.

Another approach, and this is my personal preference, would be to
allow "sub-keymaps", so that e.g. I could press C-c C-a s and it would
present me with a further menu of single keystrokes bound to custom
agenda commands:

   C-c C-a s 1search for :sub10:  (10 minute tasks)
   C-c C-a s 2search for :sub120: (2 hour tasks)
   C-c C-a s 3search for :sub30:  (30 minute tasks)
   C-c C-a s 4search for :sub40:  (4 hour tasks)

etc.

Not only would this approach make it easier to avoid binding conflicts
with hard-coded bindings, but it also has the advantage of providing
distinct keymaps for different types of searches, e.g. one keymap
could be for searching by GTD context, another by task A/B/C priority,
another by TODO keyword, and so on.

Thoughts?


[1] http://www.newartisans.com/blog_files/org.mode.day.planner.php


___
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: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Rick Moynihan

William Henney wrote:

Agreed.  I do fall behind on reading it every now and then but I always
try and catch up because the quality of discussions is so high.  I like
having such a receptive community.



Agreed too. Sometimes my eyes glaze over the GTD threads, but I can
always mute the threads I'm not interested in. Perhaps an additional
low volume org-mode-announce list would be a good idea for those more
interested in product than process...



To be honest I think we're still too small to justify the overhead of 
another list.  When we're touching on having 100s of posts a day, maybe.


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


Re: [Orgmode] FR: toggling timestamps active/inactive

2007-10-16 Thread Rick Moynihan

Adam Spiers wrote:

Hi Carsten,

Another simple idea - subject line is pretty much self-explanatory I
think: would be great to be able to toggle timestamps between [] and
<>.

Why?  Say I have an event in my diary.org file, and am subsequently
told my presence at the event is no longer necessary.  Consequently I
would like to keep it in the file for reference, to track colleagues'
movements or in case my presence is re-required, but I don't want the
event to appear in the agenda.

By the way, I probably could have coded this in the time it took to
write the mail, but I thought that until I've sent a piece of paper to
the FSF assigning rights for code contributed to org-mode and emacs,
it would be better to let Carsten write it.  Is that correct or flawed
thinking?



This seems like a good idea.  Another related one occurred to me today 
(if it's necessary) which is toggling between the two list indicators.


e.g.

- foo
- bar
  - baz |<-- Point

Calling the toggle-list-indicator function at the point will cause the 
list indicator to change from a - to a + (and vice versa).


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: Turning on column view marks buffer "modified"

2007-10-16 Thread Wanrong Lin


More observations:

It is not that the word "HR" is so special. Actually, as long as there 
is any level 1 heading with two capital letters only, like "AB" "CD" 
"HK" or whatever, this strange behavior happens. Does anyone has a clue 
about this? Thank you.


Wanrong

Wanrong Lin wrote:


I just found out things are even stranger:

I have a level 1 heading "* HR". Every time the column view is turned 
on, an extra space is added to the end of that heading, which is why 
the buffer is marked "modified". But it only happens on that "HR" 
heading. What is so special about the word "HR" (stands for "Human 
Resources" for me)


You can try this out by just pasting the following two lines into a 
temporary org file:


* HR
*** Holidays

Wanrong

Wanrong Lin wrote:


If I turn on column view for the whole buffer by pressing "C-c C-x 
C-c" at the top of the buffer (blank area), the buffer would be 
marked "modified". But if I do it just on a subtree, everything is 
normal. Does anybody see the same thing? thanks.


Wanrong









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


[Orgmode] Re: Turning on column view marks buffer "modified"

2007-10-16 Thread Wanrong Lin


I just found out things are even stranger:

I have a level 1 heading "* HR". Every time the column view is turned 
on, an extra space is added to the end of that heading, which is why the 
buffer is marked "modified". But it only happens on that "HR" heading. 
What is so special about the word "HR" (stands for "Human Resources" for 
me)


You can try this out by just pasting the following two lines into a 
temporary org file:


* HR
*** Holidays

Wanrong

Wanrong Lin wrote:


If I turn on column view for the whole buffer by pressing "C-c C-x 
C-c" at the top of the buffer (blank area), the buffer would be marked 
"modified". But if I do it just on a subtree, everything is normal. 
Does anybody see the same thing? thanks.


Wanrong






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


[Orgmode] request re default year in date

2007-10-16 Thread John Rakestraw
Hi --

[[resending because I sent earlier from different email address.]]

As I begin to schedule meetings and tasks for the next calendar year, I
find that the default year (if I say, for example, jan 7) is the
current calendar year. Of course, that's what the documentation says it
will be, but 

I wonder if we could have at least an option for the default year to be
the next year if one is inserting a date that's already past for this
calendar year -- in my case, at least, if I'm now inserting the date jan
7 -- or even sep 30 -- it's much more likely that I'm wanting the date
from 2008 than from 2007.

I know that the 2008 date is only two keystrokes away -- i.e., I can
type "sep 30 8" at the prompt and get <2008-09-30 Tue> -- so I can live
with it the way it is. Just looking to have the program think the way i
think, I guess ;)

-- 
John Rakestraw


signature.asc
Description: PGP signature
___
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: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread William Henney
On 10/16/07, Rick Moynihan <[EMAIL PROTECTED]> wrote:
> Nuutti Kotivuori wrote:
> > Carsten Dominik wrote:
> >> Hi,
> >>
> >> the mailing list has been extremely active recently, we have had
> >> close to 20 email a day.
> >>
> >> I am worried that this will scare away some members.  Do we need to
> >> address this, or will people stick around and just wait until
> >> things cool off a bit?
> >
> > I think it is fine. The issues raised on the mailing list are very
> > much to the point and actually relevant to org-mode.
>
> Agreed.  I do fall behind on reading it every now and then but I always
> try and catch up because the quality of discussions is so high.  I like
> having such a receptive community.
>

Agreed too. Sometimes my eyes glaze over the GTD threads, but I can
always mute the threads I'm not interested in. Perhaps an additional
low volume org-mode-announce list would be a good idea for those more
interested in product than process...

Cheers

Will


-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia


___
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: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Bernt Hansen
Carsten Dominik <[EMAIL PROTECTED]> writes:

> the mailing list has been extremely active recently, we have had
> close to 20 email a day.
>
> I am worried that this will scare away some members.  Do we need to
> address this, or will people stick around and just wait until
> things cool off a bit?
>
> - Carsten
>
> P.S. I know that this will lead to even more messages in the next
> few days, but it is for a good cause :-)

I'm not going anywhere :)
Gnus and gmane is wonderful!

Regards,
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] Re: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Rick Moynihan

Nuutti Kotivuori wrote:

Carsten Dominik wrote:

Hi,

the mailing list has been extremely active recently, we have had
close to 20 email a day.

I am worried that this will scare away some members.  Do we need to
address this, or will people stick around and just wait until
things cool off a bit?


I think it is fine. The issues raised on the mailing list are very
much to the point and actually relevant to org-mode.


Agreed.  I do fall behind on reading it every now and then but I always 
try and catch up because the quality of discussions is so high.  I like 
having such a receptive community.


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] bug in links ?

2007-10-16 Thread Giovanni Ridolfi

Hi, Carsten
I think I've found a bug regarding the hyperlink.

Org-mode version 5.12c
GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE

1. What exactly did you do?

 I wrote the file. 
 I enabled the debugger (Options/Enter Debugger on error)
 I clicked on the links.
 The "acs" link  was OK, the browser opened the link.
 So far so good

2. What did you expect to happen?

 That the browser would open the "aip" and "isof" links as well.

3. What happened instead? 

 "isof" and "aip" links did not trigger the browser.
 Please see the debugger trace

This is the org file:
--
  -*- mode: org; -*-
* acs link
#+LINK: acs http://pubs3.acs.org/acs/journals/toc.page?incoden=%s

[[acs:achre4][Acc Chem Res] ]
[[acs:achre4][Acc Chem Res]]   this is the link.

The acs link is ok: if I click on it my browser opens the page 

Debugger:
| Loading browse-url...done
|
| Starting c:/Documents and Settings/Gaetano/Documenti/firefox/Mozilla
|Firefox/firefox.exe... |

* aip link

#+LINK  aip http://scitation.aip.org/%s

http://scitation.aip.org/aplo/  I can open this link too. 

|Starting c:/Documents and Settings/Gaetano/Documenti/firefox/Mozilla
|   Firefox/firefox.exe...

But if I use the compact form:
 [[aip:aplo/][Appl. Phys. Lett.]]

| Here follows the debugger trace: 
/// 
Debugger entered--Lisp error: (error "No match")
  signal(error ("No match"))
  error("No match")
  (if (or (org-search-not-self 1 re0 nil t) (org-search-not-self 1 re1
nil t) (org-search-not-self 1 re2 nil t) (org-search-not-self 1 re2a nil
t) (org-search-not-self 1 re3 nil t) (org-search-not-self 1 re4 nil t)
(org-search-not-self 1 re5 nil t)) (goto-char (match-beginning 1))
(goto-char pos) (error "No match"))
  (cond ((eq type ...) (org-occur reall)) ((eq type ...) (org-do-occur
... ...)) (t (goto-char ...) (if ... ... ... ...)))
  (cond ((run-hook-with-args-until-success ... s)) ((save-excursion ...
...) (goto-char pos)) ((string-match "^/\\(.*\\)/$" s) (cond ... ...))
(t (when ... ...) (remove-text-properties 0 ... ... s) (setq words ...
re0 ... re2 ... re2a ... re4 ... re1 ... re3 ... re5 ... re2 ... re2a
... re4 ... reall ...) (cond ... ... ...)) (t (goto-char ...) (if ...
... ...)))
  (let ((case-fold-search t) (s0 ...) (markers ...) (pos ...) (pre "")
(post "") words re0 re1 re2 re3 re4 re5 re2a reall) (cond (...) (...
...) (... ...) (t ... ... ... ...) (t ... ...)) (and (org-mode-p)
(org-show-context ...)))
  org-link-search("aip:aplo/" nil 18107)
  eval((org-link-search "aip:aplo/" nil 18107))
  (progn (widen) (eval cmd))
  (condition-case nil (eval cmd) (error (progn ... ...)))
  (let ((cmd ...)) (condition-case nil (eval cmd) (error ...)))
  (cond ((assoc type org-link-protocols) (funcall ... path)) ((equal
type "mailto") (let ... ... ... ...)) ((member type ...) (browse-url
...)) ((string= type "tags") (org-tags-view in-emacs path)) ((string=
type "thisfile") (if in-emacs ... ...) (let ... ...)) ((string= type
"tree-match") (org-occur ...)) ((string= type "file") (if ... ... ...)
(org-open-file path in-emacs line search)) ((string= type "news")
(org-follow-gnus-link path)) ((string= type "bbdb")
(org-follow-bbdb-link path)) ((string= type "info")
(org-follow-info-link path)) ((string= type "gnus") (let ... ... ...
...)) ((string= type "vm") (let ... ... ... ...)) ((string= type "wl")
(let ... ... ... ...)) ((string= type "mhe") (let ... ... ... ...))
((string= type "rmail") (let ... ... ... ...)) ((string= type "shell")
(let ... ... ... ...)) ((string= type "elisp") (let ... ...)) (t
(browse-url-at-point)))
  (let (type path link line search (pos ...)) (catch (quote match)
(save-excursion ... ...) (when ... ... ...) (save-excursion ...) (when
... ... ...) (save-excursion ...)) (unless path (error "No link found"))
(if (string-match " +\\'" path) (setq path ...)) (cond (... ...) (...
...) (... ...) (... ...) (... ... ...) (... ...) (... ... ...) (... ...)
(... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...)
(... ...) (... ...) (t ...)))
  (if (org-at-timestamp-p t) (org-follow-timestamp-link) (let (type path
link line search ...) (catch ... ... ... ... ... ...) (unless path ...)
(if ... ...) (cond ... ... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ...)))
  org-open-at-point()
  org-open-at-mouse((mouse-2 (# 18107 (64 . 246)
25297926 nil 18107 (8 . 15) nil (0 . 6) (8 . 16
  call-interactively(org-open-at-mouse)



Please, note that if I leave the debugger trace within the file the
cursor jumps to the 
 org-link-search("aip:aplo/" nil 18107)

line and no debugger buffer is displayed.

* Here another, slightly different example: isof link
#+LINK  isof http://www.isof.cnr.it/

If I click on the link inside the #+LINK line the browser is launched. 
also if I click on this link: http://www.isof.cnr.it/istituto.html

Bu

[Orgmode] Turning on column view marks buffer "modified"

2007-10-16 Thread Wanrong Lin


If I turn on column view for the whole buffer by pressing "C-c C-x C-c" 
at the top of the buffer (blank area), the buffer would be marked 
"modified". But if I do it just on a subtree, everything is normal. Does 
anybody see the same thing? thanks.


Wanrong



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


[Orgmode] FR: toggling timestamps active/inactive

2007-10-16 Thread Adam Spiers
Hi Carsten,

Another simple idea - subject line is pretty much self-explanatory I
think: would be great to be able to toggle timestamps between [] and
<>.

Why?  Say I have an event in my diary.org file, and am subsequently
told my presence at the event is no longer necessary.  Consequently I
would like to keep it in the file for reference, to track colleagues'
movements or in case my presence is re-required, but I don't want the
event to appear in the agenda.

By the way, I probably could have coded this in the time it took to
write the mail, but I thought that until I've sent a piece of paper to
the FSF assigning rights for code contributed to org-mode and emacs,
it would be better to let Carsten write it.  Is that correct or flawed
thinking?


___
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] scope of properties in a narrowed buffer, links in certain environments etc.

2007-10-16 Thread Niels Giesen

Hi Carsten and list,

due to all the traffic on the list (Good Thing) and too much traffic on 
the railroad to work this morning (Bad Thing), I went reading up on the 
org-mode mailing list and installed the latest version today (was coming 
from 4.56), and trying to use column view and properties. Which are 
great. In my enthousiasm however, I discovered some bugs, especially 
after an `org-narrow-to-subtree'-call.


Column view on a narrowed subtree does take into account the file-wide 
#+COLUMNS directive,  but *not* the :COLUMNS: property of a parent tree 
outside of the narrowing.
Actually, this issue seems to be larger: `org-set-property' does scan 
the whole file for properties, but prop_ALL from a parent tree outside 
of the narrowing does not have any effect on the values shown.


In column view links are not propertised as links, so the full text 
shows. Also, C-c C-o does not work here to follow a link in a line (or 
rather: column).


Whilst on the subject of links, in the agenda buffer, for some reason 
C-c C-o has trouble when a link is not on the end of a line. The 
following in org-agenda-open-link patch fixes this:

(however, it will still just follow the /first/ link on the line)

diff -w "c:/tmp/org-5.12c/org.el" "c:/tmp/org-5.12c/org2.el"
20251a20252
>   (beginning-of-line)
20255c20256,20258
<   (call-interactively 'org-open-at-point)
---
>   (progn
> (beginning-of-line)
> (call-interactively 'org-open-at-point))

Diff finished.  Tue Oct 16 14:08:55 2007

Using Org-mode version 5.12c on "GNU Emacs 23.0.0.1 
(i386-mingw-nt5.1.2600) of 2007-01-01 on DTOP"


Greetings to you all!

Niels Giesen



___
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: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Stefan Kamphausen
Hi,

Nuutti Kotivuori <[EMAIL PROTECTED]> writes:

> Carsten Dominik wrote:
>> Hi,
>>
>> the mailing list has been extremely active recently, we have had
>> close to 20 email a day.
>>
>> I am worried that this will scare away some members.  Do we need to
>> address this, or will people stick around and just wait until
>> things cool off a bit?
>

I just subscribed to this list (thus posting a followup to Nuuttis
post).  20 mails a day sound pretty OK to me.  Using Gnus makes
handling of this easy :-)

Best Regards
Stefan
-- 
Stefan Kamphausen --- http://www.skamphausen.de
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.



___
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] POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Ian Barton

No problem for me. It's nice to have such an active and friendly community.

Ian.



I am worried that this will scare away some members.  Do we need to
address this, or will people stick around and just wait until
things cool off a bit?





___
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] suggestion : collapsed levels

2007-10-16 Thread Bastien
Richard G Riley <[EMAIL PROTECTED]> writes:

>> I think this is not a good idea.  It would breack the logical meaning of
>> "..." and the way it's used outside of Org.
>
> For readability we will have to agree to disagree on that one. When
> scanning headings I dont want to have to move the eyes right to check
> for potential tags (which might be in a hard to read font as you have)
> to locate the "...". 

Maybe your proposal is more readable in some ways, but I think the
*meaning* of "..." is more important and should not be ignored, even 
with good readability concerns.

BTW, the meaning of "readable" depends on what you *want* to read: some
people might want to easily read the tags as well... I think your issue
is more about visual uniformity than about readability.

> But livable with :-;

:)

-- 
Bastien


___
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] POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Bastien
Carsten Dominik <[EMAIL PROTECTED]> writes:

> I am worried that this will scare away some members.  Do we need to
> address this, or will people stick around and just wait until things
> cool off a bit?

For my part, it's okay, and I will slow down a bit :)

> P.S. I know that this will lead to even more messages in the next few
> days, but it is for a good cause :-)

For the good cause as well, here are a few stats about the list.  Data
have been collected between March 2006 (gmane access?) and now:

Total number of posts: 3873
Average bytes/post: 5170.235218
Total number of posters: 238
Average posts/poster: 16.273109

1154 Carsten Dominik
 371 Bastien
 217 Leo
 112 Eddward DeVilla
  82 Jason F. McBrayer
  70 Bernt Hansen
  70 David O'Toole
  69 Rainer Stengele
  67 T. V. Raman
  63 Xavier Maillard
  59 Scott Jaderholm
  51 William Henney
  47 J. David Boyd
  40 Tim O'Callaghan
  39 Piotr Zielinski
  37 John Wiegley
  35 Russell Adams
  35 Scott Otterson
  33 Georg C. F. Greve
  33 Daniel J. Sinder

Total number of subjects: 1055
Average posts/subject: 3.671090

  55 depending TODOs,   scheduling following TODOs automatically
  34 log on state change
  33 Integration of Org mode and mairix
  30 Org-mode version 5.01
  26 an annoying indentation
  24 Integration of Org mode and Gnus
  23 Feature request: Selective encryption
  23 Another GTD question.
  21 Org-mode 4.78
  19 Categories
  19 Release: Org-mode 5.09
  19 Duration Tally
  18 Attention XEmacs users
  17 Tutorials
  16 org-mode and Google Calendar
  16 postponing todos
  16 Idea: Agenda Search publish?
  15 Feature Request: org-agenda-set-category
  15 Org-mode with color-theme.el
  14 GTD: Solving the bottleneck of converting incoming   mails to NEXT actions

Links to the first five most active subjects:

  55 depending TODOs,   scheduling following TODOs automatically
 
  34 log on state change
 
  33 Integration of Org mode and mairix
 
  30 Org-mode version 5.01
 
  26 an annoying indentation
 

-- 
Bastien


___
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] suggestion : collapsed levels

2007-10-16 Thread Bastien
Richard G Riley <[EMAIL PROTECTED]> writes:

> *title:tag: 

I think this is not a good idea.  It would breack the logical meaning of
"..." and the way it's used outside of Org.

> But, on that subject is it possible to see inherited tags (maybe in a
> different face?)?.

Use the column view:

,
| * Links:Read:
|   :PROPERTIES:
|   :COLUMNS: %30ITEM %10TAGS %20ALLTAGS
|   :END:
|   
| ** Types of links :Write:
`

Try to C-c C-x C-c on the second headline.

It will display the headlines as a row consisting in the headline's
title, the list of tags, and the list of inherited tags.

The ALLTAGS field is "read-only": while trying to edit it with `e' Org
bites: "The ALLTAGS property can not yet be set with `org-entry-put'"

> :PROPERTIES:
> :ALLTAGS: True
> :END:

You can define the #+COLUMNS: so that the default column view for a
particular file always show inherited tags.

HTH,

-- 
Bastien


___
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: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Rainer Stengele
Carsten Dominik schrieb:
> Hi,
> 
> the mailing list has been extremely active recently, we have had
> close to 20 email a day.
> 
> I am worried that this will scare away some members.  Do we need to
> address this, or will people stick around and just wait until
> things cool off a bit?
> 
> - Carsten
> 
> P.S. I know that this will lead to even more messages in the next
> few days, but it is for a good cause :-)
> 
> 
> 
> ___
> 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
> 

Hi,

I like the mailing list being so active. The whole org-stuff is plain fun at 
work and at home.
I've never been organized as easy as today - which doesn't mean I do not have 
some important needs left...

rainer



___
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] POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread John Wiegley
Carsten Dominik <[EMAIL PROTECTED]> writes:

> I am worried that this will scare away some members.  Do we need to address
> this, or will people stick around and just wait until things cool off a bit?

Emacs Gnus, using adaptive scoring, causes the org-mode list to be at most
5-10 postings a day for me.  That's well within my tolerance.

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: "Create new heading after this one" command

2007-10-16 Thread Nuutti Kotivuori
Nuutti Kotivuori wrote:
> Carsten Dominik wrote:
>> I guess this would be as easy as
>>
>> (defun org-new-heading-after-current ()
>> "Insert a new heading with same level as current, after current
>> subtree."
>> (interactive)
>> (org-back-to-heading)
>> (org-insert-heading)
>> (org-move-subtree-down)
>> (end-of-line 1))
>
> Works like a dream, thanks!
>
>> Any suggestions for a keybinding?
>
> Well, it has to be a single keypress, like M-RET - but I'm afraid I
> don't know org-mode well enough to give a good suggestion.

I've been using this since I got the snippet. My keybinding for it is
simply C-M-RET, which seems to work well enough.

I couldn't really live without this anymore - the only use for M-RET I
have (outside of text lists) is for a specific case which I will
mention in another posting.

-- Naked



___
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] Interrupting note taking

2007-10-16 Thread Nuutti Kotivuori
Hello,

Sometimes I bring up remember and then decide not to use it. If I'm
already writing a note, C-c C-k works just fine (thanks for that
feature!).

But often I decide not to write a note while picking a template - so I
just press C-g. This leaves the remember buffer visible afterwards.

Could C-g be catched and the remember buffer thrown away if pressed at
the template selection stage?

-- Naked




___
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: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Leo
On 2007-10-16 10:00 +0100, Carsten Dominik wrote:
> Hi,
>
> the mailing list has been extremely active recently, we have had
> close to 20 email a day.
>
> I am worried that this will scare away some members.  Do we need to
> address this, or will people stick around and just wait until
> things cool off a bit?
>
> - Carsten
>
> P.S. I know that this will lead to even more messages in the next
> few days, but it is for a good cause :-)

This is actually great news. The community of org mode is almost as
active as emacs-devel ;)

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

   Use the most powerful email client -- http://gnus.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


[Orgmode] Re: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Nuutti Kotivuori
Carsten Dominik wrote:
> Hi,
>
> the mailing list has been extremely active recently, we have had
> close to 20 email a day.
>
> I am worried that this will scare away some members.  Do we need to
> address this, or will people stick around and just wait until
> things cool off a bit?

I think it is fine. The issues raised on the mailing list are very
much to the point and actually relevant to org-mode.

The only discussions I skip are the ones where there's a long
discussion of some at the moment ephemeral feature (like task
dependencies/triggers).

-- Naked




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


[Orgmode] Re: Emacs-orgmode Digest, Vol 20, Issue 51

2007-10-16 Thread Fran�ois Puitg
  > From: Carsten Dominik <[EMAIL PROTECTED]>
  > Subject: [Orgmode] POLL: Volume of emacs-orgmode too high?
  > To: org-mode list 
  > 
  > Hi,
  > 
  > the mailing list has been extremely active recently, we have had
  > close to 20 email a day.
  > 
  > I am worried that this will scare away some members.  Do we need to
  > address this, or will people stick around and just wait until
  > things cool off a bit?

Personnaly, I don't mind. I've set  digest mode, so the numerous posts
are  bundled, and hitting  the delete key of my  mailer is easy if I'm
not interested after having read `Today's Topics'.


-- Frnçs


___
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] POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Carsten Dominik

Hi,

the mailing list has been extremely active recently, we have had
close to 20 email a day.

I am worried that this will scare away some members.  Do we need to
address this, or will people stick around and just wait until
things cool off a bit?

- Carsten

P.S. I know that this will lead to even more messages in the next
few days, but it is for a good cause :-)



___
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] http://orgmode.org/org.html - org-agenda-to-appt

2007-10-16 Thread Bastien
Richard G Riley <[EMAIL PROTECTED]> writes:

> I cleaned out and reinstalled - I have a feeling an old "root" .elc
> might have hidden the function, but now I get
>
> ,
> | org-date-to-gregorian: Symbol's function definition is void: 
> calendar-gregorian-from-absolute
> `
>
> When I run org-agenda-to-appt interactively.

Try this one (will be fixed in 5.13):

;; Make appt aware of appointments from the agenda
(defun org-agenda-to-appt (&optional filter)
  "Activate appointments found in `org-agenda-files'.
When prefixed, prompt for a regular expression and use it as a
filter: only add entries if they match this regular expression.

FILTER can be a string. In this case, use this string as a
regular expression to filter results.

FILTER can also be an alist, with the car of each cell being
either 'headline or 'category.  For example:

  '((headline \"IMPORTANT\")
(category \"Work\"))

will only add headlines containing IMPORTANT or headlines
belonging to the category \"Work\"."
  (interactive "P")
  (require 'org)
  (require 'calendar)
  (if (equal filter '(4))
  (setq filter (read-from-minibuffer "Regexp filter: ")))
  (let* ((cnt 0) ; count added events
 (today (org-date-to-gregorian 
 (time-to-days (current-time
 (files org-agenda-files) entries file)
;; Get all entries which may contain an appt
(while (setq file (pop files))
  (setq entries 
(append entries 
(org-agenda-get-day-entries 
 file today 
 :timestamp :scheduled :deadline
(setq entries (delq nil entries))
;; Map thru entries and find if they pass thru the filter
(mapc 
 (lambda(x)
   (let* ((evt (org-trim (get-text-property 1 'txt x)))
  (cat (get-text-property 1 'org-category x))
  (tod (get-text-property 1 'time-of-day x))
  (ok (or (null filter)
  (and (stringp filter) (string-match filter evt))
  (and (listp filter)
   (or (string-match 
(cadr (assoc 'category filter)) cat)
   (string-match 
(cadr (assoc 'headline filter)) evt))
 ;; FIXME Shall we remove text-properties for the appt text?
 ;; (setq evt (set-text-properties 0 (length evt) nil evt))
 (when (and ok tod)
   (setq tod (number-to-string tod)
 tod (when (string-match 
"\\([0-9]\\{1,2\\}\\)\\([0-9]\\{2\\}\\)" tod)
   (concat (match-string 1 tod) ":"
   (match-string 2 tod
   (appt-add tod evt)
   (setq cnt (1+ cnt) entries)
(message "Added %d event%s for today" cnt (if (> cnt 1) "s" ""

-- 
Bastien


___
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