[Orgmode] Including files, line numbers and codeline references

2009-01-08 Thread Manish
There are multiple but related issues and requests in the mail below.
Wasn't sure so haven't split into separate emails.  Please excuse me
if this is not correct form.

  On Mon, Jan 5, 2009 at 6:02 PM, Carsten Dominik wrote:
  
   I have just uploaded 6.17a which revamps the codeline references stuff,
   in the following way:
  
   1. The default label now looks like   (ref:name)
  
   2. The default format is defined in org-coderef-label-format,
with the default value (ref:%s).
  

This is very nice.

   3. You can change the format for each individual snippet with the -l switch:
  
 #+BEGIN_SRC pascal -n -r -l ((%s))

Is it possible to use this line numbering facility for files included
in by #+INCLUDE mechanism (sec. 12.1 of manual?)

  
   4. Links to the labels have also changed, they are now
  
  [[(name)]] or [[(name)][in line (name)]]
  
instead of
  
  [[((name))]] or [[((name))][in line ((name))]]
  
i.e. only single parenthesis around the label name.

I added a (ref:string) after a comment mark in the original file being
included and created a link like shown above.  The highlighting works
fine but the link does not reflect the line number of the text (didn't
also expect to work until lines were numbered.)

Surprisingly, publish (HTML) attempt also tries to create some .tex
files, not sure why.

,[ *Messages* ]
| Publishing file d:/home/zms/gehc.git/gdoc/dg.org
| Exporting...
| OVERVIEW
| CONTENTS...done
| Creating LaTeX image 1
| Creating LaTeX image 2
| Creating LaTeX image 3
| Failed to create dvi file from d:/home/zms/tmp/orgtex34725Zc.tex
| Creating LaTeX image 4
| Failed to create dvi file from d:/home/zms/tmp/orgtex3472Gki.tex
| Creating LaTeX image 5
| Failed to create dvi file from d:/home/zms/tmp/orgtex3472Tuo.tex
| Creating LaTeX image 6
| Failed to create dvi file from d:/home/zms/tmp/orgtex3472g4u.tex
| Creating LaTeX image 7
| Failed to create dvi file from d:/home/zms/tmp/orgtex3472tC1.tex
| Exporting... [2 times]
| Saving file d:/home/zms/gehc.git/gdoc_pub/dg.html...
| Wrote d:/home/zms/gehc.git/gdoc_pub/dg.html
| Exporting... done
`



Also, I was trying the example from documentation with:

#+INCLUDE ~/.emacs src emacs-lisp

But it fails with following error:
org-export-select-backend-specific-text: Stack overflow in regexp matcher
It works when I trim the file size down.  Is there some
variable that controls the size of file it can fontify during export?


Thanks for another great feature.

-- 
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] Latex export - not working - more info..

2009-01-08 Thread Giovanni Ridolfi
--- Mer 7/1/09, Carsten Dominik domi...@science.uva.nl ha scritto:
 Da: Carsten Dominik domi...@science.uva.nl
 
 Anyone else can reproduce Sergio's problem?
Hi Carsten,

I had the same problem with Emacs hanginig yesterday at home[1] 


Org version 6.17c, whereas 6.17 exported fine.
Emacs 22.2
OS: Debian unstable

[1] so, sorry, I can't provide more information

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


R: [Orgmode] Suggestions for Orgmode.org homepage

2009-01-08 Thread Giovanni Ridolfi
--- Mer 7/1/09, Manish mailtomanish.sha...@gmail.com ha scritto:
 Also, I do not have access to IE7 so I do not know if that
 works.

On 8th January 2008 at 10:01 CET
with IE 7.057???
XP SP??

The page is displayed correctly. (like http://imagebin.org/35260)

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


[Orgmode] Keeping Your Appointments in org

2009-01-08 Thread Ian Barton
As it's the start of a new year, I want to move my appointments from 
Google Calendar as the primary source to org. When my system in org is 
running smoothly I will export to Google Calendar on a regular basis.


Searching back through the list there are quite a lot of snippets 
describing how people use org to keep appointments, but no overview. I 
would like to write a tutorial on how you can keep your appointments in 
org, so I thought that I would ask list members if they would post some 
details of their system.


I am intending to keep my appointments in a dedicated org file 
(calendar.org). At the moment I am using a remember template which adds 
them with a tag of APPT. I the use a custom agenda view if I only want 
to see appointments.


I am particularly interested in the best way to deal with repeating 
appointments. For example how do you deal with a weekly appointment that 
has a defined start and end date.


Ian.


___
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] Latex export - not working - more info..

2009-01-08 Thread Manish
On Thu, Jan 8, 2009 at 5:06 AM, Carsten Dominik wrote:
 Hi Sergio,

 your example file exports fine in my setup.

 Anyone else can reproduce Sergio's problem?

 - Carsten

I couldn't find his file to test but Org-PDF worked fine on my files
here on Emacs 22.3 and latest Org (commit: c073d51).

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


[Orgmode] remember memo template: does any body do this?

2009-01-08 Thread Alan E. Davis
Org-remember with several templates for all kinds of notetaking.  I have a
plan to generate memos from some of the notes.  I would like to use a
template that prompts for subject and recipient, and generate the memo by
exporting to LaTeX.  If all goes well it will save me a bunch of time.
Two different problems are immediately apparent:

1.  First, does anybody have a good, workable memo class?  Newlfm made a
decent looking memo when I used a template from someone on line, but I
cannot control it myself.  I do have a little template someone sent me, that
works.   No great shakes.

2.  The template.  Maybe someone already has a good template.  Is it even
envisioned that anything this complicated would be done with org-remember
templates?

My attempts so far has been fruitless:  the %[PATH] template entry doesn't
seem to find the file to include.

I am a bit scatterbrained, and have many irons, in many fires.  Org mode
with remember is helping keep notes organized in a hitherto unimaginably
orderly way.

Thank you,

Alan
-- 
It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell
___
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 pause the relative timer

2009-01-08 Thread Carsten Dominik

Hi Alan,

pausing and continuing the timer is now in the latest git release.
The command is `C-c C-x ,', fir both actions.  ALso, the running
timer is now shown in the mode line, use `C-u C-c C-x ,' to really
stop the timer and to remove te display in the mode line.

- Carsten

On Jan 4, 2009, at 3:30 PM, Alan E. Davis wrote:

I jumped into some elisp, and eventually I might get it, but while I  
think I'm close, my vacation is over, and I'm going to call uncle.


Here is some crummy code I started putting together to try to pause  
the relative timer in org-timer.el.  Can someone give me a nudge,  
and suggest what's wrong?  (Lot's, I'll wager!).  I get the message  
time-to-seconds: Symbol's function definition is void: org-pause- 
timer-time when running org-aed-pause-timer-start after setting  
with org-aed-pause-timer-pause.  I'll bet there are better ways to  
do this.  I'll figure it out when I have time.



---%--
(defvar org-pause-timer-time nil
  t=X for stopped timer.)

(defun org-aed-pause-timer-pause ()
  Set the time at pause to a variable for later recovery
in org-aed-pause-timer-start
  (interactive)
  (let (org-pause-timer-time (current-time

(defun org-aed-pause-timer-start ()
  Recover pause start time, do the math, and restart at the new time
  (interactive)
  (insert (format
   org-timer-format
   (org-timer-secs-to-hms
(floor
 (- (time-to-seconds (current-time))
(time-to-seconds (org-pause-timer-time
X


I have a plan, beyond the mere and obvious utility of being able to  
pause the timer.  With some help, I've burgled some code and gotten  
a function to start vlc asynchronously on  a video file from dired.   
Eventually, I want to figure out how to pause the vlc process, and  
pause the org-mode timer at the same time.


It just occurred to me, however, that it would be even more  
interesting to pause the video player and org-mode's timer would put  
the pause time into the buffer, to accept a note.  Hmmm...  FOr that  
I have to figure out how to remotely pause vlc and restart.  Of  
course, this kind of project could easily get out of hand.  I'm  
afraid it's beyond my programming ability, but it's already  
interesting.


Frivolous?  If anyone wants to look at the dired-vlc.el code, I'll  
send it, but I would think it's beyond this list's boundaries of  
interest (if that's possible).


Thanks for Org-mode, and thanks for being patient.

Alan

--
Alan Davis

It's never a matter of liking or disliking ...
  ---Santa Ynez Chumash Medicine Man

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




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


[Orgmode] [PATCH] Fix a small typo.

2009-01-08 Thread Christian Egli

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

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index cf017d1..66597fa 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -399,7 +399,7 @@ This option can also be set with the +OPTIONS line, e.g. 
\-:nil\.
 (defcustom org-export-with-TeX-macros t
   Non-nil means, interpret simple TeX-like macros when exporting.
 For example, HTML export converts \\alpha to alpha; and \\AA to Aring;.
-No only real TeX macros will work here, but the standard HTML entities
+Not only real TeX macros will work here, but the standard HTML entities
 for math can be used as macro names as well.  For a list of supported
 names in HTML export, see the constant `org-html-entities'.
 Not all export backends support this.
-- 
1.5.6.3




___
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] Including files, line numbers and codeline references

2009-01-08 Thread Manish
  On Thu, Jan 8, 2009 at 4:45 PM, Carsten Dominik wrote:
   Hi Manish,
   On Jan 8, 2009, at 9:35 AM, Manish wrote:
  
   There are multiple but related issues and requests in the mail below.
   Wasn't sure so haven't split into separate emails. Please excuse me
   if this is not correct form.
  
   On Mon, Jan 5, 2009 at 6:02 PM, Carsten Dominik wrote:
  
   I have just uploaded 6.17a which revamps the codeline references stuff,
  
   in the following way:
  
   1. The default label now looks like (ref:name)
  
   2. The default format is defined in org-coderef-label-format,
  
   with the default value (ref:%s).
  
  
   This is very nice.
  
   3. You can change the format for each individual snippet with the -l switch:
  
   #+BEGIN_SRC pascal -n -r -l ((%s))
  
   Is it possible to use this line numbering facility for files included
   in by #+INCLUDE mechanism (sec. 12.1 of manual?)
  
   Yes, you can now just add the switched to the end of the INCLUDE line.

Already?!  Yep, works now.

  
   4. Links to the labels have also changed, they are now
  
   [[(name)]] or [[(name)][in line (name)]]
  
   instead of
  
   [[((name))]] or [[((name))][in line ((name))]]
  
   i.e. only single parenthesis around the label name.
  
   I added a (ref:string) after a comment mark in the original file being
   included and created a link like shown above. The highlighting works
   fine but the link does not reflect the line number of the text (didn't
   also expect to work until lines were numbered.)
  
   This should now work

It does too. :)

  
   Surprisingly, publish (HTML) attempt also tries to create some .tex
   files, not sure why.
  
   ,[ *Messages* ]
   | Publishing file d:/home/zms/gehc.git/gdoc/dg.org
   | Exporting...
   | OVERVIEW
   | CONTENTS...done
   | Creating LaTeX image 1
   | Creating LaTeX image 2
   | Creating LaTeX image 3
   | Failed to create dvi file from d:/home/zms/tmp/orgtex34725Zc.tex
   | Creating LaTeX image 4
   | Failed to create dvi file from d:/home/zms/tmp/orgtex3472Gki.tex
   | Creating LaTeX image 5
   | Failed to create dvi file from d:/home/zms/tmp/orgtex3472Tuo.tex
   | Creating LaTeX image 6
   | Failed to create dvi file from d:/home/zms/tmp/orgtex3472g4u.tex
   | Creating LaTeX image 7
   | Failed to create dvi file from d:/home/zms/tmp/orgtex3472tC1.tex
   | Exporting... [2 times]
   | Saving file d:/home/zms/gehc.git/gdoc_pub/dg.html...
   | Wrote d:/home/zms/gehc.git/gdoc_pub/dg.html
   | Exporting... done
   `
  
   I guess you have some math snippets in the file, and
(setq org-export-with-LaTeX-fragments t)
  
   ?? Then all these snippets will be processed though LaTeX to create images
   for inclusion into the HTML file.

I will investigate it but I do not recall having added any math stuff
in that file.

  
   Also, I was trying the example from documentation with:
  
   #+INCLUDE ~/.emacs src emacs-lisp
  
   I cannot reproduce it, I guess you have something
   like END_HTML in your .emacs file? Try to make a minimal example.

Sure.  I will try to create one.

Thanks again!

Best regards,
-- 
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


[Orgmode] [BUG] LaTeX Export hangs

2009-01-08 Thread Christian Egli
Hi

I have the latest git repo from a few minutes ago and I use the attached
test file. When I do C-c C-e l Emacs sits there saying Exporting to
LaTeX I have to stop it with C-g. The debugger tells me the
following:

Debugger entered--Lisp error: (quit)
  replace-match(texttt{} t)
  org-export-latex-keywords()
  org-export-latex-content(#(\n 0 1 (fontified nil)))
  org-export-latex-first-lines(nil)
  org-export-as-latex(nil)
  call-interactively(org-export-as-latex)
  org-export(nil)
  call-interactively(org-export nil nil)

If I first do a export as html (C-c C-e h) followed by a export to LaTeX
(C-c C-e l) it works like a charm.

#+OPTIONS:   ^:nil TeX:nil toc:nil

* Title
** Subtitle
[[http://wiki.dspace.org/index.php/Configure_media_filters][media filters]]
___
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] Latex export - not working - more info..

2009-01-08 Thread Matthew Lundin

Hi Sergio, 

The following Makefile settings work for me when installing with
Carbon Emacs:

---begin Makefile snippet---

# Name of your emacs binary
EMACS=/Applications/Emacs.app/Contents/MacOS/emacs

# Where local software is found
prefix=/usr/local

# Where local lisp files go.
lispdir = /Applications/Emacs.app/Contents/Resources/site-lisp 

# Where info files go.
infodir = /Applications/Emacs.app/Contents/Resources/info 

---end Makefile snippet---

- Matt

sergio_101 sergiol...@village-buzz.com writes:

 hi, matt...

 can you send me the relevant parts (the top) of your Makefile?

 mine looks like this..

 # Name of your emacs binary
 EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs 
 # Where local software is found
 prefix=/usr/local

 # Where local lisp files go.
 lispdir = $(prefix)/share/emacs/site-lisp

 # Where info files go.
 infodir = $(prefix)/share/info

 thanks!


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


[Orgmode] [PATCH] Fix the export of underscores in links in the LaTeX export

2009-01-08 Thread Christian Egli
Hi

I have the attached org file which I export to LaTeX. With the current
version of git the export produces the link as follows:

\href{http://wiki.dspace.org/index.php/Configure\_media\_{}filters}{media 
filters}

Notice the spurious '{}' before filters. Needless to say this link
doesn't work.

I tried to understand the source of the problem and came up with the
following patch which seems to work. However since I don't quite
understand this code you should take my change with a grain of salt.
With my patch I now get the following link.

 \href{http://wiki.dspace.org/index.php/Configure\_media\_filters}{media 
filters}

#+OPTIONS:   ^:nil TeX:nil toc:nil

* Title
** Subtitle
[[http://wiki.dspace.org/index.php/Configure_media_filters][media filters]]

Thanks
Christian
---
 lisp/org-export-latex.el |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/org-export-latex.el b/lisp/org-export-latex.el
index daa75dc..eeb8199 100644
--- a/lisp/org-export-latex.el
+++ b/lisp/org-export-latex.el
@@ -958,12 +958,13 @@ SUBSUP corresponds to the ^: option in the #+OPTIONS line.
 Convert CHAR depending on STRING-BEFORE and STRING-AFTER.
   (cond ((equal string-before \\)
 (concat string-before char string-after))
+   ; deal with links
+   ((eq 'org-link (get-text-property 0 'face char))
+(concat string-before \\ char string-after))
;; this is part of a math formula
((and (string-match \\S-+ string-before)
  (string-match \\S-+ string-after))
-(cond ((eq 'org-link (get-text-property 0 'face char))
-   (concat string-before \\ char string-after))
-  ((save-match-data (org-inside-latex-math-p))
+(cond ((save-match-data (org-inside-latex-math-p))
(if subsup
(cond ((eq 1 (length string-after))
   (concat string-before char string-after))
-- 
1.5.6.3

___
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] [PATCH] Fix the export of underscores in links in the LaTeX export

2009-01-08 Thread Carsten Dominik

Thanks for the patch, I am fixing this problem
on a more fundamental level, already during preprocessing.

- Carsten

On Jan 8, 2009, at 1:58 PM, Christian Egli wrote:


Hi

I have the attached org file which I export to LaTeX. With the current
version of git the export produces the link as follows:

\href{http://wiki.dspace.org/index.php/Configure\_media\_{}filters} 
{media filters}


Notice the spurious '{}' before filters. Needless to say this link
doesn't work.

I tried to understand the source of the problem and came up with the
following patch which seems to work. However since I don't quite
understand this code you should take my change with a grain of salt.
With my patch I now get the following link.

\href{http://wiki.dspace.org/index.php/Configure\_media\_filters} 
{media filters}


#+OPTIONS:   ^:nil TeX:nil toc:nil

* Title
** Subtitle
[[http://wiki.dspace.org/index.php/Configure_media_filters][media  
filters]]


Thanks
Christian
---
lisp/org-export-latex.el |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/org-export-latex.el b/lisp/org-export-latex.el
index daa75dc..eeb8199 100644
--- a/lisp/org-export-latex.el
+++ b/lisp/org-export-latex.el
@@ -958,12 +958,13 @@ SUBSUP corresponds to the ^: option in the # 
+OPTIONS line.

Convert CHAR depending on STRING-BEFORE and STRING-AFTER.
  (cond ((equal string-before \\)
 (concat string-before char string-after))
+   ; deal with links
+   ((eq 'org-link (get-text-property 0 'face char))
+(concat string-before \\ char string-after))
;; this is part of a math formula
((and (string-match \\S-+ string-before)
  (string-match \\S-+ string-after))
-(cond ((eq 'org-link (get-text-property 0 'face char))
-   (concat string-before \\ char string-after))
-  ((save-match-data (org-inside-latex-math-p))
+(cond ((save-match-data (org-inside-latex-math-p))
(if subsup
(cond ((eq 1 (length string-after))
   (concat string-before char string-after))
--
1.5.6.3

___
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] [BUG] LaTeX Export hangs

2009-01-08 Thread Carsten Dominik

Fixed, thanks.

I think this must also have been Sergio's bug.

- Carsten

On Jan 8, 2009, at 1:30 PM, Christian Egli wrote:


Hi

I have the latest git repo from a few minutes ago and I use the  
attached

test file. When I do C-c C-e l Emacs sits there saying Exporting to
LaTeX I have to stop it with C-g. The debugger tells me the
following:

Debugger entered--Lisp error: (quit)
 replace-match(texttt{} t)
 org-export-latex-keywords()
 org-export-latex-content(#(\n 0 1 (fontified nil)))
 org-export-latex-first-lines(nil)
 org-export-as-latex(nil)
 call-interactively(org-export-as-latex)
 org-export(nil)
 call-interactively(org-export nil nil)

If I first do a export as html (C-c C-e h) followed by a export to  
LaTeX

(C-c C-e l) it works like a charm.

#+OPTIONS:   ^:nil TeX:nil toc:nil

* Title
** Subtitle
[[http://wiki.dspace.org/index.php/Configure_media_filters][media  
filters]]

___
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] LaTeX Export hangs

2009-01-08 Thread Christian Egli
Carsten Dominik domi...@science.uva.nl writes:

 Fixed, thanks.

 I think this must also have been Sergio's bug.

Man Carsten, you're a machine! Within minutes from reporting the issue I
can do a git pull and both issues are fixed. Thank you very much!

Thanks
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] Keeping Your Appointments in org

2009-01-08 Thread Matthew Lundin

Hi Ian,

Ian Barton li...@manor-farm.org writes:

 Searching back through the list there are quite a lot of snippets
 describing how people use org to keep appointments, but no overview. I
 would like to write a tutorial on how you can keep your appointments
 in org, so I thought that I would ask list members if they would post
 some details of their system.

In the past I've used the Emacs diary, which integrates quite nicely
into the agenda views. It's really easy to add entries to the diary
from the agenda by typing i. And the format for basic diary entries
is very simple, e.g.:

Jan 8, 2009 6:00pm Go for a walk

But recently, I've begun entering all my diary entries into org-mode
files because (a) it makes it very easy to put scheduling directly in
my project plans (b) org-mode supports complex diary expressions
within org files and (c) it's nice to add notes to scheduled events.
And, of course, org-modes active timestamps are also very easy.

Generally, I maintain a distinction between scheduled tasks and
appointments. For tasks I add a SCHEDULE or DEADLINE date. For the
appointments I add a simple timestamp, as in:

* Go for a walk 2009-01-08 Thu 18:00

or

* 6:00pm Go for a walk 2009-01-08 Thu

 I am intending to keep my appointments in a dedicated org file
 (calendar.org). 

Since the agenda's so powerful I just leave my appointment entries
scattered among several files - i.e., in their relevant context by
subject.

 At the moment I am using a remember template which adds them with a
 tag of APPT. I the use a custom agenda view if I only want to see
 appointments.

I do the same---i.e., use a custom agenda view to see only
appointments. In case it's of interest to anyone, here's the command I
use to view a weekly calendar consisting only of appointments.

(setq org-agenda-custom-command s
'((c Weekly schedule agenda 
   ((org-agenda-ndays 7)
(org-agenda-start-on-weekday 1)
(org-agenda-repeating-timestamp-show-all t)
(org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline 
'scheduled
  ;; other commands here
  ))


 I am particularly interested in the best way to deal with repeating
 appointments. For example how do you deal with a weekly appointment
 that has a defined start and end date.

I use a diary S-expression within org-mode for this:

** My weekly event 7:00pm
%%(and (= 2 (calendar-day-of-week date)) (diary-block 1 6 2009 4 4 2009))

This event shows up in the agenda at 19:00 hours every Tuesday between
January 6 and April 4 of 2009.

I look forward to reading your tutorial on scheduling.

Best,
Matt



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


Re: [Orgmode] Re: [BUG] LaTeX Export hangs

2009-01-08 Thread Carsten Dominik


On Jan 8, 2009, at 2:45 PM, Christian Egli wrote:


Carsten Dominik domi...@science.uva.nl writes:


Fixed, thanks.

I think this must also have been Sergio's bug.


Man Carsten, you're a machine! Within minutes from reporting the  
issue I

can do a git pull and both issues are fixed. Thank you very much!


Hi Christian,

bugs in Org-mode is something I can live with very badly.  So I have
the choice to be bugged with it a whole day, or just taking the 2  
minutes
it need, in particular when you have done your homework and already  
shown

approximately where things go wrong.

Of course it helps too that git push is all it
needs to get the stuff back to the world.

Basically:  David Allens 2 Minute rule, plus the wonders of GIT.

Happy new year!

- 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] org-infojs-handle-options fails when :infojs-opt is not in exp-list

2009-01-08 Thread Friedrich Delgado Friedrichs
Hi.

A while ago I had this problem:
org-infojs-handle-options: Wrong type argument: stringp, nil

I wonder if my patch ever reached the mailing list, or if it
was overlooked because it was too close to christmas:

Friedrich Delgado Friedrichs schrieb:
 From 0fef25f56c837ae9f434449c6f30268e0474f7ab Mon Sep 17 00:00:00 2001
 From: Friedrich Delgado Friedrichs delg...@dfn-cert.de
 Date: Tue, 23 Dec 2008 12:10:42 +0100
 Subject: [PATCH] fix string-match against nil when no in-file options are set 
 for jsinfo
 
 ---
  lisp/org-jsinfo.el |3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)
 
 diff --git a/lisp/org-jsinfo.el b/lisp/org-jsinfo.el
 index 8f2d7e8..19faa9e 100644
 --- a/lisp/org-jsinfo.el
 +++ b/lisp/org-jsinfo.el
 @@ -140,7 +140,8 @@ Option settings will replace the %MANAGER-OPTIONS cookie.
  default (cdr (assoc opt org-infojs-options)))
(and (symbolp default) (not (memq default '(t nil)))
 (setq default (plist-get exp-plist default)))
 -  (if (string-match (format  %s:\\(\\S-+\\) opt) v)
 +  (if (and v
 +   (string-match (format  %s:\\(\\S-+\\) opt) v))
(setq val (match-string 1 v))
  (setq val default))
(cond
 -- 
 1.6.0.2.526.g5c283.dirty
---Zitatende---

-- 
Friedrich Delgado Friedrichs frie...@nomaden.org
Laziness led to the invention of the most useful tools.


___
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 to latex..

2009-01-08 Thread sergio

For example:  did you upgrade today?


no upgrades on anything..



What is your current version?


current version: 6.12a


Do you have a small example file which does already reproduce the  
problem?




here is a file called test.org that i tried to export:

 test.org 
* This is a heading
and some text

1 this
  that
  the other

1. a point.
2. another point.


 end file 

__
peace,
sergio
photographer, journalist, visionary
www.village-buzz.com





___
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] org-infojs-handle-options fails when :infojs-opt is not in exp-list

2009-01-08 Thread Carsten Dominik

Apparently, I had indeed overlooked this patch.

Fixed now, thanks for resending it.

- Carsten

On Jan 8, 2009, at 3:12 PM, Friedrich Delgado Friedrichs wrote:


Hi.

A while ago I had this problem:
org-infojs-handle-options: Wrong type argument: stringp, nil

I wonder if my patch ever reached the mailing list, or if it
was overlooked because it was too close to christmas:

Friedrich Delgado Friedrichs schrieb:
From 0fef25f56c837ae9f434449c6f30268e0474f7ab Mon Sep 17 00:00:00  
2001

From: Friedrich Delgado Friedrichs delg...@dfn-cert.de
Date: Tue, 23 Dec 2008 12:10:42 +0100
Subject: [PATCH] fix string-match against nil when no in-file  
options are set for jsinfo


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

diff --git a/lisp/org-jsinfo.el b/lisp/org-jsinfo.el
index 8f2d7e8..19faa9e 100644
--- a/lisp/org-jsinfo.el
+++ b/lisp/org-jsinfo.el
@@ -140,7 +140,8 @@ Option settings will replace the %MANAGER- 
OPTIONS cookie.

default (cdr (assoc opt org-infojs-options)))
  (and (symbolp default) (not (memq default '(t nil)))
   (setq default (plist-get exp-plist default)))
-  (if (string-match (format  %s:\\(\\S-+\\) opt) v)
+  (if (and v
+   (string-match (format  %s:\\(\\S-+\\) opt) v))
  (setq val (match-string 1 v))
(setq val default))
  (cond
--
1.6.0.2.526.g5c283.dirty

---Zitatende---

--
   Friedrich Delgado Friedrichs frie...@nomaden.org
Laziness led to the invention of the most useful tools.


___
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] Links to id:xxxxxx don't work in exported html

2009-01-08 Thread Friedrich Delgado Friedrichs
Hi!

I really like org-link-to-org-use-id, however it breaks links to
org items in html export for me.

I have the following test file:

** Test [[id:45c4a467-b6ee-497c-9ed7-40342738e1c2][Item in a different 
org-file]]
 - [[id:frz5htg0rhe0][Yet another item in a different org file]]

   [[id:8611fa8f-7460-47b6-8edd-67e1ec25c5ce][Local Item]]

** Local Item
   :PROPERTIES:
   :ID:   8611fa8f-7460-47b6-8edd-67e1ec25c5ce
   :END:

The two external links have the mentioned ids and the links work in org,
however html export gives me the following html snippet:

div id=outline-container-1.1 class=outline-3
h3 id=sec-1.11.1 Test 
ilt;id:45c4a467-b6ee-497c-9ed7-40342738e1c2gt;/i /h3
div id=text-1.1

ul
li
ilt;id:frz5htg0rhe0gt;/i

p
a href=#sec-1.2Local Item/a
/p
/li
/ul
/div

/div

div id=outline-container-1.2 class=outline-3
h3 id=sec-1.21.2 Local Item /h3
div id=text-1.2

/div
/div

i.e. only the internal link works, the links to different org files
are only displayed by their ids.


-- 
Friedrich Delgado Friedrichs frie...@nomaden.org
 TauPan on Ircnet and Freenode ;)


___
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] OFF-TOPIC - posting file snippets..

2009-01-08 Thread sergio_101
i realize that this is off topic, but i think it will help in the future
as i continue to post..

i have seen lots of people posting file snippets to this list that are
really well formatted.. something like:

--[filename.txt]--
| contents of |
|file |
---[end]---

well, not that ugly, but you get the idea..

my question is.. how are they doing that?

thanks!


___
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 files and directory hierarchies

2009-01-08 Thread Dan Davison
I was starting to wonder about the relationship between the hierarchy
defined by org files, and the file system hierarchy. This is just
thinking out loud really. In fact that might be a generous description
of a very vaguely-thought out idea.

It is obviously a very standard situation that a file exists that is
related to (a) heading(s) in (an) org files(s). And org provides the
file link for dealing with this situation. But where does one store
the file? The obvious answer is in the relevant directory. Which
implies that in addition to manually curating the structure of your
org-files, you are also manually curating an appropriately-structured
directory hierarchy. Fair enough; that is what people do with
computers, except for those that stick everything on the desktop until
they can't find anything...

But perhaps there's an alternative, hard-line, org position? This
would say something like: My org files are real. My directory
hierarchy is merely a manifestation of my org files.

So is there any future in thinking about an org extension that would
automatically maintain a directory hierarchy, mirroring the hierarchy
of headings in certain org files?

For example, at the moment, one of my org files contains an entry
saying I have to travel somewhere. I want to keep the pdf itinerary
somewhere sensible. Here are two options that occur to me:

(i) I lamely maintain some sort of meaningful directory hierarchy,
perhaps ~/travel/year/month/, or perhaps ~/work/project/travel/, put
the file in the relevant place, and make a file link in org.

(ii) I throw all such files in a single directory, and rely on org links.

But if the structure of org is truly reflecting the structure of my
life / thoughts, then wouldn't it make sense for the structure of my
directories to be doing that too? If so, then the job of maintaining
the correspondence between org and the directory hierarchy should be
left to the computer.

This would give rise to an org which is a text-based map of ones
working directories, with org files providing semantics and metadata
to the directory hierarchy and its files. The directory hierarchy
could be edited by org's structure editing commands. Etc.

... or maybe not. Was there any sense in the above? Perhaps others
have already found good solutions to this. Personally I have org files
and directories relating to the same subject with some sort of vague
but messy correspondence between their structures.

Dan

-- 
http://www.stats.ox.ac.uk/~davison


___
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: OFF-TOPIC - posting file snippets..

2009-01-08 Thread Chris Gray
Hi Sergio,

Check out boxquote.el at http://www.davep.org/emacs/boxquote.el

Cheers,
Chris

sergio_101 wrote:

 i realize that this is off topic, but i think it will help in the future
 as i continue to post..

 i have seen lots of people posting file snippets to this list that are
 really well formatted.. something like:

 --[filename.txt]--
 | contents of |
 |file |
 ---[end]---

 well, not that ugly, but you get the idea..

 my question is.. how are they doing that?

 thanks!


 ___
 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] Pulling Carsten's changes.

2009-01-08 Thread Scot Becker
Sergio,

Yes, the development version is the one Carsten is pushing changes to.  You
can see the activity here:
http://repo.or.cz/w/org-mode.git

If that's what you want, you can just clone it, as you said.

My guess is that instability will rarely be an issue, even with the cutting
edge.

Scot


On Thu, Jan 8, 2009 at 3:47 PM, sergio_101 sergiol...@village-buzz.comwrote:


 it looks like you guys may have found what was giving me problems with
 latex export. i would like to pull carsten's changes, but i have  a few
 questions before i get carried away..

 i am currently running 6.17c that i downloaded as a tarball. this is not
 under version control.

 my question is, if i git the development version, is that the one that
 carsten is pushing his changes to?

 also.. i have no problems with running development software, and am more
 than willing to contribute to the project, so i don't need to make sure
 that i have a stable tarball at all times.

 if this is the correct repo, i will just clone it, make it, and see if
 my latex issue goes away..

 thanks!


 ___
 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] Pulling Carsten's changes.

2009-01-08 Thread Matthew Lundin

Hi Sergio,

sergio_101 sergiol...@village-buzz.com writes:

 it looks like you guys may have found what was giving me problems with
 latex export. i would like to pull carsten's changes, but i have  a few
 questions before i get carried away..

 i am currently running 6.17c that i downloaded as a tarball. this is not
 under version control.

 my question is, if i git the development version, is that the one that
 carsten is pushing his changes to?

There's a nice FAQ entry on this:

http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development

- Matt


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


[Orgmode] Re: OFF-TOPIC - posting file snippets..

2009-01-08 Thread Paul R

sergio my question is.. how are they doing that?

A lot of us format our mails in emacs using filling, boxquotes,
rectangles etc. Some of us even send mail through emacs. The most
adventurous will read mail in emacs, using Gnus, or ViewMail, or Mew or
an other package.

So my guess is that the answer is emacs.

-- 
  Paul


___
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: LaTeX Export

2009-01-08 Thread Rasmus Pank Roulund
 I have tried to fix the issues with dollars, please download the
 latest GIT version and check if your stuff is now converted better.

I have gotten the newest git version from today. I have Org v6.17trans.

There is still something funny with $-signs.

Here are a couple of examples:
--
LaTeX output: 
  \item Hvis en vare har input \$x\$ \dots

Org:
  - Hvis en vare har input $x$ \dots
--
LaTeX output:
   $$M\overline{V}=P\overline{Y}$$
   \$M\$ er bestemt af centralbanken, og det eneste den bestemmer er
   prisniveauet.

Org:
 - Produktionsfunktionen brugt af monetarister:
   $$M\overline{V}=P\overline{Y}$$
   $M$ er bestemt af centralbanken, og det eneste den bestemmer er
   prisniveauet.
--
LaTeX output (this one is particuarily troublesome):
  \item På arbejdsmarkedet bestemmes ligevægten imellem $L_d$ og $L_s\$
   Her ud fra findes ligevægten i udbudet.

Org:
 - På arbejdsmarkedet bestemmes ligevægten imellem $L_d$ og $L_s$
   Her ud fra findes ligevægten i udbudet.
--
LaTeX (also troublesome):
  \item Givet ved $y=f(l, k)\$

Org: 
 - Givet ved $y=f(l, k)$
--
There are lots of \$ in the end of math even though there is no line
break.

Cheers,
Rasmus



___
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] Pulling Carsten's changes.

2009-01-08 Thread William Henney
On Thu, Jan 8, 2009 at 10:58 AM, Matthew Lundin m...@imapmail.org wrote:

 There's a nice FAQ entry on this:

 http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development


This reminds me that I had a couple of minor niggles with this process
when I tried to pull a new version:

1. Shouldn't the Makefile install target have install-info added
as a dependency? Otherwise, item 3 of the FAQ entry should be modified
to include make install-info. Also, the default installation
directory is /usr/local, which is not usually user-writable, so it
should be sudo make install.

2. Item 6 in the FAQ entry says You should restart org mode to have
the changes take effect. What is the best way to do this? I couldn't
get anything to work, short of rebooting emacs.

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


Re: [Orgmode] Re: OFF-TOPIC - posting file snippets..

2009-01-08 Thread Manish
  On Thu, Jan 8, 2009 at 10:53 PM, Paul R wrote:
  
   sergio my question is.. how are they doing that?
  
   A lot of us format our mails in emacs using filling, boxquotes,
   rectangles etc. Some of us even send mail through emacs. The most
   adventurous will read mail in emacs, using Gnus, or ViewMail, or Mew or
   an other package.
  
   So my guess is that the answer is emacs.

Well said.

For those using Firefox/Iceweasel addon It's All Text is worth
looking into.  Using this one can use Emacs anywhere there's a text
box.

-- 
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] Pulling Carsten's changes.

2009-01-08 Thread Manish
  On Thu, Jan 8, 2009 at 11:27 PM, William Henney wrote:
   On Thu, Jan 8, 2009 at 10:58 AM, Matthew Lundin wrote:
  
   There's a nice FAQ entry on this:
  
   
http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development
  
  
   This reminds me that I had a couple of minor niggles with this process
   when I tried to pull a new version:
  
   1. Shouldn't the Makefile install target have install-info added
   as a dependency? Otherwise, item 3 of the FAQ entry should be modified
   to include make install-info. Also, the default installation
   directory is /usr/local, which is not usually user-writable, so it
   should be sudo make install.

FWIW, I just do make clean  make  make doc and skip make
install entirely (and refer to HTML documentation.)  I guess it's
okay for me since I am the sole user of this installation.  Location
of Org is added to .emacs by:

,
| (add-to-list 'load-path ~/elisp/org-mode.git/lisp)
`

So it's just cd ~/elisp/org-mode.git/  git pull  make clean 
make  make doc (followed by reloading org from inside Emacs)
whenever I wish to upgrade.

   2. Item 6 in the FAQ entry says You should restart org mode to have
   the changes take effect. What is the best way to do this? I couldn't
   get anything to work, short of rebooting emacs.

You can reload Org mode by M-x org-mode-restart but I also found a
few times that it did not work.  And then Bernt posted this a while
ago which solved the problem of loading new version for me.

,
| (setq my-org-mode-git-directory ~/elisp/org-mode.git)
|
| (defun org-reload-org (optional source)
|   Reload Compiled Org lisp files.
|   (interactive p)
|   (message source is %s source)
|   (if (equal source 4)
|   (setq my-org-files \\.el\\')
| (setq my-org-files \\.elc\\'))
|   (mapc (lambda(f) (load (car f)))
| (directory-files-and-attributes (concat
my-org-mode-git-directory /lisp) t my-org-files)))
`

Regards,
-- 
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] export to latex..

2009-01-08 Thread Manish
On Wed, Jan 7, 2009 at 11:48 PM, sergio wrote:
 For example:  did you upgrade today?

 no upgrades on anything..


 What is your current version?

 current version: 6.12a

 Do you have a small example file which does already reproduce the problem?


 here is a file called test.org that i tried to export:

  test.org 
 * This is a heading
 and some text

 1 this
  that
  the other

 1. a point.
 2. another point.


  end file 

This file exports fine to PDF.

-- 
Manish
WinXP SP2, TexLive 2008, Emacs 22.3, Latest 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


Re: [Orgmode] Re: OFF-TOPIC - posting file snippets..

2009-01-08 Thread Richard Riley
Manish mailtomanish.sha...@gmail.com writes:

   On Thu, Jan 8, 2009 at 10:53 PM, Paul R wrote:
   
sergio my question is.. how are they doing that?
   
A lot of us format our mails in emacs using filling, boxquotes,
rectangles etc. Some of us even send mail through emacs. The most
adventurous will read mail in emacs, using Gnus, or ViewMail, or Mew or
an other package.
   
So my guess is that the answer is emacs.

 Well said.

 For those using Firefox/Iceweasel addon It's All Text is worth
 looking into.  Using this one can use Emacs anywhere there's a text
 box.

To be specific, the OP needs boxquote.el. I have it bound thus:

,
| (define-key mode-specific-map [?q] 'boxquote-region)
`

So in Gnus it's C-c q on a region in 

,
| order to boxquote like this
`


And with things like It's All Text, be aware of emacs --daemon and 
emacsclient -c.

e.g In my .xsession I have:

,
| pidof emacs || emacs --daemon
`

which starts emacs if not already running as a server.

Then one can have a permanent emacs server running and connect to it
from a terminal, script etc. using

,
| emacsclient
`

Note that its all text requires full path e.g

,
| /usr/local/bin/emacsclient
`

The daemon is a feature of Emacs 23 which I pull from the following git
repository

,
| git://git.sv.gnu.org/emacs.git
`

All good stuff!

-- 
 important and urgent problems of the technology of today are no longer the 
satisfactions of the primary needs or of archetypal wishes, but the reparation 
of the evils and damages by the technology of yesterday.  ~Dennis Gabor, 
Innovations:  Scientific, Technological and Social, 1970


___
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] path completion with file: links?

2009-01-08 Thread Dan Davison
When creating a file link with C-c C-l, I appreciate that the initial
file: specifier is autocompleted for me, but I don't subsequently get
autocompletion on path names. Is that supposed to happen, and if not
would it be possible / how difficult would it be?

Thanks,

Dan

-- 
http://www.stats.ox.ac.uk/~davison


___
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] org files and directory hierarchies

2009-01-08 Thread David Lord


On 8 Ion 2009, at 17:07, Matthew Lundin wrote:


One caveat. Org attach doesn't work in quite this way. The data
directory hierarchy isn't really human readable (i.e., it doesn't
mirror the org outline hierarchy). But that would be a nightmare to
make work, I imagine, because of constant changes to the org outline
structure. Rather, directories containing files are attached to
outline headings via automatically generated IDs.


Well, why not allow the user to choose a directory, there's no real  
reason why the directory structure has to match the org file?


I started using attachments when the feature came out and really  
liked them, especially the simple interface for choosing a file to  
attach (even better with ido).  But after a while, I found the fact  
that I could only reasonably get to attachments through the org file  
difficult to work with - what happens when I've finished a task and  
archived it off?  I've got to go hunting through the archive file to  
find the old task before I can find the attachments.  So I stopped  
using them and decided I'd use normal hyperlinks instead.  But then I  
found out just how awkward is is to have to either cut-and-paste the  
directory path or type it in manually whenever I want to link to a file.


Regards
David Lord


___
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] path completion with file: links?

2009-01-08 Thread Matthew Lundin

Hi Dan,

Dan Davison davi...@stats.ox.ac.uk writes:

 When creating a file link with C-c C-l, I appreciate that the initial
 file: specifier is autocompleted for me, but I don't subsequently get
 autocompletion on path names. Is that supposed to happen, and if not
 would it be possible / how difficult would it be?

Try adding a prefix argument to C-c C-l. 

C-u C-c C-l should do the trick.

- Matt


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


Re: [Orgmode] org files and directory hierarchies

2009-01-08 Thread Carsten Dominik


On Jan 8, 2009, at 9:40 PM, David Lord wrote:



On 8 Ion 2009, at 17:07, Matthew Lundin wrote:


One caveat. Org attach doesn't work in quite this way. The data
directory hierarchy isn't really human readable (i.e., it doesn't
mirror the org outline hierarchy). But that would be a nightmare to
make work, I imagine, because of constant changes to the org outline
structure. Rather, directories containing files are attached to
outline headings via automatically generated IDs.


Well, why not allow the user to choose a directory, there's no real  
reason why the directory structure has to match the org file?


I started using attachments when the feature came out and really  
liked them, especially the simple interface for choosing a file to  
attach (even better with ido).  But after a while, I found the fact  
that I could only reasonably get to attachments through the org file  
difficult to work with - what happens when I've finished a task and  
archived it off?  I've got to go hunting through the archive file to  
find the old task before I can find the attachments.  So I stopped  
using them and decided I'd use normal hyperlinks instead.  But then  
I found out just how awkward is is to have to either cut-and-paste  
the directory path or type it in manually whenever I want to link to  
a file.


Did you see Matt' answer in the other thread?  That will also work for  
you.


- Carsten

http://thread.gmane.org/gmane.emacs.orgmode/10330/focus=10331




Regards
David Lord


___
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: LaTeX Export

2009-01-08 Thread Carsten Dominik

Hi Rasmus,

please keep testing!

I have fixed the issues you mentioned in you mail - I am
sure there will be more.

Parsing TeX is hard, parsing pseudo-TeX like in Org-mode
is even harder.  Note that this will never be perfect.
In particular, $-parsing is a bitch.  You can elagantly
cheat out by using \(...\) and \[...\] instead.

- Carsten

On Jan 8, 2009, at 6:48 PM, Rasmus Pank Roulund wrote:


I have tried to fix the issues with dollars, please download the
latest GIT version and check if your stuff is now converted better.


I have gotten the newest git version from today. I have Org  
v6.17trans.


There is still something funny with $-signs.

Here are a couple of examples:
--
LaTeX output:
 \item Hvis en vare har input \$x\$ \dots

Org:
 - Hvis en vare har input $x$ \dots
--
LaTeX output:
  $$M\overline{V}=P\overline{Y}$$
  \$M\$ er bestemt af centralbanken, og det eneste den bestemmer  
er

  prisniveauet.

Org:
- Produktionsfunktionen brugt af monetarister:
  $$M\overline{V}=P\overline{Y}$$
  $M$ er bestemt af centralbanken, og det eneste den bestemmer er
  prisniveauet.
--
LaTeX output (this one is particuarily troublesome):
 \item På arbejdsmarkedet bestemmes ligevægten imellem $L_d$ og  
$L_s\$

  Her ud fra findes ligevægten i udbudet.

Org:
- På arbejdsmarkedet bestemmes ligevægten imellem $L_d$ og $L_s$
  Her ud fra findes ligevægten i udbudet.
--
LaTeX (also troublesome):
 \item Givet ved $y=f(l, k)\$

Org:
- Givet ved $y=f(l, k)$
--
There are lots of \$ in the end of math even though there is no line
break.

Cheers,
Rasmus



___
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] Windows and emacs

2009-01-08 Thread Raimund Kohl-Füchsle
Hi guys,

it may happen that I have to switch to Windows XP and since I have no
idea how XP works (up to this point in time I only ran Linux machines) I
thought to ask since I want to stick with org-mode: How do I get
org-mode and emacs run best with XP?  As far as I know there are at
least two ways to get emacs running; one is to simply download emacs,
two is downloading cygwin; if it is cygwin that I have to go with then
which emacs?  If I saw it right there are several choices ... ummm ...
any hints on that?

Thanx in advance

ray


___
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] Links to id:xxxxxx don't work in exported html

2009-01-08 Thread Carsten Dominik

Hi Friedrich,

thanks for bringing this up.  Yes, this should work.
Back when I did the id links, I thought it would be very hard,
but fortunately I did put the basic framework for additional
targets in place already a while ago, in response to a request
by Matt for hard targets that are good for permanent HTML links.

Now you can use the ID's.  The advantage is that, as you move
links around, they will continue to work.  So this is really
great for Notes that you might want to re-organize.

On the other hand, when building a website, explicit targets
may be more self-explanatory:

#hard-target
* Headline that should be linked to

HTH

- Carsten

On Jan 8, 2009, at 3:49 PM, Friedrich Delgado Friedrichs wrote:


Hi!

I really like org-link-to-org-use-id, however it breaks links to
org items in html export for me.

I have the following test file:

** Test [[id:45c4a467-b6ee-497c-9ed7-40342738e1c2][Item in a  
different org-file]]

- [[id:frz5htg0rhe0][Yet another item in a different org file]]

  [[id:8611fa8f-7460-47b6-8edd-67e1ec25c5ce][Local Item]]

** Local Item
  :PROPERTIES:
  :ID:   8611fa8f-7460-47b6-8edd-67e1ec25c5ce
  :END:

The two external links have the mentioned ids and the links work in  
org,

however html export gives me the following html snippet:

div id=outline-container-1.1 class=outline-3
h3 id=sec-1.11.1 Test ilt;id:45c4a467- 
b6ee-497c-9ed7-40342738e1c2gt;/i /h3

div id=text-1.1

ul
li
ilt;id:frz5htg0rhe0gt;/i

p
a href=#sec-1.2Local Item/a
/p
/li
/ul
/div

/div

div id=outline-container-1.2 class=outline-3
h3 id=sec-1.21.2 Local Item /h3
div id=text-1.2

/div
/div

i.e. only the internal link works, the links to different org files
are only displayed by their ids.


--
   Friedrich Delgado Friedrichs frie...@nomaden.org
TauPan on Ircnet and Freenode ;)


___
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] Windows and emacs

2009-01-08 Thread Mike Newman
On Thu, 08 Jan 2009 22:41:36 +0100
Raimund Kohl-Füchsle m...@rk-f.me wrote:

 Hi guys,
 
 it may happen that I have to switch to Windows XP and since I have no
 idea how XP works (up to this point in time I only ran Linux
 machines) I thought to ask since I want to stick with org-mode: How
 do I get org-mode and emacs run best with XP?  As far as I know there
 are at least two ways to get emacs running; one is to simply download
 emacs, two is downloading cygwin; if it is cygwin that I have to go
 with then which emacs?  If I saw it right there are several
 choices ... ummm ... any hints on that?
 
 Thanx in advance
 
 ray
 
 
 ___
 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

What I use is the EmacsW32
(http://ourcomments.org/Emacs/EmacsW32.html).  This gives you recent
snapshot of Emacs 23 (I use the patched version).

I also recommend installing cygwin, and doing a little bit of work in
getting emacs to use it (not difficult, but I can't remember the
details).  If you know linux, you are sure to find it useful.  I don't
suggest using a cygwin build of emacs (I think the native build will be
easier to use).

One advantage of having cygwin installed is that you can then use make
to build you a new version of org.

Hope this is helpful.
-- 
Mike


___
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: Links to id:xxxxxx don't work in exported html

2009-01-08 Thread Tom Breton (Tehom)
 Message: 4
 Date: Thu, 8 Jan 2009 15:49:16 +0100
 From: Friedrich Delgado Friedrichs frie...@nomaden.org
 Subject: [Orgmode] Links to id:xx don't work in exported html
 To: Emacs-orgmode mailing list emacs-orgmode@gnu.org
 Message-ID: 20090108144916.gb5...@taupan.ath.cx
 Content-Type: text/plain; charset=us-ascii

 Hi!

 I really like org-link-to-org-use-id, however it breaks links to
 org items in html export for me.

 I have the following test file:

 ** Test [[id:45c4a467-b6ee-497c-9ed7-40342738e1c2][Item in a different
 org-file]]
[snip]

 The two external links have the mentioned ids and the links work in org,
 however html export gives me the following html snippet:

 div id=outline-container-1.1 class=outline-3

Looks like the problem is that it is html-escaped because it's the headline.
I actually think this is the right behavior.

Tom Breton (Tehom)





___
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] Windows and emacs

2009-01-08 Thread Manish
On Fri, Jan 9, 2009 at 3:48 AM, Mike Newman wrote:
[snip]
 What I use is the EmacsW32
 (http://ourcomments.org/Emacs/EmacsW32.html). This gives you recent
 snapshot of Emacs 23 (I use the patched version).

Does tramp work well on it?

-- 
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] Does secondary filtering allow multiple tags?

2009-01-08 Thread Carsten Dominik


On Jan 9, 2009, at 2:55 AM, Hsiu-Khuern Tang wrote:


Hi all,

Suppose I have tagged some of my TODO headings.  In an agenda view,  
is it
currently possible to filter (using org-agenda-filter-by-tag) all  
entries that
are tagged with (say) either project1 _or_ project2?  One can  
certainly do

project1 _and_ project2 by narrowing the filter.


No.

- Carsten




I am trying to look at my weekly agenda, restricted to two  
particular projects

that are identified using tags.

I tried defining a custom agenda view with a org-agenda-skip- 
function defined
to match :project1: or :project2:, but this doesn't work with  
inherited

tags.

--
Best,
Hsiu-Khuern.


___
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] worg recent changes exported page?

2009-01-08 Thread Carsten Dominik

What is the worg recent changes page?

- Carsten

On Jan 9, 2009, at 4:05 AM, Samuel Wales wrote:

On the worg recent changes page, is there a way to show the page on  
the wiki?


Thanks.

--
For personal gain, myalgic encephalomyelitis denialists are knowingly
causing further suffering and death by grossly corrupting science.  Do
you care about the world?
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