Re: [Orgmode] full production use of org-mode: time to say thanks again!

2010-10-11 Thread Nicolas Goaziou
Hello,

Could you try the following patch and tell me if it fixes your issue?

As a side note (to maintainers), the second patch isn't really needed,
but I thought, while I was at it, that it would make sense
(`org-inlinetask-min-level' doesn't need to be a boolean).

Regards,

-- Nicolas

From ab4b86b56654887be564d0519dd9e4407d9fc732 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou n.goaz...@gmail.com
Date: Mon, 11 Oct 2010 08:10:31 +0200
Subject: [PATCH 1/2] Fix indentation of text after an inline task.

* org.el (org-indent-line-function): Conditionnaly indent text inside
  and outside indented tasks. Also skip any list above point.
* org-inlinetask.el (org-inlinetask-in-task-p): new function.
---
 lisp/org-inlinetask.el |   16 
 lisp/org.el|   21 ++---
 2 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el
index fce515d..e18dce8 100644
--- a/lisp/org-inlinetask.el
+++ b/lisp/org-inlinetask.el
@@ -129,6 +129,22 @@ If prefix arg NO-STATE is set, ignore 
`org-inlinetask-defaut-state'.
   (end-of-line -1))
 (define-key org-mode-map \C-c\C-xt 'org-inlinetask-insert-task)
 
+(defun org-inlinetask-in-task-p ()
+  Return true if point is inside an inline task.
+  (save-excursion
+(let* ((nstars (if org-odd-levels-only
+  (1- (* 2 (or org-inlinetask-min-level 200)))
+(or org-inlinetask-min-level 200)))
+  (stars-re (concat ^\\(?:\\*\\{
+(format %d (- nstars 1))
+,\\}\\)[ \t]+))
+  (task-beg-re (concat stars-re \\(?:.*\\)))
+  (task-end-re (concat stars-re \\(?:END\\|end\\
+  (beginning-of-line)
+  (or (looking-at task-beg-re)
+ (and (re-search-forward ^\\*+[ \t]+ nil t)
+  (progn (beginning-of-line) (looking-at task-end-re)))
+
 (defvar htmlp)  ; dynamically scoped into the next function
 (defvar latexp) ; dynamically scoped into the next function
 (defun org-inlinetask-export-handler ()
diff --git a/lisp/org.el b/lisp/org.el
index a80286f..d9e26e9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -18601,6 +18601,8 @@ which make use of the date at the cursor.
 (itemp (org-at-item-p))
 (case-fold-search t)
 (org-drawer-regexp (or org-drawer-regexp \000))
+(inline-task-p (and (featurep 'org-inlinetask)
+(org-inlinetask-in-task-p)))
 column bpos bcol tpos tcol bullet btype bullet-type)
 ;; Find the previous relevant line
 (beginning-of-line 1)
@@ -18656,7 +18658,14 @@ which make use of the date at the cursor.
  ;; what to do.
  (t
   (beginning-of-line 0)
-  (while (and (not (bobp)) (looking-at [ \t]*[\n:#|])
+  (while (and (not (bobp))
+ ;; skip comments, verbatim, empty lines, tables,
+ ;; inline tasks
+ (or (looking-at [ \t]*[\n:#|])
+ (and (org-in-item-p) (goto-char (org-list-top-point)))
+ (and (not inline-task-p)
+  (featurep 'org-inlinetask)
+  (org-inlinetask-in-task-p)))
  (not (looking-at [ \t]*:END:))
  (not (looking-at org-drawer-regexp)))
(beginning-of-line 0))
@@ -18675,16 +18684,6 @@ which make use of the date at the cursor.
((looking-at \\([ \t]*\\):END:)
(goto-char (match-end 1))
(setq column (current-column)))
-   ;; There was a list that since ended: indent relatively to
-   ;; current heading.
-   ((org-in-item-p)
-   (outline-previous-heading)
-   (if (and org-adapt-indentation
-(looking-at \\*+[ \t]+))
-   (progn
- (goto-char (match-end 0))
- (setq column (current-column)))
- (setq column 0)))
;; Else, nothing noticeable found: get indentation and go on.
(t (setq column (org-get-indentation))
 (goto-char pos)
-- 
1.7.3.1

From 89caeaa34fb2e76626954226e51f29590ecaba91 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou n.goaz...@gmail.com
Date: Mon, 11 Oct 2010 08:25:53 +0200
Subject: [PATCH 2/2] inlinetask: Make `org-inlinetask-min-level' an integer 
instead of a boolean.

* org-footnote.el (org-footnote-normalize): Remove unnecessary check
  for org-inlinetask-min-level.
* org-inlinetask.el (org-inlinetask-min-level): Variable is now of
  type integer.
* org-inlinetask.el (org-inlinetask-in-task-p): Remove unnecessary check
  for org-inlinetask-min-level.
* org-inlinetask.el (org-inlinetask-export-handler): Remove unnecessary check
  for org-inlinetask-min-level.
* org-inlinetask.el (org-inlinetask-fontify): Remove unnecessary check
  for org-inlinetask-min-level.
---
 lisp/org-footnote.el   |1 -
 lisp/org-inlinetask.el |   14 +++---
 lisp/org.el|1 -
 3 files changed, 7 insertions(+), 9 deletions(-)

diff --git 

Re: [Orgmode] Feature request

2010-10-11 Thread Carsten Dominik


On Oct 10, 2010, at 3:50 PM, David Abrahams wrote:



Hi All,

I have to reschedule quite a few items daily.  Often they're
yesterday's items that I need to reschedule for today.

 `C-c C-s . RET'

is a bit much typing for that, so I re-bound `S' to
org-agenda-schedule.  But

 `S . RET'

is still a bit much.  I'd like it if the default when rescheduling was
always for today, instead of the date the item is already scheduled
for, so I could

 `S RET'

in the usual case.  What about a customizable option to set the
default schedule-for date?


After giving this some thought, I don't this this can be done in a  
clear and non-confusing way.  I do think it is necessary to somehow  
change the date relative to what the previously set date is.  The only  
way to make this half way transparently is to show that date in the  
prompt as the default date.


There was lots of good advice to so what you want in different ways,
including not rescheduling, or using bulk actions in the agenda.

Finally, if you still want a fast command doing this:

(defun org-agenda-reschedule-to-today ()
  (interactive)
  (flet ((org-read-date (rest rest) (current-time)))
(call-interactively 'org-agenda-schedule)))


- Carsten


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


Re: [Orgmode] centering text in html

2010-10-11 Thread Carsten Dominik


On Oct 10, 2010, at 7:27 PM, Vinh Nguyen wrote:


Dear all,

Sorry this may seem trivial but I'm not getting any success.  I'm
trying to get the following centered when outputting to html:

{ [[file:index.org][Home]] | [[file:files.org][Announcements and  
Files]] }


Can anyone help?  Thanks.


You give us *very* little to chew on.
How about:

- what have you tried?
- an example HTML code that would do the right thing

etc etc etc.  If you want people to help you solve a problem,
please do your part by giving them *as much as possible* information.

- Carsten



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


[Accepted] [Orgmode] small typo in docstring of org-beamer.el (herder - header)

2010-10-11 Thread Carsten Dominik
Patch 305 (http://patchwork.newartisans.com/patch/305/) is now Accepted.

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3C11224.1286662865%40rgc.damtp.cam.ac.uk%3E

Here is the original message containing the patch:

 Content-Type: text/plain; charset=utf-8
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Subject: [Orgmode] small typo in docstring of org-beamer.el (herder - header)
 Date: Sun, 10 Oct 2010 03:21:05 -
 From: Stephen Eglen s.j.eg...@damtp.cam.ac.uk
 X-Patchwork-Id: 305
 Message-Id: 11224.1286662...@rgc.damtp.cam.ac.uk
 To: emacs-orgmode@gnu.org
 Cc: Stephen Eglen s.j.eg...@damtp.cam.ac.uk
 
 git diff lisp/org-beamer.el
 
 
 diff --git a/lisp/org-beamer.el b/lisp/org-beamer.el
 index 2631e70..49b3499 100644
 --- a/lisp/org-beamer.el
 +++ b/lisp/org-beamer.el
 @@ -382,7 +382,7 @@ The need to be after the begin statement of the 
 environment.
 (insert dovl)))
  
  (defun org-beamer-amend-header ()
 -  Add `org-beamer-header-extra' to the LaTeX herder.
 +  Add `org-beamer-header-extra' to the LaTeX header.
  If the file contains the string BEAMER-HEADER-EXTRA-HERE on a line
  by itself, it will be replaced with `org-beamer-header-extra'.  If not,
  the value will be inserted right after the documentclass statement.
 

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


Re: [Orgmode] full production use of org-mode: time to say thanks again!

2010-10-11 Thread Carsten Dominik

Hi,

On Oct 11, 2010, at 8:34 AM, Nicolas Goaziou wrote:


Hello,

Could you try the following patch and tell me if it fixes your issue?


A quick test shows that things seem to work well in inlinetasks which  
are properly ended with an END line.


There is also a dirty form of inline tasks which allows
only a planning line (SCHEDULED etc) and one or several
drawers directly after the task line, and then no
END line is necessary.  But I guess it is fair
to force the END line if you do want to have
proper indentation.

Eric Fraga, have you tested the patch yet?  Please do
so when you wake up from your two-week sleep, so that
we can check this in.

Thanks Nicolas!

I am seeing now two things that should be added:

  - M-RET after inline tasks should ignore the inline task
and make a new entry with normal indentation
  - Maybe I should treat inline tasks with proper END
statement as a drawer and fold it?  Comments?




As a side note (to maintainers), the second patch isn't really needed,
but I thought, while I was at it, that it would make sense
(`org-inlinetask-min-level' doesn't need to be a boolean).


Hmmm, what happens is a user has customized this variable and it has a  
value nil.  I guess then your patch will break things?


So I think we need to keep testing the value in the code, but it is OK  
to change the customize type.




Regards,

-- Nicolas

0001-Fix-indentation-of-text-after-an-inline-task.patch0002- 
inlinetask-Make-org-inlinetask-min-level-an-integer-.patch


- Carsten




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


Re: [Orgmode] full production use of org-mode: time to say thanks again!

2010-10-11 Thread Carsten Dominik


On Oct 10, 2010, at 7:56 PM, Eric S Fraga wrote:

On Sat, 9 Oct 2010 17:26:43 +0200, Carsten Dominik carsten.domi...@gmail.com 
 wrote:

On Oct 9, 2010, at 12:46 PM, Eric S Fraga wrote:


[...]


As an aside, I also had to prepare a new set of lecture slides for a
course I teach.  I used org, of course, with beamer support.  Again,
everything worked well.  What was particularly nice this time was  
that
this particular course requires showing Octave code and the  
outputs of
such code.  Babel, in combination with the listings latex package,  
is

an ideal tool for this!  My slides look (in my obviously biased
opinion) incredibly professional.


Can you publish the slides?  I'd like to take a look!
Maybe even with the source?


I can't as such (some copyright material) but I can give an
illustration of the type of slide (attached) that babel now allows me
to do every so easily!  From a pedagogical point of view, having code
which runs and automatically creates the content to be presented is
fantastic.  No errors in transcription etc.


Thanks, this looks really good.  I am wondering if I can recruit you  
to add such an example including the required babel setup to your  
BEAMER tutorial?


- Carsten




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


Re: [Orgmode] [WIP] OpenOffice Exporter

2010-10-11 Thread Eric S Fraga
On Sun, 10 Oct 2010 12:09:50 +0530, Jambunathan K kjambunat...@gmail.com 
wrote:
 
 
 I am working on a Org-OpenOffice/ODT exporter. 
 
 This is a WIP announcement. I am posting this with an intention to hear
 of and preferably avoid any parallell efforts.
 
 I am basing it on org-html.el. 
 
 As it stands now in my own work area, it can export an outline structure
 and has support for
 
 1. character styles 
- bold, italic, underline, strikethrough, code, verbatim
 
 2. paragraph styles
- quote, verse, center, example and source code
 
 3. lists
- numbered, bulleted and description lists
 
 4. table of contents
 
 Still a long a way to go ...

but sounds good so far.  Although org-html-OOo works fine, I would
definitely like to remove the one unnecessary step.

How are you going to handle images?  I want to make sure that the
document that is exported has images inside the document (as opposed
to links), at least optionally, so that I can share documents
properly.  Will this be possible?

Thanks,
eric
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] full production use of org-mode: time to say thanks again!

2010-10-11 Thread Eric S Fraga
On Mon, 11 Oct 2010 10:01:53 +0200, Carsten Dominik carsten.domi...@gmail.com 
wrote:
 
 
 On Oct 10, 2010, at 7:56 PM, Eric S Fraga wrote:

[...]

 
  I can't as such (some copyright material) but I can give an
  illustration of the type of slide (attached) that babel now allows me
  to do every so easily!  From a pedagogical point of view, having code
  which runs and automatically creates the content to be presented is
  fantastic.  No errors in transcription etc.
 
 Thanks, this looks really good.  I am wondering if I can recruit you
 to add such an example including the required babel setup to your
 BEAMER tutorial?
 
 - Carsten
 
 
 

I'd be happy to!  On my todo list now ;-)
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [WIP] OpenOffice Exporter

2010-10-11 Thread Giovanni Ridolfi
Jambunathan K kjambunat...@gmail.com writes:

Hi, Jambunathan,

 Russell Adams rlad...@adamsinfoserv.com writes:

 On Sun, Oct 10, 2010 at 12:09:50PM +0530, Jambunathan K wrote:

 I am working on a Org-OpenOffice/ODT exporter.


 Is there a problem exporting to HTML and just opening that in OOffice?

 AFAICS, No.

 That's my normal solution, works in Word too.

 If a new exporter is available and is as good as your normal solution,
 would you abandon your current preference in favour of the new
 exporter

There is also the org-DocBook exporter. DocBook files can be read by OOo
see:
http://xml.openoffice.org/xmerge/docbook/index.html

cheers,
Giovanni

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


[Orgmode] Re: full production use of org-mode: time to say thanks again!

2010-10-11 Thread Paul Mead
Carsten Dominik carsten.domi...@gmail.com writes:

 I am seeing now two things that should be added:

   - M-RET after inline tasks should ignore the inline task
 and make a new entry with normal indentation
   - Maybe I should treat inline tasks with proper END
 statement as a drawer and fold it?  Comments?

I was thinking the other day that this would be a useful change - I was
wondering why it didn't work the same as other similar structures, so a
vote from me for this change.

Paul


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


Re: [Orgmode] [WIP] OpenOffice Exporter

2010-10-11 Thread Jambunathan K

Hi Eric

Eric S Fraga ucec...@ucl.ac.uk writes:

 On Sun, 10 Oct 2010 12:09:50 +0530, Jambunathan K kjambunat...@gmail.com 
 wrote:
 
 
 I am working on a Org-OpenOffice/ODT exporter. 
 
 This is a WIP announcement. I am posting this with an intention to hear
 of and preferably avoid any parallell efforts.
 
 I am basing it on org-html.el. 
 
 As it stands now in my own work area, it can export an outline structure
 and has support for
 
 1. character styles 
- bold, italic, underline, strikethrough, code, verbatim
 
 2. paragraph styles
- quote, verse, center, example and source code
 
 3. lists
- numbered, bulleted and description lists
 
 4. table of contents
 
 Still a long a way to go ...

 but sounds good so far.  Although org-html-OOo works fine, I would
 definitely like to remove the one unnecessary step.

Export should be as simple as C-c C-e o nothing more. That's what I have
defined as the default key binding for Open Office exporter.

 How are you going to handle images?  

I like this question. 

It looks like Org-html-OOo exporter falls short of expectations
atleast wrt working with images. This in itself will justify my
development efforts [1].

 I want to make sure that the document that is exported has images
 inside the document (as opposed to links), at least optionally, so
 that I can share documents properly.  Will this be possible?


Short answer:
Yes it is possible. 
I will make embedding images in the ODT document an optional feature.

Long answer:
I tried the Org-htmlOOo route and I understand what you mean.

I 'hand edited' the resulting odt file the following way and was able to
accomplish what you desire.

1. Unzip it (dot file is just a *.zip archive)
2. Create Pictures folder within the Unzipped archive and copy over the
   needed images in to that folder.
3. Fixup META-INF/manifest.xml to contain entries for the images that
   moved over.
4. Update content.xml with the new path for the images.
5. Zip up the archive with an ODT extension.
6. The document is ready to be served.

Footnotes:

[1] There are some discussions about issues with cross-references +
bibliographic entries in the existing Org-Intermediate Format-ODT
conversion sequence. 

It would be good if the users record the limitations with such export
procedures in specific details in this thread.


 Thanks,
 eric

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


Re: [Orgmode] Re: [WIP] OpenOffice Exporter

2010-10-11 Thread Jambunathan K

Hi

Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 Jambunathan K kjambunat...@gmail.com writes:

 Hi, Jambunathan,

 Russell Adams rlad...@adamsinfoserv.com writes:

 On Sun, Oct 10, 2010 at 12:09:50PM +0530, Jambunathan K wrote:

 I am working on a Org-OpenOffice/ODT exporter.


 Is there a problem exporting to HTML and just opening that in OOffice?

 AFAICS, No.

 That's my normal solution, works in Word too.

 If a new exporter is available and is as good as your normal solution,
 would you abandon your current preference in favour of the new
 exporter

 There is also the org-DocBook exporter. DocBook files can be read by OOo
 see:
 http://xml.openoffice.org/xmerge/docbook/index.html


Thanks for the suggestion. If I run in to some serious road-block with
my new converter I think I can consult existing converters to show me
the way forward.

Do you use this converter personally? What are your observations?

The entries in the issue tracker seem to be anywhere between 3-7 years
old. The converter is quite stable I suppose.

 cheers,
 Giovanni

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


[Orgmode] configuring Org agenda faces by priority

2010-10-11 Thread Rainer Stengele
hi all,

I want to see my prio A agenda items in a higher font size than prio b or prio 
c.
I did not find a specific face like org-agenda-priority-face or similar.
Is there a possibility to set a specific font size dependant on the prio?

thanks,
- Rainer


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


[Orgmode] column view: local doesn't seem to work for me

2010-10-11 Thread Eric S Fraga
Hello,

simple question: does using local as the source for column capture
view work?  I've not been able to get it to work at all, always being
told that Cannot find entry with :ID: local.  Am I doing something
wrong?  I have followed the org manual (7.5.3) directives as far as I
can tell...

Using the actual ID works, however, but is clumsy compared with being
able to specify the local subtree quickly.

Thanks,
eric
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] centering text in html

2010-10-11 Thread Vinh Nguyen
On Mon, Oct 11, 2010 at 12:41 AM, Carsten Dominik
carsten.domi...@gmail.com wrote:
 You give us *very* little to chew on.

Sorry about this.  I meant to elicit on what folks do when they want
to center text I general.  I should've known better to put down what
I've tried.  I just got it working but will also put down what I tried
to let others know what did not work.

 How about:

 - what have you tried?

#+HTML: p style=text-align: center;
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML: /p

and

#+HTML: DIV CLASS=centeralign
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML: /div


 - an example HTML code that would do the right thing


THIS WORKED:
#+HTML: div align=center
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML: /div


 etc etc etc.  If you want people to help you solve a problem,
 please do your part by giving them *as much as possible* information.

 - Carsten

-- Vinh

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


Re: [Orgmode] full production use of org-mode: time to say thanks again!

2010-10-11 Thread Nicolas Goaziou
 Carsten Dominik writes:

 As a side note (to maintainers), the second patch isn't really
 needed, but I thought, while I was at it, that it would make sense
 (`org-inlinetask-min-level' doesn't need to be a boolean).

 Hmmm, what happens is a user has customized this variable and it has
 a value nil. I guess then your patch will break things?

Probably. I wasn't sure a nil value would have any meaning and thus
that anyone would set it so.

Regards,

-- Nicolas



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


Re: [Orgmode] Feature request

2010-10-11 Thread David Abrahams
At Mon, 11 Oct 2010 09:21:05 +0200,
Carsten Dominik wrote:
 
 After giving this some thought, I don't this this can be done in a  
 clear and non-confusing way.  

Thanks for spending so much time/energy considering it, despite the
fact that it would be incoherent with the rest of your interface!

 I do think it is necessary to somehow change the date relative to
 what the previously set date is.  The only way to make this half way
 transparently is to show that date in the prompt as the default
 date.

Okay.

 There was lots of good advice to so what you want in different ways,
 including not rescheduling, or using bulk actions in the agenda.

You know, I have `f' and `b' bound to org-agenda-date-later/-earlier,
and that would be perfectly adequate for me, *if* I got appropriate
visual feedback.  The problem is the red S2 or S3 I'm looking at
doesn't change on the fly when I reschedule.  And it's hard to train
myself not to hit `f' twice when I see S2 :-)


 Finally, if you still want a fast command doing this:
 
 (defun org-agenda-reschedule-to-today ()
(interactive)
(flet ((org-read-date (rest rest) (current-time)))
  (call-interactively 'org-agenda-schedule)))

That's a good idea. I don't think I need etags in my agenda buffer, so
`M-.' works.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com


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


Re: [Orgmode] Re: [WIP] OpenOffice Exporter

2010-10-11 Thread Giovanni Ridolfi
Jambunathan K kjambunat...@gmail.com writes:


Hi Jambunathan,

 Jambunathan K kjambunat...@gmail.com writes:

 Do you use this converter personally? What are your observations?
Actually, I don't use the org-DocBook exporter since I mainly work under
windows.

 The entries in the issue tracker seem to be anywhere between 3-7 years
 old. The converter is quite stable I suppose.

I think so.
Moreover Baoqiu is active in this list and he's *extremely responsive*,
when it comes to bugs in the exporter he wrote.

Please, see his last (I think) email: Fri, 14 May 2010 21:01:07 -0700

http://lists.gnu.org/archive/html/emacs-orgmode/2010-05/msg00452.html

I invite you to try the docBook, and submit bug reports if any... 
also not to reinvent the wheel ;-)

cheers,
Giovanni

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


Re: [Orgmode] Re: [WIP] OpenOffice Exporter

2010-10-11 Thread Jambunathan K

Hi Giovanni

Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 Jambunathan K kjambunat...@gmail.com writes:


 Hi Jambunathan,

 Jambunathan K kjambunat...@gmail.com writes:

 Do you use this converter personally? What are your observations?
 Actually, I don't use the org-DocBook exporter since I mainly work under
 windows.

 The entries in the issue tracker seem to be anywhere between 3-7 years
 old. The converter is quite stable I suppose.

 I think so.
 Moreover Baoqiu is active in this list and he's *extremely responsive*,
 when it comes to bugs in the exporter he wrote.

 Please, see his last (I think) email: Fri, 14 May 2010 21:01:07 -0700

 http://lists.gnu.org/archive/html/emacs-orgmode/2010-05/msg00452.html


I am aware of the Org-Docbook bridge. I have been in this list for a
while now (8+ months). I keep track of discussions that take place on a
day to day basis.

To avoid any confusion, the queries in my original post were related to
the Docbook-Openoffice bridge that you linked to and not to the
Org-Docbook bridge.

Docbook-Openoffice in this case or the second converter in the chain
(in general) seem to be a vital component in the whole scheme of things
as it stands today.

 I invite you to try the docBook, and submit bug reports if any... 
 also not to reinvent the wheel ;-)

Nothing is going to dissuade from putting an effort.

Jambunathan K.


 cheers,
 Giovanni

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


Re: [Orgmode] full production use of org-mode: time to say thanks again!

2010-10-11 Thread Nicolas Goaziou
 Carsten Dominik writes:

 As a side note (to maintainers), the second patch isn't really
 needed, but I thought, while I was at it, that it would make sense
 (`org-inlinetask-min-level' doesn't need to be a boolean).

 Hmmm, what happens is a user has customized this variable and it has
 a value nil. I guess then your patch will break things?

Probably. I wasn't sure a nil value would have any meaning and thus
that anyone would set it so.

Regards,

-- Nicolas



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


[Orgmode] export

2010-10-11 Thread Jörg Hagmann

 regarding export to latex:

When exporting to latex (C-e, l) a new frame opens (it didn't 
before).  There must be a customization option for avoiding that, but I 
can't find it.


Emacs 23.2.1, recent pull.

Thanks, Jörg

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


[Orgmode] bug? scheduled keyword inside org items.

2010-10-11 Thread Richard Riley

I had stored a post here in my todo life as follows

,
| 
| * my org item 
|
| Subject: Re: Recurring scheduled items appearing in schedule
| From: Bernt Hansen be...@norang.ca
| To: Dustin Hoffman dustinhhoff...@gmail.com
| Date: Sat, 09 Oct 2010 20:16:52 -0400
| 
| Dustin Hoffman dustinhhoff...@gmail.com writes:
| 
|  I have scheduled reminders for things that occur weekly over a period
|  of months.  The problem is, that each of these scheduled items appears
|  under the current day in the agenda view and the multiplier (eg 6x,
|  5x) keeps going up.
| 
|  What I want is each of these scheduled items to appear only on the
|  days that they occur in the agenda view.
| 
|  Here is an example of an org file with a schedule in it.
| 
|   * Class Times
|  ** Class
| SCHEDULED: 2010-09-28 Tue 12:30-13:48 +1w
|  ** Class
| SCHEDULED: 2010-09-23 Thu 12:30-13:48 +1w
| 
| 
`

The SCHEDULED items inside the quoted text are appearing in my agenda.

Bug, as expected or can I stop that?



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


[Orgmode] capture problem

2010-10-11 Thread Jörg Hagmann

 Regarding capture:

When using cature, after having selected the template, I often get the 
message:

byte-code: Capture abort: (quit pasteboard doesn't contain valid data)
It works again after reloading .emacs.
What is the problem?

Emacs 23.2.1, recent pull.

Thanks, Jörg

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


Re: [Orgmode] centering text in html

2010-10-11 Thread Christian Moe

Hi,

Of the two non-working examples, one is due to what I think is 
slightly buggy behavior by Org where =#+HTML:= lines are followed 
immediately by a line of text. The other should work fine.


* With =p= and inline CSS

#+HTML: p style=text-align: center;
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML: /p

doesn't work because it results in

#+begin_src html
p style=text-align: center;
p
{ a href=index.htmlHome/a | a href=files.htmlAnnouncements 
and Files/a }

/p

/p/div
#+end_src

A new =p.../p= is added at the line breaks. A =p= element isn't 
supposed to contain another =p= element, so it won't work.


I think this is undesirable, perhaps a bug; only text blocks delimited 
by blank lines should be considered paragraphs and exported as =p=.


* With =div= and class

#+HTML: DIV CLASS=centeralign
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML: /div

This should work, supposing you write CSS for it, e.g. by adding this 
to your header:


: #+STYLE: style.centeralign {text-align: center}/style

There is no =centeralign= class in the default stylesheet, so you
can't expect it to work out of the box.





On 10/11/10 5:21 PM, Vinh Nguyen wrote:

On Mon, Oct 11, 2010 at 12:41 AM, Carsten Dominik
carsten.domi...@gmail.com  wrote:

You give us *very* little to chew on.


Sorry about this.  I meant to elicit on what folks do when they want
to center text I general.  I should've known better to put down what
I've tried.  I just got it working but will also put down what I tried
to let others know what did not work.


How about:

- what have you tried?


#+HTML:p style=text-align: center;
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML:/p

and

#+HTML:DIV CLASS=centeralign
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML:/div



- an example HTML code that would do the right thing



THIS WORKED:
#+HTML:div align=center
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML:/div



etc etc etc.  If you want people to help you solve a problem,
please do your part by giving them *as much as possible* information.

- Carsten


-- Vinh

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




--

Christian Moe
E-mail:  m...@christianmoe.com
Website: http://christianmoe.com


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


Re: [Orgmode] capture problem

2010-10-11 Thread Jeff Horn
I get this problem frequently as well. I think it is due to capture
trying to create a link from the kill ring (if you have a template
that automatically creates a link of where you were or what you were
working on for context).

I just kill some text and yank it right back in place, but it puts new
text on the kill ring, which seems to fix the problem.

I think the problem arises in the first place since I use Aquamacs
(and CUA mode), and I'm not consistent in how I kill or copy text. It
could be that I have an image on the Mac pasteboard, and so org
(through Aquamacs) tries to put that in my capture item template when
I call org-capture.

HTH,
Jeff

On Mon, Oct 11, 2010 at 9:45 AM, Jörg Hagmann joerg.hagm...@unibas.ch wrote:
  Regarding capture:

 When using cature, after having selected the template, I often get the
 message:
 byte-code: Capture abort: (quit pasteboard doesn't contain valid data)
 It works again after reloading .emacs.
 What is the problem?

 Emacs 23.2.1, recent pull.

 Thanks, Jörg

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




-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

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


Re: [Orgmode] Re: Feature request

2010-10-11 Thread Jeff Horn
This rocks! Had no idea about bulk actions. Thanks for the tip.

Jeff

On Sun, Oct 10, 2010 at 12:30 PM, Memnon Anon
gegendosenflei...@googlemail.com wrote:
 Hi,

 David Abrahams d...@boostpro.com writes:

 I have to reschedule quite a few items daily.  Often they're
 yesterday's items that I need to reschedule for today.

   `C-c C-s . RET'

 is a bit much typing for that, so I re-bound `S' to
 org-agenda-schedule.  But

   `S . RET'

 is still a bit much.  I'd like it if the default when rescheduling was
 always for today, instead of the date the item is already scheduled
 for, so I could

   `S RET'

 in the usual case.  What about a customizable option to set the
 default schedule-for date?

 Just curious: Why don't you use the bulk action?

 a) Mark all items with `m'
 b) `B' `s' `.' RET.

 For 20 items, thats:
 20x `m' + 4 Keys for b) = 24 keypresses
 (if those items are right next to each other and need no navigation)

 Your approach would need 20 item x `S Ret' = 40 keypresses :).

 Memnon


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




-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

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


Re: [Orgmode] full production use of org-mode: time to say thanks again!

2010-10-11 Thread Eric S Fraga
On Mon, 11 Oct 2010 10:04:15 +0200, Carsten Dominik carsten.domi...@gmail.com 
wrote:
 
 Hi,
 
 On Oct 11, 2010, at 8:34 AM, Nicolas Goaziou wrote:
 
  Hello,
 
  Could you try the following patch and tell me if it fixes your issue?
 
 A quick test shows that things seem to work well in inlinetasks which
 are properly ended with an END line.
 
 There is also a dirty form of inline tasks which allows
 only a planning line (SCHEDULED etc) and one or several
 drawers directly after the task line, and then no
 END line is necessary.  But I guess it is fair
 to force the END line if you do want to have
 proper indentation.

That requirement would seem to make sense.

 Eric Fraga, have you tested the patch yet?  Please do
 so when you wake up from your two-week sleep, so that
 we can check this in.

I have tested it and it seems to work fine.  I've not seen anything
major break but I haven't done a thorough test.

 I am seeing now two things that should be added:
 
   - M-RET after inline tasks should ignore the inline task
 and make a new entry with normal indentation

Yes, that would be nice especially as it takes quite a few TABs to get
back to a proper level and sometimes I cannot tell what that level
should have been...  Actually, it might be nice if the TAB immediately
after a M-RET would go back to the next previously used level in the
hierarchy?  Although this might be tricky...

   - Maybe I should treat inline tasks with proper END
 statement as a drawer and fold it?  Comments?

Could be useful but it's not critical for me: I don't tend to put too
much text between the start and end of inline tasks so it's not too
intrusive.

Thanks to both you and Nicolas,
eric
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Fixing slowness of following Gnus links to IMAP articles

2010-10-11 Thread David Maus
At Thu, 30 Sep 2010 20:53:01 -0400,
Matt Lundin wrote:
 This commit is incompatible with development Gnus (and, therefore, the
 Gnus that will be released with Emacs 24). Going forward, nnimap.el no
 longer has the function nnimap-group-overview-filename. Thus, with the
 default settings and development gnus, org-follow-link fails on gnus
 links to imap links.

 For the time being, could we set the default value of
 org-gnus-nnimap-query-article-no-from-file to nil? This would allow
 users of Courier servers and Emacs 23 to gain the speed benefits without
 causing unexpected problems for users of development Gnus.

Thanks for pointing this out.  It is set to nil now.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpTTn4vNpGYQ.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


indenting after inline task (was Re: [Orgmode] full production use of org-mode: time to say thanks again!)

2010-10-11 Thread Eric S Fraga
On Mon, 11 Oct 2010 08:34:53 +0200, Nicolas Goaziou n.goaz...@gmail.com wrote:
 
 Hello,
 
 Could you try the following patch and tell me if it fixes your issue?

Works perfectly.  Thanks!
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Themes Compatible with color-theme.el

2010-10-11 Thread Jason McBrayer
I've written an humane colour theme for Emacs, which can be found here:
http://bitbucket.org/jfm/color-theme-humane

It's somewhat a work in progress (needs Gnus colours), but is usable now.
Patches gratefully accepted.

-- 
Jason F. McBrayer
http://jfm.carcosa.net/
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] full production use of org-mode: time to say thanks again!

2010-10-11 Thread Jeff Horn
Christian and Nick,

I suppose the advantage of inline tasks is that they appear even when
the document is folded? So far I've been moving/refiling todos into a
top-level Tasks header in each document to get this sort of behavior.
But this sounds like less overhead, so it is a plus in that regard.

Jeff

On Sat, Oct 9, 2010 at 3:03 PM, Christian Moe m...@christianmoe.com wrote:
 I see. Thanks.

 Christian

 On 10/9/10 7:15 PM, Nick Dokos wrote:

 Christian Moem...@christianmoe.com  wrote:

 What's an inline todo?

 Just curious,
 Christian


 See the commentary in lisp/org-inlinetask.el.

 Nick

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



 --

 Christian Moe
 E-mail:  m...@christianmoe.com
 Website: http://christianmoe.com


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




-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

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


Re: [Orgmode] bug? scheduled keyword inside org items.

2010-10-11 Thread Juan Pechiar
I'd imagine enclosing the email text in a #+BEGIN_EXAMPLE block would
make sense (semantically) and also avoid interpretation of SCHEDULED
keyword.

But even using #+BEGIN_COMMENT block, timestamps and SCHEDULED are
found by the agenda.

A workaround for your problem can be setting those timestamps as
inactive.

Regards,
.j.

On Mon, Oct 11, 2010 at 06:18:06PM +0200, Richard Riley wrote:
 I had stored a post here in my todo life as follows

 ,
 |
 | * my org item
 |
 | Subject: Re: Recurring scheduled items appearing in schedule
 | From: Bernt Hansen be...@norang.ca
 | To: Dustin Hoffman dustinhhoff...@gmail.com
 | Date: Sat, 09 Oct 2010 20:16:52 -0400
 |
 | Dustin Hoffman dustinhhoff...@gmail.com writes:
 |
 |  I have scheduled reminders for things that occur weekly over a period
 |  of months.  The problem is, that each of these scheduled items appears
 |  under the current day in the agenda view and the multiplier (eg 6x,
 |  5x) keeps going up.
 | 
 |  What I want is each of these scheduled items to appear only on the
 |  days that they occur in the agenda view.
 | 
 |  Here is an example of an org file with a schedule in it.
 | 
 |   * Class Times
 |  ** Class
 | SCHEDULED: 2010-09-28 Tue 12:30-13:48 +1w
 |  ** Class
 | SCHEDULED: 2010-09-23 Thu 12:30-13:48 +1w
 | 
 | 
 `

 The SCHEDULED items inside the quoted text are appearing in my agenda.

 Bug, as expected or can I stop that?

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


[Orgmode] Ampersands in OrgTbl to HTML

2010-10-11 Thread Ivan Vilata i Balaguer

OrgTbl fails to escape ampersands when exporting to HTML (see the
attached example), possibly rendering the HTML file invalid.  However,
the ampersand is properly escaped when exporting the same table in a
standalone Org file.  I'm using Org version 7.01h.  Thanks!


  







foo



  


-- 
Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Patch for typo in org-beamer.el

2010-10-11 Thread rpgoldman
Attached please find a patch to org-beamer that fixes a small typo in a 
regexp --- desctiption instead of description.

cheers,
r


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


[Orgmode] [PATCH] Fixed typo in regex in org-beamer-place-default-actions-for-lists

2010-10-11 Thread rpgoldman
From: Robert P. Goldman rpgold...@real-time.com

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

diff --git a/lisp/org-beamer.el b/lisp/org-beamer.el
index 49b3499..453ba8a 100644
--- a/lisp/org-beamer.el
+++ b/lisp/org-beamer.el
@@ -373,7 +373,7 @@ The need to be after the begin statement of the 
environment.
 (let (dovl)
   (goto-char (point-min))
   (while (re-search-forward
- ^[ \t]*begin{\\(itemize\\|enumerate\\|desctiption\\)}[ 
\t\n]*item( ?\\([^\n]*\\|\\[[^][\n*]\\]\\)\\)?[ \t]*\\S- nil t)
+ ^[ \t]*begin{\\(itemize\\|enumerate\\|description\\)}[ 
\t\n]*item( ?\\([^\n]*\\|\\[[^][\n*]\\]\\)\\)?[ \t]*\\S- nil t)
(if (setq dovl (cdr (assoc BEAMER_dovl
   (get-text-property (match-end 0)
  'org-props
-- 
1.7.2.2


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


[Orgmode] Worg buglet

2010-10-11 Thread Robert Goldman
The link to the sample presentation, from

http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.php

to

http://orgmode.org/worg/org-tutorials/org-beamer/presentation.org

is broken.

Sorry if this is the wrong place to report this.

best,
r

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


Re: [Orgmode] Worg buglet

2010-10-11 Thread Puneeth
On Tue, Oct 12, 2010 at 6:39 AM, Robert Goldman rpgold...@sift.info wrote:
 The link to the sample presentation, from

 http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.php

 to

 http://orgmode.org/worg/org-tutorials/org-beamer/presentation.org

 is broken.

Fixed.

 Sorry if this is the wrong place to report this.

Thanks for reporting. This is definitely the right place to report.
You could, instead, yet yourself commit access to Worg, since it is a
community site.

-- Puneeth

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


[Orgmode] Need help publishing subdirectories

2010-10-11 Thread Jeff Horn
I'm trying to set up an org project to publish my personal website. I
like to use friendly urls, like the one below.

http://www.example.tld/jeff/teaching/2010/fall/econ101/index.html

My publishing set up is a bit of a mess, with a project handling the
root, the jeff subdirectory, and one handling the teaching
sub-sub-directory. I have :recursive t set on the teaching
directory, since I don't want to define a new project for every course
I teach. So far, publishing works as intended, except that the
.../econ101/img/ subdirectory contents aren't copied to the
publishing directory. Switching on :base-extension any doesn't fix
this (in fact, it prevents the project from being published at all).
The relevant portion of my project:

(teaching
 :base-directory ~/org/ftr/jeff/teaching/
 :publishing-directory ~/Sites/FTR/jeff/teaching
 :publishing-function (org-publish-org-to-html
org-publish-org-to-org org-publish-org-to-pdf org-publish-attachment)
 :recursive t
 :style-include-default nil
 ;; :base-extension any
 )

In the .../econ101/syllabus.org file, an inline image calls
[[./img/example.jpg]]. The img directory exists in my source
directory. The directory is copied to my publishing directory, but not
the files within the directory. I noticed also that emacs tried to
open an example.jpg buffer, which I thought was weird.

Thanks for taking the time to read and respond.

Best regards,
Jeff



-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

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


Re: [Orgmode] capture problem

2010-10-11 Thread Carsten Dominik

Could one of you try to make a backtrace for this problem?

Thanks

- Carsten

On Oct 11, 2010, at 7:33 PM, Jeff Horn wrote:


I get this problem frequently as well. I think it is due to capture
trying to create a link from the kill ring (if you have a template
that automatically creates a link of where you were or what you were
working on for context).

I just kill some text and yank it right back in place, but it puts new
text on the kill ring, which seems to fix the problem.

I think the problem arises in the first place since I use Aquamacs
(and CUA mode), and I'm not consistent in how I kill or copy text. It
could be that I have an image on the Mac pasteboard, and so org
(through Aquamacs) tries to put that in my capture item template when
I call org-capture.

HTH,
Jeff

On Mon, Oct 11, 2010 at 9:45 AM, Jörg Hagmann  
joerg.hagm...@unibas.ch wrote:

 Regarding capture:

When using cature, after having selected the template, I often  
get the

message:
byte-code: Capture abort: (quit pasteboard doesn't contain valid  
data)

It works again after reloading .emacs.
What is the problem?

Emacs 23.2.1, recent pull.

Thanks, Jörg

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





--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] capture problem

2010-10-11 Thread Jeff Horn
On Tue, Oct 12, 2010 at 12:51 AM, Carsten Dominik
carsten.domi...@gmail.com wrote:
 Could one of you try to make a backtrace for this problem?

Debugger entered--Lisp error: (error Capture abort: (quit pasteboard
doesn't contain valid data))
  signal(error (Capture abort: (quit pasteboard doesn't contain valid data)))
  ad-Orig-error(Capture abort: %s (quit pasteboard doesn't contain
valid data))
  apply(ad-Orig-error (Capture abort: %s (quit pasteboard doesn't
contain valid data)))
  error(Capture abort: %s (quit pasteboard doesn't contain valid data))
  byte-code(\301\302!\203\n

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

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


Re: [Orgmode] Patch for typo in org-beamer.el

2010-10-11 Thread Carsten Dominik

Applied, thanks

- Carsten

On Oct 12, 2010, at 3:03 AM, rpgold...@sift.info wrote:

Attached please find a patch to org-beamer that fixes a small typo  
in a

regexp --- desctiption instead of description.

cheers,
r


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] bug? scheduled keyword inside org items.

2010-10-11 Thread Carsten Dominik


On Oct 11, 2010, at 11:10 PM, Richard Riley wrote:


Juan Pechiar j...@pechiar.com writes:


I'd imagine enclosing the email text in a #+BEGIN_EXAMPLE block would
make sense (semantically) and also avoid interpretation of SCHEDULED
keyword.


That does make sense. I need to look into my template then for
journaling email.



But even using #+BEGIN_COMMENT block, timestamps and SCHEDULED are
found by the agenda.


That doesn't sound good. Should it?


No, it should not.  But it is costly to parse for all these
special places, and in order to keep the agenda reasonably fast,
this is one of the compromises.
I guess such a case is not very frequent, and I usually work around  
them by inserting a space between the opening angular bracket and the  
time stamp:



#+begin_example
,* test
   SCHEDULED:  2010-10-10 Sun
#+end_example

That successfully breaks the timestamp parser, but still
conveys reasonably well what is meant.

- Carsten





A workaround for your problem can be setting those timestamps as
inactive.

Regards,
.j.

On Mon, Oct 11, 2010 at 06:18:06PM +0200, Richard Riley wrote:

I had stored a post here in my todo life as follows

,
|
| * my org item
|
| Subject: Re: Recurring scheduled items appearing in schedule
| From: Bernt Hansen be...@norang.ca
| To: Dustin Hoffman dustinhhoff...@gmail.com
| Date: Sat, 09 Oct 2010 20:16:52 -0400
|
| Dustin Hoffman dustinhhoff...@gmail.com writes:
|
|  I have scheduled reminders for things that occur weekly over a  
period
|  of months.  The problem is, that each of these scheduled items  
appears
|  under the current day in the agenda view and the multiplier  
(eg 6x,

|  5x) keeps going up.
| 
|  What I want is each of these scheduled items to appear only on  
the

|  days that they occur in the agenda view.
| 
|  Here is an example of an org file with a schedule in it.
| 
|   * Class Times
|  ** Class
| SCHEDULED: 2010-09-28 Tue 12:30-13:48 +1w
|  ** Class
| SCHEDULED: 2010-09-23 Thu 12:30-13:48 +1w
| 
| 
`

The SCHEDULED items inside the quoted text are appearing in my  
agenda.


Bug, as expected or can I stop that?


--
☘ http://www.shamrockirishbar.com, http://splash-of-open-sauce.blogspot.co 
m/ http://www.richardriley.net


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Need help publishing subdirectories

2010-10-11 Thread Jeff Horn
I've managed to push the extra source files out with the org-static
configuration found at worg.[1]

But now, for some reason, I've lost all my options (no TOC, no section
numbers, custom stylesheet, etc). Anyone care to look at my config
off-list and offer advice?

I'm beginning to think it's something silly like an unescaped
quotation mark, but I've looked at every simple solution I can think
of.

Jeff


[1] http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php

On Mon, Oct 11, 2010 at 11:59 PM, Jeff Horn jrhorn...@gmail.com wrote:
 I'm trying to set up an org project to publish my personal website. I
 like to use friendly urls, like the one below.

 http://www.example.tld/jeff/teaching/2010/fall/econ101/index.html

 My publishing set up is a bit of a mess, with a project handling the
 root, the jeff subdirectory, and one handling the teaching
 sub-sub-directory. I have :recursive t set on the teaching
 directory, since I don't want to define a new project for every course
 I teach. So far, publishing works as intended, except that the
 .../econ101/img/ subdirectory contents aren't copied to the
 publishing directory. Switching on :base-extension any doesn't fix
 this (in fact, it prevents the project from being published at all).
 The relevant portion of my project:

 (teaching
         :base-directory ~/org/ftr/jeff/teaching/
         :publishing-directory ~/Sites/FTR/jeff/teaching
         :publishing-function (org-publish-org-to-html
 org-publish-org-to-org org-publish-org-to-pdf org-publish-attachment)
         :recursive t
         :style-include-default nil
         ;; :base-extension any
         )

 In the .../econ101/syllabus.org file, an inline image calls
 [[./img/example.jpg]]. The img directory exists in my source
 directory. The directory is copied to my publishing directory, but not
 the files within the directory. I noticed also that emacs tried to
 open an example.jpg buffer, which I thought was weird.

 Thanks for taking the time to read and respond.

 Best regards,
 Jeff



 --
 Jeffrey Horn
 Graduate Lecturer and PhD Student in Economics
 George Mason University

 (704) 271-4797
 jh...@gmu.edu
 jrhorn...@gmail.com




-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

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