[Orgmode] Bug if `org-refile-use-outline-path' is set to 'file

2009-04-01 Thread Tassilo Horn
Hi all,

the docs state:

,[ C-h v org-refile-use-outline-path RET ]
| org-refile-use-outline-path is a variable defined in `org.el'.
| Its value is t
| 
| Documentation:
| Non-nil means, provide refile targets as paths.
| So a level 3 headline will be available as level1/level2/level3.
| When the value is `file', also include the file name (without directory)
| into the path.  When `full-file-path', include the full file path.
`

With the current setting t I get completions like

 head1/head2 (file1.org)

which is nice, but I'd prefer

 file1.org/head1/head2

To me the docs sound like 'file would do that and the customize option
strengthen this by saying Start with file.  Unfortunately, then I get
completions like

 file1.org/ (file1.org)

with no headlines at all.

I'm using a current git version on Emacs 23.

Bye,
Tassilo



___
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] web publishing

2009-04-01 Thread Jörg Hagmann

Hi,

I have a website and would like to change to an org -- html procedure. 
Since the information I found in the manual and on worg are not 
sufficient (for me!), could somebody send me the *.org file for either 
the org or the worg website (index)? Together with the source code of 
the page and the *.css file, which I have downloaded, I should be able 
to figure out how to do it.


Thank you very much, Jörg


___
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] Announcing hideshow-org.el

2009-04-01 Thread Shane Celis

Hello fellow org-mode users,

Using org-mode has made some things for me intolerable.  I watched  
Carsten Dominik's talk at google where he articulated his desire for a  
simple interface for folding and unfolding.  I became very unhappy  
with the hideshow.el interface for hiding and showing code.  I don't  
know how anyone can bother to use these key bindings.


;;   hs-hide-block   C-c @ C-h or C-c S-2 C-h   (C-c C-2 C-h  
would be an improvement)

;;   hs-show-block   C-c @ C-s or C-c S-2 C-h

I endeavored to make hideshow.el work more like org-mode and created  
my extension hideshow-org.el.  Now TAB hides and shows code blocks  
when no indentation is necessary, but indents otherwise.  So for those  
of you who work a lot on code, I encourage you to give it a try.  The  
code and a little screencast that shows it in action is available here:


http://gnufool.blogspot.com/2009/03/make-hideshow-behave-more-like-org-mode.html

Thanks again for org-mode.  It's fundamentally changed the way I  
relate with emacs.


-Shane


___
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] Fix for org-agenda-cleanup-fancy-diary

2009-04-01 Thread Erik Hetzner
Hi all -

Thanks for the software. I am finally sending in this patch, as I have
gotten tired of patching with each release!

This fixes a problem I have with diary entries displaying very long
information in my schedule. I have diary entries imported from ical
format which have multiple paragraphs of descriptive information.

Of course, perhaps there are people who want the long display, so
maybe it should be an option?

best,
Erik Hetzner

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 79434bd..60805cf 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3385,7 +3385,7 @@ date.  It also removes lines that contain only 
whitespace.
 (re-search-forward \n=+$ nil t)
 (delete-region (point-min) (min (point-max) (1+ (match-end 0)
   (goto-char (point-min))
-  (while (re-search-forward ^ +\n nil t)
+  (while (re-search-forward ^ .*\n nil t)
 (replace-match ))
   (goto-char (point-min))
   (if (re-search-forward ^Org-mode dummy\n? nil t)
;; Erik Hetzner, California Digital Library
;; gnupg key id: 1024D/01DB07E3


pgpg3V854mK9G.pgp
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] Announcing hideshow-org.el

2009-04-01 Thread Carsten Dominik


On Mar 31, 2009, at 8:10 AM, Shane Celis wrote:


Hello fellow org-mode users,

Using org-mode has made some things for me intolerable.  I watched  
Carsten Dominik's talk at google where he articulated his desire for  
a simple interface for folding and unfolding.  I became very unhappy  
with the hideshow.el interface for hiding and showing code.  I don't  
know how anyone can bother to use these key bindings.


;;   hs-hide-block   C-c @ C-h or C-c S-2 C-h   (C-c C-2 C-h  
would be an improvement)

;;   hs-show-block   C-c @ C-s or C-c S-2 C-h



Wow, these would have made good examples for my talk.  Disastrous keys,
invalidating the entire point of folding.

I endeavored to make hideshow.el work more like org-mode and created  
my extension hideshow-org.el.  Now TAB hides and shows code blocks  
when no indentation is necessary, but indents otherwise.  So for  
those of you who work a lot on code, I encourage you to give it a  
try.  The code and a little screencast that shows it in action is  
available here:


http://gnufool.blogspot.com/2009/03/make-hideshow-behave-more-like-org-mode.html



This looks like a huge improvement.  Congratulations, maybe you should
talk to Thien-Thi and Dan, if they are interested to incorporate this
into hideshow as an option.

- Carsten



Thanks again for org-mode.  It's fundamentally changed the way I  
relate with emacs.


-Shane


___
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] web publishing

2009-04-01 Thread Manish
  On Wed, Apr 1, 2009 at 1:58 PM, Jörg Hagmann wrote:
   Hi,
  
   I have a website and would like to change to an org -- html
   procedure.  Since the information I found in the manual and on worg
   are not sufficient (for me!), could somebody send me the *.org file
   for either the org or the worg website (index)? Together with the
   source code of the page and the *.css file, which I have downloaded,
   I should be able to figure out how to do it.

You could clone Worg or Org mode from repo.or.cz and get all that you
are asking for.  Matthew Lundin and Charles Cave also shared their CSS
files recently.  You can also some find some related useful ideas on
Worg.

HTH
-- 
Manish


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


Re: [Orgmode] web publishing

2009-04-01 Thread Sebastian Rose


You may pull the whole Worg site from repo_or_cz:

http://repo.or.cz/w/Worg.git


Regards,

   Sebastian

Jörg Hagmann joerg.hagm...@unibas.ch writes:
 Hi,

 I have a website and would like to change to an org -- html procedure. Since
 the information I found in the manual and on worg are not sufficient (for 
 me!),
 could somebody send me the *.org file for either the org or the worg website
 (index)? Together with the source code of the page and the *.css file, which I
 have downloaded, I should be able to figure out how to do it.

 Thank you very much, Jörg


 ___
 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] embedded/inherited tags

2009-04-01 Thread Carsten Dominik


On Apr 1, 2009, at 1:43 AM, Konstantin Antipin wrote:


Samuel - Your solution is probably more elegant. Then I will wait for
search with lisp syntax functionality, and so far just use my code.


That would mean waiting a long time.  The discussion about the
lisp search was a long time ago, and nothing has happened.

Did I really say I was going to make this, Samuel?

- Carsten



K

On Wed, Apr 1, 2009 at 12:15 AM, Samuel Wales samolog...@gmail.com  
wrote:
Another possibility is to use your assoc tags and fix it on the  
search

side.  If you always have a custom search, you can use `( ... ,( ...
)) when you define it.

Then you only need one tag on each task.  The advantage of this is
that if the associations change, you will not need to change the  
tags.


Currently this requires concatenating strings, but in the future,
according to Carsten, there will be optional Lisp syntax for  
searches,

which will make it easier.  It might also allow stuff not currently
possible.

On 2009-03-31, Konstantin Antipin  
antipin.konstan...@googlemail.com wrote:
Peter Jones - thanks for the advise. Unfortunately it does not fit  
to

me, since I have my todo items in different files.

Eraldo - I was also thinking about this, but I thought that maybe
solution already exists...

Anyhow, for my it is fixed - I wrote a small package org-assoc-tags,
that allows to have key-tag and associated tags. For example:

(setq org-assoc-tags '(
 (emacs tech)
 (orgmode emacs tech)
 ))

If you assign :emacs: tag, then :tech: will be assigned  
automatically.
If you assign :orgmode: tag, then both :emacs: and :tech: will be  
assigned.

The package can be found at:
http://www.emacswiki.org/emacs/org-assoc-tags.el

Hopefully it might be helpful for someone,
Kostya

On Mon, Mar 30, 2009 at 6:25 PM, Eraldo Helal ad...@eraldo.at  
wrote:


Hi Kostya!

I am still pretty new to emacs and org-mode, but from what I have  
read

until now...
Could you use the tag hook to automatically assign the :tech: tag  
along

with :firefox: and|or :emacs: etc...
This is still not exactly what you wished afaics, but it may make  
things a

little more convenient.

On Mon, Mar 30, 2009 at 16:47, Konstantin Antipin
antipin.konstan...@googlemail.com wrote:


Hi,

Manish - thank you for the reply.

Here is what I want in details:
For example, I have following  
tags :tech: :firefox: :emacs: :orgmode:
In agenda I usually ask only for TODO with :tech: tags, in order  
to see

actions, related to technical stuff.

clearly, :firefox: and :emacs: are related to :tech: tag. It  
would be

convenient to introduce tag hierarchy:
every todo-item with :emacs: (or :firefox: ) tag only should  
show up in

agenda, when I query for :tech: tag.
I understand, that every time I assign :emacs: tag I can  
assign :tech:

tag as well, and this will do the work, but it is not convenient.


Is such mechanism exists?

My todo's are scatterd over the files, thus I can not use usual  
tag
hierarchy, that is controlled by, for example, org-use-tag- 
inheritance.


thanks,
Kostya

On Mon, Mar 30, 2009 at 1:09 PM, Manish mailtomanish.sha...@gmail.com 


wrote:


 On Sat, Mar 28, 2009 at 6:59 PM, Konstantin Antipin wrote:
  Dear org-users,
  Is there any way to make tags inherited from another tag?
  For example, I have following tags:
  :tech:
   :emacs:
:orgmode:
   :ubuntu:
 
  :other:

Could you please a little elaborate more on this?  Also please  
take a

look at variable org-use-tag-inheritance.

--
Manish



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






___
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




--
Myalgic encephalomyelitis denialism is causing death (decades early;
Jason et al. 2006) and severe suffering (worse than nearly all other
diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting
science.  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm




___
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] How to define TODOs within continuous text the best way?

2009-04-01 Thread Carsten Dominik


On Mar 31, 2009, at 9:53 PM, Daniel Clemente wrote:


El dl, mar 30 2009, Carsten Dominik va escriure:


I simply cannot believe that after all those years, we might be
able to close this task.


 Wow, that's wonderful! Thanks for a so easy solution.
 I was needing this functionality since a long time.



 About org-inlinetask-export:

,
| Documentation:
| What should be done with inlinetasks upon export?
| Possible values:
|
| nilRemove entirely
| arrow  Insert heading in bold, preceeded by an arrow
| arrow+content  Insert arrow and headline, add content below in an
|#+begin_example box (ugly, but works for now)
|
`

 Could you add that the „Remove entirely“ means „Remove entirely ...  
just the header (but not the content)“?



The content of an inline task is not the text up to the next heading,
it usually is empty.

However, I have implemented a hackers solution, so that you can do


* TODO my inline task
  DEADLINE...
  PROPERTIES...
  This is considered to be content of the
  inline task, up to this line:
* END


I will make this clearer in the docs, the file header of
org-inlinetask.el does describe this.

- Carsten




-- Daniel



___
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] embedded/inherited tags

2009-04-01 Thread Carsten Dominik
This is an interesting hack, and it does solve what Eraldo was asking  
for.


However, I also think that using the outline hierarchy to file things
properly, and in this way making use of the existing tag inheritance,
is a very good alternative, as described by Peter Jones and by Manish
earlier in this thread.

- Carsten

On Mar 31, 2009, at 11:25 PM, Konstantin Antipin wrote:


Peter Jones - thanks for the advise. Unfortunately it does not fit to
me, since I have my todo items in different files.

Eraldo - I was also thinking about this, but I thought that maybe
solution already exists...

Anyhow, for my it is fixed - I wrote a small package org-assoc-tags,
that allows to have key-tag and associated tags. For example:

(setq org-assoc-tags '(
   (emacs tech)
   (orgmode emacs tech)
   ))

If you assign :emacs: tag, then :tech: will be assigned automatically.
If you assign :orgmode: tag, then both :emacs: and :tech: will be  
assigned.

The package can be found at: http://www.emacswiki.org/emacs/org-assoc-tags.el

Hopefully it might be helpful for someone,
Kostya

On Mon, Mar 30, 2009 at 6:25 PM, Eraldo Helal ad...@eraldo.at wrote:


Hi Kostya!

I am still pretty new to emacs and org-mode, but from what I have  
read until now...
Could you use the tag hook to automatically assign the :tech: tag  
along with :firefox: and|or :emacs: etc...
This is still not exactly what you wished afaics, but it may make  
things a little more convenient.


On Mon, Mar 30, 2009 at 16:47, Konstantin Antipin antipin.konstan...@googlemail.com 
 wrote:


Hi,

Manish - thank you for the reply.

Here is what I want in details:
For example, I have following  
tags :tech: :firefox: :emacs: :orgmode:
In agenda I usually ask only for TODO with :tech: tags, in order  
to see actions, related to technical stuff.


clearly, :firefox: and :emacs: are related to :tech: tag. It would  
be convenient to introduce tag hierarchy:
every todo-item with :emacs: (or :firefox: ) tag only should show  
up in agenda, when I query for :tech: tag.
I understand, that every time I assign :emacs: tag I can  
assign :tech: tag as well, and this will do the work, but it is  
not convenient.



Is such mechanism exists?

My todo's are scatterd over the files, thus I can not use usual  
tag hierarchy, that is controlled by, for example, org-use-tag- 
inheritance.


thanks,
Kostya

On Mon, Mar 30, 2009 at 1:09 PM, Manish mailtomanish.sha...@gmail.com 
 wrote:


 On Sat, Mar 28, 2009 at 6:59 PM, Konstantin Antipin wrote:
  Dear org-users,
  Is there any way to make tags inherited from another tag?
  For example, I have following tags:
  :tech:
   :emacs:
:orgmode:
   :ubuntu:
 
  :other:

Could you please a little elaborate more on this?  Also please  
take a

look at variable org-use-tag-inheritance.

--
Manish



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






___
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] Fix for org-agenda-cleanup-fancy-diary

2009-04-01 Thread Manish
On Wed, Apr 1, 2009 at 1:58 AM, Erik Hetzner erik.hetz...@ucop.edu wrote:
 Hi all -

 Thanks for the software. I am finally sending in this patch, as I have
 gotten tired of patching with each release!

In case there are patches that does not help others or you want to keep
to yourself, do check out excellent entry titled How can I keep local
changes and still track Org mode development? by Bernt Hansen under
section titled Keeping current on Worg.

-- 
Manish


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


Re: [Orgmode] Fix for org-agenda-cleanup-fancy-diary

2009-04-01 Thread Carsten Dominik

Hi Erik,

can you show

- an example entry
- how it shows up in the agenda without your patch
- how it shows up with your patch

so that I am better able to understand what you are trying
to achieve with this patch?

- Carsten

On Mar 31, 2009, at 10:28 PM, Erik Hetzner wrote:


Hi all -

Thanks for the software. I am finally sending in this patch, as I have
gotten tired of patching with each release!

This fixes a problem I have with diary entries displaying very long
information in my schedule. I have diary entries imported from ical
format which have multiple paragraphs of descriptive information.

Of course, perhaps there are people who want the long display, so
maybe it should be an option?

best,
Erik Hetzner

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 79434bd..60805cf 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3385,7 +3385,7 @@ date.  It also removes lines that contain only  
whitespace.

(re-search-forward \n=+$ nil t)
(delete-region (point-min) (min (point-max) (1+ (match-end 0)
  (goto-char (point-min))
-  (while (re-search-forward ^ +\n nil t)
+  (while (re-search-forward ^ .*\n nil t)
(replace-match ))
  (goto-char (point-min))
  (if (re-search-forward ^Org-mode dummy\n? nil t)
;; Erik Hetzner, California Digital Library
;; gnupg key id: 1024D/01DB07E3
___
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] Jumping to a specific day in Agenda View

2009-04-01 Thread Sven Bretfeld
Hello all

I couldn't find that in the info file. Maybe mine is too old. Is there a
possibility to say 'jump to Oct 9th' in Agenda View? All I can find
is:

,Org info
| For example, `32 d' jumps to February 1st, `9 w' to ISO week number 9.
`

But I have not enough fingers to count which numerical day of the year
Oct 9th is or which ISO week number it belongs to. This interface cannot
be that clumsy, can it? Not in org-mode!

Greetings,

Sven
-- 
Sven Bretfeld
CERES -- CEntrum für REligionswissenschaftliche Studien
Ruhr-Universität Bochum 
Universitätsstraße 150 
D-44780 Bochum


___
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] Jumping to a specific day in Agenda View

2009-04-01 Thread Carsten Dominik


On Apr 1, 2009, at 1:37 PM, Sven Bretfeld wrote:


Hello all

I couldn't find that in the info file. Maybe mine is too old. Is  
there a

possibility to say 'jump to Oct 9th' in Agenda View? All I can find
is:

,Org info
| For example, `32 d' jumps to February 1st, `9 w' to ISO week  
number 9.

`

But I have not enough fingers to count which numerical day of the year
Oct 9th is or which ISO week number it belongs to. This interface  
cannot

be that clumsy, can it? Not in org-mode!


What is the first letter of the word jumping?

- 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 if `org-refile-use-outline-path' is set to 'file

2009-04-01 Thread Eraldo Helal
Hi Tassilo!

I am having the same problem.
I understood the manual it in the same way you did.

I also found out, that if I enter file as the value for that variable...
and then check again what is assigned to it... it shows the path to my
.emacs file!
In other words... it interpretes file as the file I am in when customizing,
instead of the word file.
If I set it to file = I get the same as if set to t ...I think that is
the same problem you have.

Greetings,
Eraldo

On Wed, Apr 1, 2009 at 09:56, Tassilo Horn tass...@member.fsf.org wrote:

 Hi all,

 the docs state:

 ,[ C-h v org-refile-use-outline-path RET ]
 | org-refile-use-outline-path is a variable defined in `org.el'.
 | Its value is t
 |
 | Documentation:
 | Non-nil means, provide refile targets as paths.
 | So a level 3 headline will be available as level1/level2/level3.
 | When the value is `file', also include the file name (without directory)
 | into the path.  When `full-file-path', include the full file path.
 `

 With the current setting t I get completions like

 head1/head2 (file1.org)

 which is nice, but I'd prefer

 file1.org/head1/head2

 To me the docs sound like 'file would do that and the customize option
 strengthen this by saying Start with file.  Unfortunately, then I get
 completions like

 file1.org/ (file1.org)

 with no headlines at all.

 I'm using a current git version on Emacs 23.

 Bye,
 Tassilo



 ___
 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 if `org-refile-use-outline-path' is set to 'file

2009-04-01 Thread Tassilo Horn
Eraldo Helal ad...@eraldo.at writes:

Hi Eraldo,

 I am having the same problem.
 I understood the manual it in the same way you did.

 I also found out, that if I enter file as the value for that
 variable...  and then check again what is assigned to it... it shows
 the path to my .emacs file!

How do you set it?  With M-x set-variable RET ..., or with M-: (setq
...)?  In each case you have to quote file, e.g. say 'file.

Bye,
Tassilo
-- 
Some people  wear Linus Torvalds  pyjama's to bed, Linus  Torvalds wears
RMS pyjama'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


Re: [Orgmode] Clocking work time with a date not a time only

2009-04-01 Thread Giovanni Ridolfi

--- Mar 31/3/09, Jan Buchal buc...@brailcom.org ha scritto:
 I use Clocking work time function for a logging my work.
 With keys C-c C-x
 C-i I start a clocking and with C-c C-x C-o I finish my
 clocking. the
 function put something like:
 
   CLOCK: [2009-03-30 Po 11:00]--[2009-03-30 Po 11:38]
 =  0:38
 
 and then I use the dynamic region for summary of my all
 times. But I
 would like have in a table not a times but a dates too. Is
 it any way?
 the table can seams for example so:
 
 #+BEGIN: clocktable :maxlevel 2 :scope file
 Clock summary at [2009-03-31 Út 15:21]
 
 | L | Headline | Time   |
 |---+--+|
 |   | *Total time*         | *0:38* |
 |---+--+|
 | 1 | project one:  | 2009-03-31 0:38   |
 #+END:
 
 Also not a time only but date plus time. Is it possible?
 

Jan, 2 suggestions:

1.  how about using date in the *headline itself?*:

test.org---
* [2009-04-01 mer] time
** 1st task
   CLOCK: [2009-04-01 mer 15:20]--[2009-04-01 mer 15:28] =  0:08
** 2nd task
   CLOCK: [2009-04-01 mer 15:18]--[2009-04-01 mer 15:28] =  0:10

#+BEGIN: clocktable :maxlevel 2 :scope file
Clock summary at [2009-04-01 mer 15:29]
| L | Headline   |Time |   |
|---++-+---|
|   | *Total time*   | *33:33* |   |
|---++-+---|
| 1 | [2009-04-01 mer] time  |0:18 |   |
| 2 | 1st task   | |  0:08 |
| 2 | 2nd task   | |  0:10 |
|---++-+---|
#+END:

2. exploit properties 
-test2.org--
* [2009-04-01 mer] time
:PROPERTIES:
:COLUMNS:%Heading %Date %CLOCKSUM
:END:
** 1s task
:PROPERTIES:
:ID: task
:Heading: 1s Task
:Date: [2009-04-01 mer]
   CLOCK: [2009-04-01 mer 15:20]--[2009-04-01 mer 15:28] =  0:08
:END:
** 2nd task
:PROPERTIES:
:ID: task
:Heading: 2nd task
   :Date:  [2009-01-28 mer]
   CLOCK: [2009-04-01 mer 15:18]--[2009-04-01 mer 15:28] =  0:10
:END:
#+BEGIN: columnview :hlines 1 :id task
| Heading  | Date | CLOCKSUM |
|--+--+--|
|  |  | 0:18 |
| 1st task | [2009-04-01 mer] | 0:08 |
| 2nd task | [2009-01-28 mer] | 0:10 |
#+END:
---

Carsten, is it possible to have, as a special property, 
the value of the headline ?
.. shouldn't be complicated, it's already extracted 
for clocktables.. ;-)

cheers,
Giovanni






___
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 if `org-refile-use-outline-path' is set to 'file

2009-04-01 Thread Carsten Dominik

Hi Tassilo,

There are two things to this.

First, there was a bug (now fixed) which caused the file name to show  
up twice, both as part of the outline path, and then behind it in  
parenthesis.


Fixed now.

The second part of the story is that you have org-outline-path- 
complete-in-steps
set to t, which means that the first headline level will only show up  
when you have completed the file name.


HTH.

- Carsten

On Apr 1, 2009, at 9:56 AM, Tassilo Horn wrote:


Hi all,

the docs state:

,[ C-h v org-refile-use-outline-path RET ]
| org-refile-use-outline-path is a variable defined in `org.el'.
| Its value is t
|
| Documentation:
| Non-nil means, provide refile targets as paths.
| So a level 3 headline will be available as level1/level2/level3.
| When the value is `file', also include the file name (without  
directory)

| into the path.  When `full-file-path', include the full file path.
`

With the current setting t I get completions like

head1/head2 (file1.org)

which is nice, but I'd prefer

file1.org/head1/head2

To me the docs sound like 'file would do that and the customize option
strengthen this by saying Start with file.  Unfortunately, then I  
get

completions like

file1.org/ (file1.org)

with no headlines at all.

I'm using a current git version on Emacs 23.

Bye,
Tassilo



___
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] Release 6.25

2009-04-01 Thread Carsten Dominik

Dear all,

I am releasing version 6.25 of Emacs Org-mode.  It has been
almost a month, and I feel that this release is really packed
with good stuff, so please read the release notes carefully.

Enjoy!

- Carsten

Changes in Version 6.25


Major new features
~~~

DocBook export
===

We now do have a fully functional DocBook exporter, contributed by
Baoqiu Cui.  Simple press `C-c e D' to export the current file to
DocBook format.  You can also get direct conversion to PDF if you have
made the correct setup, please see the manual for details.

Kudos to Baoqiu for this fantastic addition, and my personal thanks
for doing this in a such a smooth way that I did not have to do
anything myself.

Protocols for external access to Emacs and Org
===

/org-protocol.el/ is a new module that supersedes both
/org-annotation-helper.el/ and /org-browser.el/ and replaces them
with a more abstracted interface.  /org-protocol/ intercepts
calls from emacsclient to trigger custom actions without external
dependencies.  Only one protocol has to be configured with your
external applications or the operating system, to trigger an
arbitrary number of custom actions. Just register your custom
sub-protocol and handler with the new variable
`org-protocol-protocol-alist'.

org-protocol comes the with three standard protocol handlers (in
parenthesis the name of the sub-protocol):
`org-protocol-remember' (`remember'): Trigger remember
`org-protocol-store-link' (`store-link'): Store a link
`org-protocol-open-source' (`open-source'): Find the local
 source of a remote web page.

Passing data to emacs is now as easy as calling

emacsclient org-protocol://sub-protocol://data

For more information see the [online documentation]

Thanks to Sebastian Rose for this really beautiful module.

[online documentation]: http://orgmode.org/worg/org-contrib/org-protocol.php

Inline tasks
=

Inline tasks are tasks that have all the properties of normal
outline nodes, including the ability to store meta data like
scheduling dates, TODO state, tags and properties.  But these
tasks are not meant to introduce additional outline structure, at
least as far as visibility cycling and export is concerned.  They
are useful for adding tasks in extensive pieces of text where
interruption of the flow or restructuring is unwanted.

This feature is not turned on by default, you need to configure
`org-modules' to turn it on, or simply add to you .emacs file:

(require 'org-inlinetask)

After that, tasks with level 15 (30 stars when using
org-odd-levels-only) will be treated as inline tasks, and
fontification will make obvious which tasks are treated in this
way.

Input from RSS feeds
=

Org can now collect tasks from an RSS feed, a great method to get
stuff from online call and note-taking services into your trusted
system.  You need to configure the feeds in the variable
`org-feed-alist'.  The manual contains a short description, more
detailed information is [available on Worg].

Full credit goes to Brad Bozarth who really [paved the way] for this
exciting new feature.

[available on Worg]: http://orgmode.org/worg/org-contrib/org-feed.php
[paved the way]: http://thread.gmane.org/gmane.emacs.orgmode/12251

Export
~~~

Allow modification of table attributes in HTML export
==

The #+ATTR_HTML line can now be used to set attributes for a
table.  Attributes listed in that line will replace existing
attributes in `org-export-html-table-tag', or will add new ones.
For example

#+ATTR_HTML: border=2 rules=all frame=all
#+CAPTION: Finally a table with lines!
| a | b |
|---|---|
| 1 | 2 |

LaTeX low levels are now exported as itemize lists
===

LaTeX export now treats hierarchy levels 4,5, etc as itemize
lists, not as description lists as before.  This is more
consistent with the behavior of HTML export.  You can configure
this behavior using the variable `org-export-latex-low-levels'.

Markup for centering.
==

Text can be exported centered with

  #+BEGIN_CENTER
  Everything should be made as simple as possible,
  but not any simpler
  #+END_CENTER


Sitemap file is now /sitemap.org/
==

Org-publish can produce a list of all files in a project.
Previously the file containing this list was called index.org,
really a brain-dead default because during publication it would
overwrite the index.html file of the website.

The default file name is now sitemap.org

Protect explicit target links in HTML export
=

If a link is `[[#name] [desc]]', the href produced when exporting
the file will be exactly href=#name.  So starting a link target
with # will indicate that there will be an explicit target for
this.

HTML export: Allow - ___ to explicitly terminate a 

[Orgmode] Re: Release 6.25

2009-04-01 Thread Leo
On 2009-04-01 15:12 +0100, Carsten Dominik wrote:
 I am releasing version 6.25 of Emacs Org-mode. It has been almost a
 month, and I feel that this release is really packed with good stuff,
 so please read the release notes carefully.

Thank you, Carsten, for the excellent work.

Wonder whether it may be possible to push this into Emacs 23.1.

Regards,
-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.



___
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: Release 6.25

2009-04-01 Thread Carsten Dominik


On Apr 1, 2009, at 4:35 PM, Leo wrote:


On 2009-04-01 15:12 +0100, Carsten Dominik wrote:

I am releasing version 6.25 of Emacs Org-mode. It has been almost a
month, and I feel that this release is really packed with good stuff,
so please read the release notes carefully.


Thank you, Carsten, for the excellent work.

Wonder whether it may be possible to push this into Emacs 23.1.


No.  I have asked a few week ago, and the answer was that at this  
stage only bug fixes should go in.  I find it hard to separate these  
from all the other development, so only severe bugs I fix in the Emacs  
version.


There are also issues that I do not yet have all the copyright  
assignments for 6.25.


- 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


[Orgmode] Re: Bug if `org-refile-use-outline-path' is set to 'file

2009-04-01 Thread Tassilo Horn
Carsten Dominik carsten.domi...@gmail.com writes:

Hi Carsten,

 There are two things to this.

 First, there was a bug (now fixed) which caused the file name to show
 up twice, both as part of the outline path, and then behind it in
 parenthesis.

 Fixed now.

Great!

 The second part of the story is that you have
 org-outline-path-complete-in-steps set to t, which means that the
 first headline level will only show up when you have completed the
 file name.

Ok, I've set it to nil now, and the completion buffer now shows

file.org/head1/head2

as I like it.  Great!

With this step-wise completion I only get file.org/ but I cannot select
it.  Completing to file.org/ and hitting RET causes a short flickering,
but no new completion possibilities, e.g. the headlines in file.org.

Anyway, I like the way it works now.

Thanks a lot, Carsten!
Tassilo
-- 
Richard Stallman can touch MC Hammer



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


[Orgmode] Problem with org-mac-message.el

2009-04-01 Thread Ed Hirgelt
I've found that org-mac-message-get-link has a problem inserting [[]]  
as the first item.


The following change makes it better...

diff --git a/lisp/org-mac-message.el b/lisp/org-mac-message.el
index 4e10062..e8697c4 100644
--- a/lisp/org-mac-message.el
+++ b/lisp/org-mac-message.el
@@ -119,7 +119,7 @@ active mail in AppleMail and make a link out of it.
(setq split-link (split-string (pop link-list) ::split::))
(setq URL (car split-link))
(setq description (cadr split-link))
-   (if (not (string= URL ))
+   (if (not (string= URL \))
(progn
  (setq orglink (org-make-link-string URL description))
  (push orglink orglink-list)


Thanks,
Ed




___
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] [ANN] org-fstree 0.2

2009-04-01 Thread Andreas Burtzlaff

  I'm looking for a better way to display those links and possibly also
  the content of the headings and am happy to receive new ideas. I  
  tried the
  column view, but properties that contain links are displayed as text.
 
 But you can nonetheless open them with C-c C-o when on the right field.

Hm, that works for links to files, but strangely it doesn't for links to 
headings in 6.25:

* Target

* Test 
 :PROPERTIES:
 :COLUMNS:  %40ITEM %Link1 %Link2
 :END:


** Test Heading
  :PROPERTIES:
  :Link1: [[* Target]]
  :END:

** Test File
  :PROPERTIES:
  :Link1: [[file:somewhere]]
  :END:

Andreas


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


[Orgmode] org-mode remember and plain text backend

2009-04-01 Thread Alexander
Hi,

Thanks for org-mode. I've tried any number of organization tools and
org-mode just might be the one...

I just switched to emacs (because of org-mode) from another well-known
editor, and I'm trying to take baby steps. What I would like to be
able to do is to have a remember template that allows me to write a
remind reminder to my reminders file.

I realize that there is a script to translate org-mode to remind, and
that there is an emacs-based solution, but for now I just want to be
able to quickly write to my remind file. I've figured out that there
are different backends to remember, but can I use these with
org-remember?

I can't get the org-remember template to write to a non-org-mode file.

these are my settings:

;; For remember
(org-remember-insinuate)
(setq org-directory ~/start/admin/org/)
(setq org-default-notes-file (concat org-directory /tasks.org))
(define-key global-map \C-\M-r 'org-remember)

(setq org-remember-templates
  '((Task ?t * TODO %? %i\n nil Tasks)
(Idea ?i * %^{Title}\n %i\n %t ideas.org Ideas)
(Reading ?r * TODO %? %i\n %a readings.org Readings)
(Reminder ?m REM %^t AT %^{Time} DURATION %^{Duration} MSG %i\n
~/start/code/dotfiles/.reminders)
))


Best regards,

Alexander


___
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] shifting table cells

2009-04-01 Thread Mike Newman
kill-rectangle (C-x r k) and yank-rectangle (C-x r y) can be very
useful for this sort of thing.

On Tue, 31 Mar 2009 15:35:03 +0100
n...@aleblanc.cotse.net wrote:

 Hi,
is there any way to shift cells up/down within a column while
 leaving remaining columns intact. If not could someone point me in
 the right direction to any org-functions I could use to help me
 implement this?
 


___
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] embedded/inherited tags

2009-04-01 Thread Samuel Wales
Hi Carsten,

On 2009-04-01, Carsten Dominik carsten.domi...@gmail.com wrote:
 Did I really say I was going to make this, Samuel?

I'll let you decide.  :)

Carsten earlier wrote:
  - Your proposal to use lisp syntax for agenda queries
(Sep 16) is high on my todo list and not forgotten.
Something I do want, but have not gotten around to.
-- from 77a37195-6e8e-4bee-a05d-14b89a749...@uva.nl ,
   which has a few other items also.

Did I misinterpret?  Of course, I will not hold you to it
either way.  :) It seemed to me when I wrote to Konstantin
that the feature could be expected to happen at some point.
In any case, please accept my apology if that is a
misinterpretation, since I don't want to put words in your
mouth!

I described some of the benefits of the optional Lisp syntax
in
20524da70809152215y55dccdd3sd62d299b893ce...@mail.gmail.com
Re: Searching for tags or todo keywords.  It's not a
critical feature, but it seems likely to solve the problem
in that thread (IIRC), and also help Konstantin a bit.  I
would find it easy to use.

However, the solution that I proposed to Konstantin can use
existing search syntax if he desires.

Hope that helps.

-- 
Myalgic encephalomyelitis denialism is causing death (decades early;
Jason et al. 2006) and severe suffering (worse than nearly all other
diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting
science.  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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] Announcing hideshow-org.el

2009-04-01 Thread Shane Celis

On Apr 1, 2009, at 1:41 AM, Carsten Dominik wrote:

This looks like a huge improvement.  Congratulations, maybe you should
talk to Thien-Thi and Dan, if they are interested to incorporate this
into hideshow as an option.


Thank you very much for the kind words.  I'd be happy to suggest the  
idea after I've spent some more time with the code and the majority of  
its kinks have surfaced.  :)


-Shane


___
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] [ANN] org-crypt version 0.2

2009-04-01 Thread Peter Jones
Attached is version 0.2 of John Wiegley's org-crypt.el.

Changes:

  - Headings to encrypt/decrypt are now selected with a tags matcher,
which defaults to crypt.  This means that all headings tagged
crypt will be candidates for encryption/decryption.

  - The encryption key can be set via the `org-crypt-key' variable, or
by setting the CRYPTKEY property.

  - The entire contents of a heading will be encrypted, including
drawers.

  - New `org-decrypt-entries' function.

The org-crypt.el file contains some instructions, some customizable
variables, and a to-do list.

Carsten: after encrypting a folded headline, the new contents of the
heading won't be folded, but the headline will still appear to be
folded.  For example:

* Before...
* After...---BEGIN PGP MESSAGE-
lkafjd;alkfjd;alfjd;ljf
and so on

Please point me in the right direction for resolving this.  Thank you.

Of course, feedback is welcome.  A HUGE thanks to Carsten and John.



org-crypt.el
Description: application/emacs-lisp

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US
___
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] [ANN] org-crypt version 0.2

2009-04-01 Thread Carsten Dominik

Hi Peter,

I am a first time pgp/epg/epa user, so I need more guidance.

I have created a key with

   gpg --gen-key

Now when I do

 M-x epa-list-keys

I indeed see a line like

 u some-random-letters my name (comment) email

What exactly must I put into the variable or property for Org?

Thanks.

- Carsten


On Apr 2, 2009, at 5:19 AM, Peter Jones wrote:


Attached is version 0.2 of John Wiegley's org-crypt.el.

Changes:

 - Headings to encrypt/decrypt are now selected with a tags matcher,
   which defaults to crypt.  This means that all headings tagged
   crypt will be candidates for encryption/decryption.

 - The encryption key can be set via the `org-crypt-key' variable, or
   by setting the CRYPTKEY property.

 - The entire contents of a heading will be encrypted, including
   drawers.

 - New `org-decrypt-entries' function.

The org-crypt.el file contains some instructions, some customizable
variables, and a to-do list.

Carsten: after encrypting a folded headline, the new contents of the
heading won't be folded, but the headline will still appear to be
folded.  For example:

* Before...
* After...---BEGIN PGP MESSAGE-
lkafjd;alkfjd;alfjd;ljf
and so on

Please point me in the right direction for resolving this.  Thank you.

Of course, feedback is welcome.  A HUGE thanks to Carsten and John.

org-crypt.el
--
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




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


Re: [Orgmode] footnote bug

2009-04-01 Thread Samuel Wales
Hi Carsten,

I figured that you had already optimized the agenda quite a lot and
that there probably wasn't much that could be done, so I suggested the
only thing that seemed like it might be fast and would not be too
brittle.  I didn't realize the code would need to be rewritten.

For me, everything in the agenda is slow that requires refreshing or
creating a view.  I don't know how to be more specific.


On 2009-03-30, Carsten Dominik carsten.domi...@gmail.com wrote:
 Hi Samuel,

 caching stuff for the agenda would mean rewriting the agenda code.

 Do you have more detailed pointers what operations exactly are slow?
 Maybe we can profile and improve these without resorting to cacheing.

 - Carsten

 On Mar 26, 2009, at 9:21 PM, Samuel Wales wrote:

 The following source produces the following output.

 * sorting speed
 The agenda is wonderful for other stuff, but for me it is
 not an editing mode per se.  I have never been able to use
 the agenda for full control over the org file, as some
 people are able to do.  For me (at least on my computer) it
 is slow.

 What is slow.  Maybe we can improve things?

 You could use cached values for agenda files whose last
 update time is earlier than the last agenda scan.  That
 could lead to significant speedups for people who have
 several agenda files.[fn:15]

 [fn:15] It wouldn't help with people who have a single
 agenda file, and it wouldn't help with people who very
 frequently use all of their agenda files.  For those use
 cases, something much more complicated and brittle would
 probably be necessary


 Output:

 You could use cached values for agenda files whose last
 update time is earlier than the last agenda scan.  That
 could lead to significant speedups for people who have
 several agenda files.[1]
 [fn:15] It wouldn't help with people who have a single
 agenda file, and it wouldn't help with people who very
 frequently use all of their agenda files.  For those use
 cases, something much more complicated and brittle would
 probably be necessary
 [1] [fn:15]

 --
 Myalgic encephalomyelitis denialism is causing death (decades early;
 Jason et al. 2006) and severe suffering (worse than nearly all other
 diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting
 science.  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


 ___
 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




-- 
Myalgic encephalomyelitis denialism is causing death (decades early;
Jason et al. 2006) and severe suffering (worse than nearly all other
diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting
science.  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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