[Orgmode] agenda for past month

2008-11-11 Thread Detlef Steuer
Hi there!

I feel there must be an easy way to do it, but I can't find out how:

Is it possible to get an agenda, say for the last month (week), which shows
the old appointments and done tasks for that period of time?

What chapter of the fine manual leads me in the right direction?
Or, how do you handle a task like What *exactly* was my schedule on day XY?

Thank you very much for your help!

detlef 



___
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


R: [Orgmode] Problems with iCalendar export of my Calendar

2008-11-11 Thread Giovanni Ridolfi
--- Mar 11/11/08, Georg C. F. Greve [EMAIL PROTECTED] ha scritto:
 I still have problems when trying to
 share my information with others or other devices --
 especially in terms  of Calendar entries.
 
 Below I have attached a (real) example of my trip to FSCONS
 in Sweden in Org mode format. In agenda view, I see the 
 following:
 
 Friday  7 December 2007
  example: 10:40.. Flight SK 602 Zurich to
 Copenhagen --[2007-12-07 Fri 12:25]
  example: 14:10.. Flight SK 438 Copenhagen to
 Gothenburg --[2007-12-07 Fri 14:55]
  example: Gothenburg, Sweden --[2007-12-09 Sun]
  example: FSCONS conference --[2007-12-08 Sat]
 Saturday8 December 2007
  example: 17:15.. Speech at closing ceremony 
 Sunday  9 December 2007
  example: 15:30.. Flight SK 439 Gothenburg to
 Copenhagen --[2007-12-09 Sun 16:15]
  example: 17:40.. Flight SK 609 Copenhagen to
 Zurich --[2007-12-09 Sun 19:25]
 
 Note how I am using the inactive tags to delimit periods,
 which makes sure that things covering more than one 
 day (e.g. being in a city, or a conference) only show up 
 on their first day with information on when they'll end.
 This is pretty much how I like it.

Well, don't you like the default org-mode:
with the number of days (1/3)  ?
[abba.org is the name of the file where I copied your setup]

Agenda view-
Week-agenda (W49):
Monday  3 December 2007 W49
Tuesday 4 December 2007
Wednesday   5 December 2007
Thursday6 December 2007
Friday  7 December 2007
  abba:   10:40-12:25 Flight SK 602 Zurich to Copenhagen 
  abba:   14:10-14:55 Flight SK 438 Copenhagen to Gothenburg 
  abba:   (1/3):  Gothenburg, Sweden 
^

  abba:   (1/2):  FSCONS conference
Saturday8 December 2007
  abba:   17:15.. Speech at closing ceremony
  abba:   (2/3):  Gothenburg, Sweden 
  abba:   (2/2):  FSCONS conference
Sunday  9 December 2007
  abba:   15:30-16:15 Flight SK 439 Gothenburg to Copenhagen
  abba:   17:40-19:25 Flight SK 609 Copenhagen to Zurich
  abba:   (3/3):  Gothenburg, Sweden 
---
 
 Now I want to share this with another application or
 device, and do an export to iCalendar. 
[...]
 they are not necessarily what one would call bugs of 
 Org Mode, but rather issues resulting from the way
 the file is structured.
[...]
 The question at hand is: How to improve the structure of
 the file,

I think your org file should be structured better
exploiting the :PROPERTIES: 

-- abba.org.---
-*- mode: org; -*-
* Gothenburg, Sweden 
:PROPERTIES:
CLOCK:   2007-12-07 Fri--2007-12-09 Sun
:DESCRIPTION:  FSCONS conference  trip
:END:
** Flight SK 602 Zurich to Copenhagen 
CLOCK: 2007-12-07 Fri 10:40--2007-12-07 Fri 12:25
** Flight SK 438 Copenhagen to Gothenburg 
CLOCK: 2007-12-07 Fri 14:10--2007-12-07 Fri 14:55
** Taxi waiting at airport arrival gate in Gothenburg
** FSCONS conference
:PROPERTIES:
CLOCK: 2007-12-07 Fr--2007-12-08 Sat
:LOCATION: Accomodation: Hotel Riverton  Stora Badhusgatan 26   411 21 
Goteborg, Sverige  Telefon+46 31 750 10 00   Fax+46(31)7501001
:END:
** Speech at closing ceremony
CLOCK:  2007-12-08 Sat 17:15
** Flight SK 439 Gothenburg to Copenhagen
CLOCK:  2007-12-09 Sun 15:30--2007-12-09 Sun 16:15
** Flight SK 609 Copenhagen to Zurich
CLOCK:  2007-12-09 Sun 17:40--2007-12-09 Sun 19:25
---

this file produces a correct iCal output (uploaded correctly 
to WebCal) (see attached file)

 can we put this into the documentation so users get an 
 idea of the canonical structure for calendars in Org Mode?

The documentation:

12.9 iCalendar export

appears quite clear to me:

The export will honor SUMMARY, DESCRIPTION and LOCATION 

   properties 
^

if the selected entries have them.  If not, the summary will be derived
from the headline, and the description from the body (limited to
`org-icalendar-include-body' characters). 


cheers,
Giovanni


  Unisciti alla community di Io fotografo e video, il nuovo corso di 
fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideoBEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:abba
PRODID:-//Giovanni Ridolfi//Emacs with Org-mode//EN
X-WR-TIMEZONE:+0100
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID: [EMAIL PROTECTED]
DTSTART;VALUE=DATE:20071207
DTEND;VALUE=DATE:20071210
SUMMARY:Gothenburg\, Sweden
DESCRIPTION: FSCONS conference  trip
CATEGORIES:abba
END:VEVENT
BEGIN:VEVENT
UID: [EMAIL PROTECTED]
DTSTART:20071207T104000
DTEND:20071207T122500
SUMMARY:Flight SK 602 Zurich to Copenhagen
CATEGORIES:abba
END:VEVENT
BEGIN:VEVENT
UID: [EMAIL PROTECTED]
DTSTART:20071207T141000
DTEND:20071207T145500
SUMMARY:Flight SK 438 Copenhagen to Gothenburg
CATEGORIES:abba
END:VEVENT
BEGIN:VEVENT
UID: [EMAIL PROTECTED]
DTSTART;VALUE=DATE:20071207
DTEND;VALUE=DATE:20071209

[Orgmode] Org-mode and ESS

2008-11-11 Thread Graham Smith
Is any one using Org-mode with ESS.   ESS seems to need a file with a
*.R name to work, but it would be really useful to use Org-mode
features to keep notes of comments and code, before sending to R,  and
of course to copy results back into an Org-Mode file from R.

As a search here and a google hasn't thrown up anything obvious, I
assume not, but I thought I would ask.

Thanks,

Graham


___
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 org-export-icalendar

2008-11-11 Thread Harri Kiiskinen
Hi,

when exporting org entries to icalendar files, I noticed a small bug.

Both of these are valid in org-mode and result in similar entries in
the agenda, with the date and time set:

---test.org---
* Thing 16:00-18:00
  2008-11-11 Tue
* Another Thing
  2008-11-11 Tue 16:00-18:00
---test.org---

makes

--
Tuesday11 November 2008
   8:00.. 
  10:00.. 
  12:00.. 
  14:00.. 
  16:00.. 
  test:   16:00-18:00 Thing 
  test:   16:00-18:00 Another Thing
  18:00.. 
  20:00.. 
--

But when exported (org-export-icalendar-this-file; same behaviour with
org-export-icalendar-combine-agenda-files), the times are set
correctly only in the second, Another Thing, whereas in the first,
the time period ends up in the description, but not in the DTSTART -
DTEND pair. See example:

---test.ics---
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:test
PRODID:-//Harri Kiiskinen//Emacs with Org-mode//EN
X-WR-TIMEZONE:EET
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID: [EMAIL PROTECTED]
DTSTART;VALUE=DATE:2008
DTEND;VALUE=DATE:20081112
SUMMARY:Thing 16:00-18:00
DESCRIPTION: 2008-11-11 Tue
CATEGORIES:test
END:VEVENT
BEGIN:VEVENT
UID: [EMAIL PROTECTED]
DTSTART:2008T16
DTEND:2008T18
SUMMARY:Another Thing
DESCRIPTION: 2008-11-11 Tue 16:00-18:00
CATEGORIES:test
END:VEVENT
END:VCALENDAR
---test.ics---

Best,

Harri K.


___
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: R: [Orgmode] Problems with iCalendar export of my Calendar

2008-11-11 Thread Georg C. F. Greve
Hi Giovanni,

On Tue, 11 Nov 2008 14:38:28 + (GMT)
Giovanni Ridolfi [EMAIL PROTECTED] wrote: 

 gr Well, don't you like the default org-mode:
 gr with the number of days (1/3)  ?

No, I think that is very annoying.

The only numbers I want to see there are times.

What I would want is something like this:

 Friday  7 December 2007
  abba:   Gothenburg, Sweden 
  abba:   10:40-12:25 Flight SK 602 Zurich to Copenhagen 
  abba:   14:10-14:55 Flight SK 438 Copenhagen to Gothenburg 

where the all day or time unspecific events are listed on top
without any time, but properly indented, followed by all the timed
events in chronological order.


 gr I think your org file should be structured better exploiting the
 gr :PROPERTIES:

Thanks for the pointer.

Indeed it seems that properties can solve a significant amount of the
issues, although I had been avoiding them so far as I find them to
decrease the usability of the file.

When editing a calendar, it is very helpful to see the times and places
at first sight so you know that you don't have overlap or gaps.

If times are hidden in properties, that is much harder.

Also they are fairly cumbersome to edit.


 gr appears quite clear to me: The export will honor SUMMARY,
 gr DESCRIPTION and LOCATION properties if the selected entries have
 gr them.  If not, the summary will be derived from the headline, and
 gr the description from the body (limited to
 gr `org-icalendar-include-body' characters). 

That last part is interesting. It had indeed not occured to me that I
could set org-icalendar-include-body to 0 in order to avoid bogus
descriptions.

Regards,
Georg

-- 
Georg C. F. Greve [EMAIL PROTECTED]
Free Software Foundation Europe  (http://fsfeurope.org)
President  +41 43 500 03 66 ext 400

Join the Fellowship and protect your freedom! (http://www.fsfe.org)


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


[Orgmode] Re: Org-mode and ESS

2008-11-11 Thread Detlef Steuer
Hi Graham,

if you have ess loaded and you are working on a file test.org:

* test
  ls()

and you have an R process running in another buffer, then
you can i.e. put the cursor on the line with ls() in test.org
and execute M-x ess-eval-line.
The command is then executed in your running R session.

Hth
detlef

On Tue, 11 Nov 2008 18:00:01 +
Graham Smith [EMAIL PROTECTED] wrote:

 Is any one using Org-mode with ESS.   ESS seems to need a file with a
 *.R name to work, but it would be really useful to use Org-mode
 features to keep notes of comments and code, before sending to R,  and
 of course to copy results back into an Org-Mode file from R.
 
 As a search here and a google hasn't thrown up anything obvious, I
 assume not, but I thought I would ask.
 
 Thanks,
 
 Graham
 
 
 ___
 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
 


-- 
Wisely, and slow. They stumble that run fast. - Shakespeare




___
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 org-export-icalendar

2008-11-11 Thread Carsten Dominik

Hi Harri,

yes, only times in time stamps will be used in iCalendar export.   
Times in the headline
are too unpredictable.  The agenda uses them as a service because  
nothing really bad can happen.  But if you want consistency across  
applications, you should define times in a consistent way, i.e. in the  
stamp.


- Carsten

On Nov 11, 2008, at 2:17 PM, Harri Kiiskinen wrote:


Hi,

when exporting org entries to icalendar files, I noticed a small bug.

Both of these are valid in org-mode and result in similar entries in
the agenda, with the date and time set:

---test.org---
* Thing 16:00-18:00
 2008-11-11 Tue
* Another Thing
 2008-11-11 Tue 16:00-18:00
---test.org---

makes

--
Tuesday11 November 2008
  8:00.. 
 10:00.. 
 12:00.. 
 14:00.. 
 16:00.. 
 test:   16:00-18:00 Thing
 test:   16:00-18:00 Another Thing
 18:00.. 
 20:00.. 
--

But when exported (org-export-icalendar-this-file; same behaviour with
org-export-icalendar-combine-agenda-files), the times are set
correctly only in the second, Another Thing, whereas in the first,
the time period ends up in the description, but not in the DTSTART -
DTEND pair. See example:

---test.ics---
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:test
PRODID:-//Harri Kiiskinen//Emacs with Org-mode//EN
X-WR-TIMEZONE:EET
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID: [EMAIL PROTECTED]
DTSTART;VALUE=DATE:2008
DTEND;VALUE=DATE:20081112
SUMMARY:Thing 16:00-18:00
DESCRIPTION: 2008-11-11 Tue
CATEGORIES:test
END:VEVENT
BEGIN:VEVENT
UID: [EMAIL PROTECTED]
DTSTART:2008T16
DTEND:2008T18
SUMMARY:Another Thing
DESCRIPTION: 2008-11-11 Tue 16:00-18:00
CATEGORIES:test
END:VEVENT
END:VCALENDAR
---test.ics---

Best,

Harri K.


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




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


Re: [Orgmode] Re: Org-mode and ESS

2008-11-11 Thread Graham Smith
Detlef,

Ah thanks, I should probably worked that out myself.

 if you have ess loaded and you are working on a file test.org:

 * test
  ls()

 and you have an R process running in another buffer, then
 you can i.e. put the cursor on the line with ls() in test.org
 and execute M-x ess-eval-line.
 The command is then executed in your running R session.

Graham


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

2008-11-11 Thread Carsten Dominik


Enjoy!

- Carsten

Changes in Version 6.12
===

Overview


   - A region of entries can now be refiled with a single command
   - Fine-tuning the behavior of `org-yank'
   - Formulas for clocktables
   - Better implementation of footnotes for HTML export
   - More languages for HTML export.

Details
===

A region of entries can now be refiled with a single command


With `transient-make-mode' active (`zmacs-regions' under
XEmacs), you can now select a region of entries and refile
them all with a single `C-c C-w' command.

Thanks to Samuel Wales for this useful proposal.

Fine-tuning the behavior of `org-yank'
--

The behavior of Org's yanking command has been further
fine-tuned in order to avoid some of the small annoyances
this command caused.

- Calling `org-yank' with a prefix arg will stop any special
  treatment and directly pass through to the normal `yank'
  command.  Therefore, you can now force a normal yank with
  `C-u C-y'.

- Subtrees will only be folded after a yank if doing so will
  now swallow any non-white characters after the yanked text.
  This is, I think a really important change to make the
  command work more sanely.

Formulas for clocktables


You can now add formulas to a clock table, either by hand, or
with a `:formula' parameter.  These formulas can be used to
create additional columns with further analysis of the
measured times.

Thanks to Jurgen Defurne for triggering this addition.

Better implementation of footnotes for HTML export
--

The footnote export in 6.11 really was not good enough.  Now
it works fine.  If you have customized
`footnote-section-tag', make sure that your customization is
matched by `footnote-section-tag-regexp'.

Thanks to Sebastian Rose for pushing this change.

More languages for HTML export.
---

More languages are supported during HTML export.  This is
only relevant for the few special words Org inserts, like
Table of Contents, or Footnotes.  Also the encoding
issues with this feature seem to be solved now.

Thanks to Sebastian Rose for pushing me to fix the encoding
problems.



___
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] Verbatim blocks are subject to markup

2008-11-11 Thread Daniel Clemente

  With org-mode 6.12a, if I open a new file.org and write:

#+BEGIN_EXAMPLE
a
aa ''*aa*''
ao
* 
a
#+END_EXAMPLE

  Then I see „“ as a heading (in blue, and I can do TAB on it). According 
to [1], this block should not be subject to markup. But it is, and the „“ 
mixes in with the external headings.

  It happens the same with „#+BEGIN_SRC c“, for instance.

  Is this a bug, feature, or misconfiguration?

-- Daniel.


[1]: http://orgmode.org/manual/Literal-examples.html#Literal-examples



___
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] Can not push to Worg.

2008-11-11 Thread Mikael Fornius
I have made some changes to org-collector.el at Worg git repository and
when I try to push this I get:

~/Worg $ git push
Counting objects: 11, done.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 1.44 KiB, done.
Total 8 (delta 4), reused 0 (delta 0)
error: unable to create temporary sha1 filename ./objects/e7: Permission denied

fatal: failed to write object
error: unpack failed: unpacker exited with error code
To git+ssh://[EMAIL PROTECTED]/srv/git/Worg.git
 ! [remote rejected] master - master (n/a (unpacker error))
error: failed to push some refs to 'git+ssh://[EMAIL 
PROTECTED]/srv/git/Worg.git'
~/Worg $

I am new to git and also tried to use the other instruction as described
in Word git document (adding public repository and 'git push public')
but I got the same error.

Anyone knows how to solve this?

Thanks in advance.
/Mikael Fornius


___
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: R: [Orgmode] Problems with iCalendar export of my Calendar

2008-11-11 Thread Carsten Dominik

Hi Georg

On Nov 11, 2008, at 7:19 PM, Georg C. F. Greve wrote:


Hi Giovanni,

On Tue, 11 Nov 2008 14:38:28 + (GMT)
Giovanni Ridolfi [EMAIL PROTECTED] wrote:

gr Well, don't you like the default org-mode:
gr with the number of days (1/3)  ?

No, I think that is very annoying.



A time-range with first an active stamp and then an
inactive meaning has no defined purpose in Org, and
I cannot say what will happen in what circumstances.




The only numbers I want to see there are times.

What I would want is something like this:

Friday  7 December 2007
 abba:   Gothenburg, Sweden
 abba:   10:40-12:25 Flight SK 602 Zurich to Copenhagen
 abba:   14:10-14:55 Flight SK 438 Copenhagen to Gothenburg

where the all day or time unspecific events are listed on top
without any time, but properly indented, followed by all the timed
events in chronological order.


You can get the un timed items first by configuring the variable
`org-sort-agenda-notime-is-late'.  That will not change the  
indentation though.

Could be fixed, of course, that is a minor problem.



gr I think your org file should be structured better exploiting the
gr :PROPERTIES:

Thanks for the pointer.

Indeed it seems that properties can solve a significant amount of the
issues, although I had been avoiding them so far as I find them to
decrease the usability of the file.



One thing you can do is to set

#+DRAWERS: dummy

so that properties will not act as drawers anymore, so
they will always be open and visible.

When editing a calendar, it is very helpful to see the times and  
places

at first sight so you know that you don't have overlap or gaps.

If times are hidden in properties, that is much harder.

Also they are fairly cumbersome to edit.


Properties?  or dates?  I happen to beliefe that there is
no better input for times than those in Org.


HTH

- Carsten


gr appears quite clear to me: The export will honor SUMMARY,
gr DESCRIPTION and LOCATION properties if the selected entries have
gr them.  If not, the summary will be derived from the headline, and
gr the description from the body (limited to
gr `org-icalendar-include-body' characters). 

That last part is interesting. It had indeed not occured to me that I
could set org-icalendar-include-body to 0 in order to avoid bogus
descriptions.

Regards,
Georg

--
Georg C. F. Greve  
[EMAIL PROTECTED]
Free Software Foundation Europe	 (http:// 
fsfeurope.org)
President  +41 43 500 03 66 ext  
400


Join the Fellowship and protect your freedom! (http:// 
www.fsfe.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




___
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] Verbatim blocks are subject to markup

2008-11-11 Thread Carsten Dominik

Hi Daniel,

if you edit this block once with C-c ' (C-c followed by quote) and  
exit again with the same command, you will see that the critical lines  
will be quoted by inserting a comma in front of it.  This comma will  
be removed for editing, and also for publishing.


- Carsten

On Nov 11, 2008, at 1:51 PM, Daniel Clemente wrote:



 With org-mode 6.12a, if I open a new file.org and write:

#+BEGIN_EXAMPLE
a
aa ''*aa*''
ao
* 
a
#+END_EXAMPLE

 Then I see „“ as a heading (in blue, and I can do TAB on it).  
According to [1], this block should not be subject to markup. But it  
is, and the „“ mixes in with the external headings.


 It happens the same with „#+BEGIN_SRC c“, for instance.

 Is this a bug, feature, or misconfiguration?

-- Daniel.


[1]: http://orgmode.org/manual/Literal-examples.html#Literal-examples



___
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] agenda for past month

2008-11-11 Thread Sebastian Rose
Hi Detlef,

you may go back and forth by weeks using the LEFT and RIGHT keys.


Shortcuts in the agenda buffer:
http://orgmode.org/manual/Agenda-commands.html#Agenda-commands


  Sebastian



Detlef Steuer [EMAIL PROTECTED] writes:
 Hi there!

 I feel there must be an easy way to do it, but I can't find out how:

 Is it possible to get an agenda, say for the last month (week), which shows
 the old appointments and done tasks for that period of time?

 What chapter of the fine manual leads me in the right direction?
 Or, how do you handle a task like What *exactly* was my schedule on day XY?

 Thank you very much for your help!

 detlef



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


--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover

Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de


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


[Orgmode] Links to 'remember' notes?

2008-11-11 Thread David A. Gershman
Hello All,

I'm learning about org-remember and have a question of functionality.

I have a sample org file:

  * Heading One
:NOTES:
  {cursor here}
:END:

With the cursor where stated, I hit C-c r and I go into remember mode. 
Enter my text, and C-c C-c stores it.  What I've found out is in order
to view my notes, I need to manually open the file containing my notes
and search for what I just entered.  Once found there is a link back to
the source.  But what about the other direction?

Is there a way for a link to the note to be inserted where the cursor is
located in the original .org file?  So that after hitting C-c C-c, and
possibly entering a label, I get the following:

  * Heading One
:NOTES:
  _Newly Created Note_-- link to note just entered
:END:

Thanks!

---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
It's all about the path! --d. gershman


___
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] Export ascii-images using ditaa when targeting HTML?

2008-11-11 Thread Eric Schulte
Hi Mac,

That's an interesting utility.

I have been working on an org-mode add-on for the specialized processing
of #+begin_* blocks.  Since this is very similar to the need you
expressed below, I implemented ditaa processing as one of the examples
in the initial implementation of this add-on.

If you want to grab the org-exp-block.el file from

http://github.com/eschulte/org-contrib/tree/master/org-exp-blocks.el

you can use it to export ditaa blocks to images when exporting an org
file to html.  There are instruction in the top of the elisp file,
mainly you just need to load the file, and set `ditaa-jar-path' to the
path to ditaa.jar on your system.  Then if you setup a block like the
following

#+begin_ditaa blue.png -r -S
+-+
| cBLU|
| |
|++
||cPNK|
|||
+++
#+end_ditaa

The ascii inside the block will be exported to an image in blue.png
passing any following options as command line options to ditaa.jar.

Hope this is helpful.

Cheers -- Eric

Mac [EMAIL PROTECTED] writes:

 I would like to convert my ASCII-images inside my document.org before 
 exporting
 the document to HTML.

 I've found this converter, ditaa, which is a java program that takes an ASCII
 text file and creates a png file (http://ditaa.sourceforge.net/).

 I intend to find my ASCII figure, save it as a separate text file, and run 
 ditaa
 on it. In my document.org I'll comment the ASCII-art so it won't be exported 
 and
 add a link so the image will be included in the html file.

 [[file:figure_1.png]]
 #+BEGIN_COMMENT
  V,mA
   |
+-+
|40140|
+-+
   |
   |++
   +|4561|-- PC  
   |++  
++
|4060|
++
   |
Relay Out
 #+END_COMMENT

 Before reinventing the wheel, anyone done anything similar, or have ideas?




 ___
 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] modular block exportation was patch [Feature Addition] exporting comments on org files to html

2008-11-11 Thread Eric Schulte
Carsten Dominik [EMAIL PROTECTED] writes:

 Hi Eric,

 I think this interesting functionality could at least initially
 be implemented as a add-on, hooking into `org-export-preprocess-hook'.
 This hook is called before Org looks at any of the blocks, so the hook
 could remove blocks or format them and replace them with finished
 HTML (in the case of HTML export) in a BEGIN_HTML ... END_HTML
 block.


Hi Carsten,

Thanks for the pointer.  I was able to implement generic block
pre-processing on export using the `org-export-preprocess-hook' you
mentioned.  The resulting org-mode add-on is hosted at

http://github.com/eschulte/org-contrib/tree/master/org-exp-blocks.el

Currently it implements the comment processing I was after, and ditaa
image creation.  I think that it could also be used to implement the
src-code, block-quote, and verse exportation currently implemented in
org-exp.el.

Thanks for the advice, I think this is much better than my initial
comment exportation utility. -- Eric


 - Carsten


 On Nov 7, 2008, at 8:02 PM, Eric Schulte wrote:

 Hi,

 This has had me thinking about the exportation of blocks in general.
 I
 think it makes sense to pull block exportation out into it's own
 component both for simplicity and for ease of code-reading, hacking,
 and
 customization.

 with a set of blocks of forms like...

 #+begin_html

 #+begin_src

 #+begin_comment

 #+begin_example

 etc...

 We could have an alist in which we look up the type of the block, and
 call the appropriate function to handle exportation.  Users could then
 add their own custom block export functions to this list.

 The optional exportation of these blocks could then be controlled by a
 single #+option variable which takes a list of blocks not to export.
 For example

 #+OPTION   hidden_blocks:comment,src

 I'd be interested to hear anyone's thoughts on this.  If it sounds
 like
 a good idea I'd be happy to take a stab at implementation.

 Cheers -- Eric


___
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] Export ascii-images using ditaa when targeting HTML?

2008-11-11 Thread Eric Schulte
Hi Mac,

That's an interesting utility.

I have been working on an org-mode add-on for the specialized processing
of #+begin_* blocks.  Since this is very similar to the need you
expressed below, I implemented ditaa processing as one of the examples
in the initial implementation of this add-on.

If you want to grab the org-exp-block.el file from

http://github.com/eschulte/org-contrib/tree/master/org-exp-blocks.el

you can use it to export ditaa blocks to images when exporting an org
file to html.  There are instruction in the top of the elisp file,
mainly you just need to load the file, and set `ditaa-jar-path' to the
path to ditaa.jar on your system.  Then if you setup a block like the
following

#+begin_ditaa blue.png -r -S
+-+
| cBLU|
| |
|++
||cPNK|
|||
+++
#+end_ditaa

The ascii inside the block will be exported to an image in blue.png
passing any following options as command line options to ditaa.jar.

Hope this is helpful.

Cheers -- Eric

Mac [EMAIL PROTECTED] writes:

 I would like to convert my ASCII-images inside my document.org before 
 exporting
 the document to HTML.

 I've found this converter, ditaa, which is a java program that takes an ASCII
 text file and creates a png file (http://ditaa.sourceforge.net/).

 I intend to find my ASCII figure, save it as a separate text file, and run 
 ditaa
 on it. In my document.org I'll comment the ASCII-art so it won't be exported 
 and
 add a link so the image will be included in the html file.

 [[file:figure_1.png]]
 #+BEGIN_COMMENT
  V,mA
   |
+-+
|40140|
+-+
   |
   |++
   +|4561|-- PC  
   |++  
++
|4060|
++
   |
Relay Out
 #+END_COMMENT

 Before reinventing the wheel, anyone done anything similar, or have ideas?




 ___
 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] Export ascii-images using ditaa when targeting HTML?

2008-11-11 Thread Carsten Dominik

Hi Eric,

may I suggest the following change?

If you allow the format in the block to be like this:

#+begin_ditaa blue.png -r -S
: +-+
: | cBLU|
: | |
: |++
: ||cPNK|
: |||
: +++
#+end_ditaa

then the ascii images will not be attacked by Org syntax highlighting,
you can use C-c ' to edit them.  All you would need to do is to strip
the initial colon and space when extracting the image for export.

Also, we should add a hok so that your add-on can install special
handlers for C-c ', in order to edit these new blocks.

I like it!

- Carsten

P.S. yes, I should fix Org-modes font-locking stuff so that
it can cover large blocks, but frankly, I do not know how to
do that.


On Nov 12, 2008, at 2:59 AM, Eric Schulte wrote:


Hi Mac,

That's an interesting utility.

I have been working on an org-mode add-on for the specialized  
processing

of #+begin_* blocks.  Since this is very similar to the need you
expressed below, I implemented ditaa processing as one of the examples
in the initial implementation of this add-on.

If you want to grab the org-exp-block.el file from

http://github.com/eschulte/org-contrib/tree/master/org-exp-blocks.el

you can use it to export ditaa blocks to images when exporting an org
file to html.  There are instruction in the top of the elisp file,
mainly you just need to load the file, and set `ditaa-jar-path' to the
path to ditaa.jar on your system.  Then if you setup a block like the
following

#+begin_ditaa blue.png -r -S
+-+
| cBLU|
| |
|++
||cPNK|
|||
+++
#+end_ditaa

The ascii inside the block will be exported to an image in blue.png
passing any following options as command line options to ditaa.jar.

Hope this is helpful.

Cheers -- Eric

Mac [EMAIL PROTECTED] writes:

I would like to convert my ASCII-images inside my document.org  
before exporting

the document to HTML.

I've found this converter, ditaa, which is a java program that  
takes an ASCII

text file and creates a png file (http://ditaa.sourceforge.net/).

I intend to find my ASCII figure, save it as a separate text file,  
and run ditaa
on it. In my document.org I'll comment the ASCII-art so it won't be  
exported and

add a link so the image will be included in the html file.

[[file:figure_1.png]]
#+BEGIN_COMMENT
V,mA
 |
  +-+
  |40140|
  +-+
 |
 |++
 +|4561|-- PC
 |++
  ++
  |4060|
  ++
 |
  Relay Out
#+END_COMMENT

Before reinventing the wheel, anyone done anything similar, or have  
ideas?





___
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] modular block exportation was patch [Feature Addition] exporting comments on org files to html

2008-11-11 Thread Carsten Dominik


On Nov 12, 2008, at 3:03 AM, Eric Schulte wrote:


Carsten Dominik [EMAIL PROTECTED] writes:


Hi Eric,

I think this interesting functionality could at least initially
be implemented as a add-on, hooking into `org-export-preprocess- 
hook'.
This hook is called before Org looks at any of the blocks, so the  
hook

could remove blocks or format them and replace them with finished
HTML (in the case of HTML export) in a BEGIN_HTML ... END_HTML
block.



Hi Carsten,

Thanks for the pointer.  I was able to implement generic block
pre-processing on export using the `org-export-preprocess-hook' you
mentioned.  The resulting org-mode add-on is hosted at

http://github.com/eschulte/org-contrib/tree/master/org-exp-blocks.el

Currently it implements the comment processing I was after, and ditaa
image creation.  I think that it could also be used to implement the
src-code, block-quote, and verse exportation currently implemented in
org-exp.el.


Hi Eric,

since this hook is called early on, you are free to
implement your own processing of other blocks like
example or src as well - maybe in a customizable way, so
that users can opt how they want to do things, of if they
would like to use the formatting built into the Org core.

You might wat to think about the LaTeX side as
well - certainly the ditaa thing could be implemented
for the LaTeX backend - for the ASCII backend it would be
trivial :-)

Thanks for yet another great contribution.

- Carsten




Thanks for the advice, I think this is much better than my initial
comment exportation utility. -- Eric



- Carsten


On Nov 7, 2008, at 8:02 PM, Eric Schulte wrote:


Hi,

This has had me thinking about the exportation of blocks in general.
I
think it makes sense to pull block exportation out into it's own
component both for simplicity and for ease of code-reading, hacking,
and
customization.

with a set of blocks of forms like...

#+begin_html

#+begin_src

#+begin_comment

#+begin_example

etc...

We could have an alist in which we look up the type of the block,  
and
call the appropriate function to handle exportation.  Users could  
then

add their own custom block export functions to this list.

The optional exportation of these blocks could then be controlled  
by a

single #+option variable which takes a list of blocks not to export.
For example

#+OPTION   hidden_blocks:comment,src

I'd be interested to hear anyone's thoughts on this.  If it sounds
like
a good idea I'd be happy to take a stab at implementation.

Cheers -- Eric




___
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