[Orgmode] Error exporting to temp buffer

2009-03-19 Thread Leo
Hi there,

Put the following sample in a buffer *not* visiting any file and try
`C-c C-e H' to get the back trace. It is reproducible in GNU Emacs
23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 on BREPNB with orgmode
6.21b.

Sample:


*good* is /already/ very _important_. But http://www.google.com is not the
right place.



,[ Backtrace ]
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   file-name-nondirectory(nil)
|   org-export-html-preprocess((:emph-multiline t :for-html t 
:skip-before-1st-heading nil :drawers nil :todo-keywords t :tags not-in-toc 
:priority nil :footnotes t :timestamps t :archived-trees headline :select-tags 
(export) :exclude-tags (noexport) :add-text nil :LaTeX-fragments t))
|   org-export-preprocess-string(#(*good* is /already/ very _important_. But 
http://www.google.com is not the\nright place. 0 1 (fontified nil 
:org-license-to-kill t face (bold) font-lock-multiline t invisible org-link) 1 
5 (fontified nil :org-license-to-kill t face (bold) font-lock-multiline t) 5 6 
(fontified nil :org-license-to-kill t face (bold) font-lock-multiline t 
invisible org-link mouse-face highlight keymap (keymap ... ... ... ... ...)) 6 
7 (fontified nil :org-license-to-kill t mouse-face highlight keymap (keymap ... 
... ... ... ...)) 7 10 (fontified nil :org-license-to-kill t) 10 11 (fontified 
nil :org-license-to-kill t face (italic) font-lock-multiline t invisible 
org-link) 11 18 (fontified nil :org-license-to-kill t face (italic) 
font-lock-multiline t) 18 19 (fontified nil :org-license-to-kill t face 
(italic) font-lock-multiline t invisible org-link) 19 25 (fontified nil 
:org-license-to-kill t) 25 26 (fontified nil :org-license-to-kill t face 
(underline) font-lock-multiline t invisible org-link) 26 35 (fontified nil 
:org-license-to-kill t face (underline) font-lock-multiline t) 35 36 (fontified 
nil :org-license-to-kill t face (underline) font-lock-multiline t invisible 
org-link) 36 42 (fontified nil :org-license-to-kill t) 42 47 (fontified nil 
rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo 
org-linked-text) :org-license-to-kill t mouse-face highlight keymap (keymap ... 
... ... ... ...) face org-link) 47 48 (fontified nil rear-nonsticky (mouse-face 
highlight keymap invisible intangible help-echo org-linked-text) 
:org-license-to-kill t mouse-face highlight keymap (keymap ... ... ... ... ...) 
face org-link) 48 49 (fontified nil rear-nonsticky (mouse-face highlight keymap 
invisible intangible help-echo org-linked-text) :org-license-to-kill t 
mouse-face highlight keymap (keymap ... ... ... ... ...) face org-link) 49 63 
(fontified nil rear-nonsticky (mouse-face highlight keymap invisible intangible 
help-echo org-linked-text) :org-license-to-kill t mouse-face highlight keymap 
(keymap ... ... ... ... ...) face org-link) 63 75 (fontified nil 
:org-license-to-kill t) 75 87 (fontified nil)) :emph-multiline t :for-html t 
:skip-before-1st-heading nil :drawers nil :todo-keywords t :tags not-in-toc 
:priority nil :footnotes t :timestamps t :archived-trees headline :select-tags 
(export) :exclude-tags (noexport) :add-text nil :LaTeX-fragments t)
|   org-export-as-html(nil nil nil *Org HTML Export*)
|   org-export-as-html-to-buffer(nil)
|   call-interactively(org-export-as-html-to-buffer)
|   org-export(nil)
|   call-interactively(org-export nil nil)
`

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



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


[Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Rasmus Pank Roulund
 Why not us preamble?

I am not sure I understand you question, but:
Because the OP wants to include the same menu on every page. If you
input the file you will only have to update one file and the other files
will be updated. 



___
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: Fully featured Web publishing

2009-03-19 Thread Richard Riley
Rasmus Pank Roulund rasmus.p...@gmail.com writes:

 Why not us preamble?

 I am not sure I understand you question, but:
 Because the OP wants to include the same menu on every page. If you
 input the file you will only have to update one file and the other files
 will be updated. 

with preamble you do it across the web with one change in your project
definition and since it is across the web it seems appropriate to be
part of the org project definition.


I included a link to an example.




 ___
 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: The most important project for org developers?

2009-03-19 Thread Detlef Steuer
On 18 Mar 2009 23:43:58 +0100
Sven Bretfeld sven.bretf...@gmx.ch wrote:

 Hello to all
 
 Is there any complete and secure import and export filter from org files
 to any other PIM format used on PDAs or mobiles? If not, this would seem to
 me the most important feature to be developed.
 
 If you are like me -- and I think most people on this list are -- your
 whole life is organized with the help of org-mode. It's crucial to have
 a mobile PIM device coping with the information of an org file. Since
 Emacs on a mobile device is always problematic (I tried Asus Eee [too
 large, start-up too slow], Openmoko [too small qwerty-keyboards, too
 slow, battery life-time too short]), one has to resort to import and
 export filters, at least I think so.
 

My solution is the other way round. I won't buy or use any mobile device
 without emacs :-)

At the moment I'm using a Sharp Zaurus 860 and an EEE. The EEE is a bit large
 and boots too slow, yes, so I converted back to my Zaurus for commuting. 
Org-mode is surprisingly agile on such a small device. Especially since
a real Ubuntu, even 9.04 beta,  is available for the Zaurus, this is the
 machine I always wanted.
I have Emacs/Latex/xpdf (/xboard/gnugo)  and anything else on one small and 
cheap SD-card.
Just cool :-)

Detlef 

 How do you people handle that problem?
 
 Greetings,
 
 Sven
 -- 
 Sven Bretfeld
 CERES -- CEntrum für REligionswissenschaftliche Studien
 Ruhr-Universität Bochum 
 Universitätsstraße 150 
 D-44780 Bochum
 
 
 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 




___
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: The most important project for org developers?

2009-03-19 Thread Detlef Steuer
On Thu, 19 Mar 2009 09:43:42 +0100
Detlef Steuer ste...@unibwh.de wrote:

 On 18 Mar 2009 23:43:58 +0100
 Sven Bretfeld sven.bretf...@gmx.ch wrote:
 
  Hello to all
  
  Is there any complete and secure import and export filter from org files
  to any other PIM format used on PDAs or mobiles? If not, this would seem to
  me the most important feature to be developed.
  
  If you are like me -- and I think most people on this list are -- your
  whole life is organized with the help of org-mode. It's crucial to have
  a mobile PIM device coping with the information of an org file. Since
  Emacs on a mobile device is always problematic (I tried Asus Eee [too
  large, start-up too slow], Openmoko [too small qwerty-keyboards, too
  slow, battery life-time too short]), one has to resort to import and
  export filters, at least I think so.
  
 
 My solution is the other way round. I won't buy or use any mobile device
  without emacs :-)
 
 At the moment I'm using a Sharp Zaurus 860 and an EEE. The EEE is a bit large
  and boots too slow, yes, so I converted back to my Zaurus for commuting. 
 Org-mode is surprisingly agile on such a small device. Especially since
 a real Ubuntu, even 9.04 beta,  is available for the Zaurus, this is the
  machine I always wanted.
 I have Emacs/Latex/xpdf (/xboard/gnugo)  and anything else on one small and 
 cheap SD-card.

Forgot to add:
Because there are other useRs on this list: ESS and R running, too!


 Just cool :-)
 
 Detlef 
 
  How do you people handle that problem?
  
  Greetings,
  
  Sven
  -- 
  Sven Bretfeld
  CERES -- CEntrum für REligionswissenschaftliche Studien
  Ruhr-Universität Bochum 
  Universitätsstraße 150 
  D-44780 Bochum
  
  
  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
  
 
 
 
 
 ___
 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: Emacs-orgmode Digest, Vol 37, Issue 77

2009-03-19 Thread Madhu Rao
On 19/03/2009, emacs-orgmode-requ...@gnu.org
emacs-orgmode-requ...@gnu.org wrote:
 Send Emacs-orgmode mailing list submissions to
   emacs-orgmode@gnu.org

 To subscribe or unsubscribe via the World Wide Web, visit
   http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 or, via email, send a message with subject or body 'help' to
   emacs-orgmode-requ...@gnu.org

 You can reach the person managing the list at
   emacs-orgmode-ow...@gnu.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Emacs-orgmode digest...


 Today's Topics:

1. Re: Re: Fully featured Web publishing (Richard Riley)
2. Re: The most important project for org developers?
   (Michael Ekstrand)
3. Problem with BEGIN_CENTER (Baoqiu Cui)
4. Error exporting to temp buffer (Leo)
5. Re: Fully featured Web publishing (Rasmus Pank Roulund)
6. Re: Re: Fully featured Web publishing (Richard Riley)
7. Re: The most important project for org developers? (Detlef Steuer)


 --

 Message: 1
 Date: Thu, 19 Mar 2009 00:19:38 +0100
 From: Richard Riley rileyrg...@googlemail.com
 Subject: Re: [Orgmode] Re: Fully featured Web publishing
 To: Rasmus Pank Roulund rasmus.p...@gmail.com
 Cc: emacs-orgmode@gnu.org
 Message-ID: 49c1818c.16125e0a.15dc.f...@mx.google.com
 Content-Type: text/plain; charset=us-ascii


 Rasmus Pank Roulund rasmus.p...@gmail.com writes:

 I have done something similar. I have a single menu file which I
 include on every page.
 #+INCLUDE:menu.org

 Would that solve you problem?

 -Rasmus

 Why not us preamble?

 I'm not sure if its an approved way or not but has done for me for a site
 wide addition for a while now but I must admit to not being up to date
 with all latest and greatest innovations.

 http://richardriley.net/projects/emacs/dotorg.html






 --

 Message: 2
 Date: Wed, 18 Mar 2009 18:56:09 -0500
 From: Michael Ekstrand mich...@elehack.net
 Subject: [Orgmode] Re: The most important project for org developers?
 To: emacs-orgmode@gnu.org
 Message-ID: 871vsucrmu@jehiel.elehack.net
 Content-Type: text/plain; charset=us-ascii

 Sven Bretfeld sven.bretf...@gmx.ch writes:
 Is there any complete and secure import and export filter from org files
 to any other PIM format used on PDAs or mobiles? If not, this would seem
 to
 me the most important feature to be developed.

 If you are like me -- and I think most people on this list are -- your
 whole life is organized with the help of org-mode. It's crucial to have
 a mobile PIM device coping with the information of an org file. Since
 Emacs on a mobile device is always problematic (I tried Asus Eee [too
 large, start-up too slow], Openmoko [too small qwerty-keyboards, too
 slow, battery life-time too short]), one has to resort to import and
 export filters, at least I think so.

 How do you people handle that problem?

 I currently just carry around note cards (Hipster PDA) and an MP3 player
 with voice recorder (Sansa Fuze) for portable capture and am close
 enough to my computer (either laptop or workstation) often enough that
 the rest doesn't matter too much.

 I've looked at various portable Emacs solutions, though; a couple things
 that I've thought looked viable were the Nokia N810 and the Zippit Z2
 with alternate OS.  I haven't actually tried either of these, merely
 poked around a lot online and then decided to stick with my note cards
 for now.

 - Michael

 --
 mouse, n: A device for pointing at the xterm in which you want to type.
 Confused by the strange files?  I cryptographically sign my messages.
 For more information see http://www.elehack.net/resources/gpg.
 -- next part --
 A non-text attachment was scrubbed...
 Name: not available
 Type: application/pgp-signature
 Size: 196 bytes
 Desc: not available
 Url :
 http://lists.gnu.org/pipermail/emacs-orgmode/attachments/20090318/1bb07d60/attachment.bin

 --

 Message: 3
 Date: Wed, 18 Mar 2009 22:32:48 -0700
 From: Baoqiu Cui cbao...@yahoo.com
 Subject: [Orgmode] Problem with BEGIN_CENTER
 To: emacs-orgmode@gnu.org
 Message-ID: byck56mf56n@muchbodyking-lm.corp.yahoo.com
 Content-Type: text/plain; charset=us-ascii

 It seems that the newly added feature BEGIN_CENTER only supports *one*
 paragraph, i.e. only the first paragraph after BEGIN_CENTER will be
 centered in exported HTML format.

 For example, for the following lines in my Org file:

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

 Repeat the above paragraph:

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

 I get the following HTML code, which, strictly speaking, contains a bug
 because p is nested:

 p style=text-align: center
 Everything should be made as simple as possible, br/
 but 

Re: [Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Sebastian Rose
Richard Riley rileyrg...@googlemail.com writes:
 Why not us preamble?

 I'm not sure if its an approved way or not but has done for me for a site
 wide addition for a while now but I must admit to not being up to date
 with all latest and greatest innovations.

 http://richardriley.net/projects/emacs/dotorg.html

Nice trick. We have to put this into the publishing tutorial!



BTW: here is bug in the docs:

C-h v org-preamble TAB RET

   org-export-html-preamble is a variable defined in `org-exp.el'.
   Its value is nil

   Documentation:
   Preamble, to be inserted just before body.  Set by publishing functions.


Should be:

   org-export-html-preamble is a variable defined in `org-exp.el'.
   Its value is nil

   Documentation:
   Preamble, to be inserted just after body.  Set by publishing functions.





Regards,

   Sebastian


___
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] The most important project for org developers?

2009-03-19 Thread Friedrich Delgado Friedrichs
Hi!

Sven Bretfeld schrieb:
 a mobile PIM device coping with the information of an org file. Since
 Emacs on a mobile device is always problematic

I use a G1 and with its excellent ssh client (connectbot) it lets me
use a remote emacs session. It's actually possible to review my agenda
and tick tasks off, but editing them is a bit troublesome, as my usual
keybindings won't work over a remote connection.

So I'd agree it's problematic.

 one has to resort to import and
 export filters, at least I think so.
---Zitatende---

I currently export my schedule to google calendar with org's icalendar
export. But I have to manually upload the ics file, so I'd prefer a
solution that interfaces with google directly, such as an Integration
of T.V. Rahman's google-client code for emacs with org-mode. I didn't
get around to look at that code yet. (It's part of the emacspeak
package, but can be downloaded separately.)

I don't have a solution for todo items yet. It looks like it should be
possible to integrate org-mode with remember the milk, which in turn
has a good client for android (called Astrid). Somebody has apparently
started a remember the milk integration with org-mode, but it looks
like the project has stopped in a very early stage. (as evidenced by
http://github.com/avdi/org-rtm/tree/master). Of course direct
synchronisation with a todo-manager would be even better, and
possible, since Astrid is free software too
(http://code.google.com/p/android-astrid/).

So I currently have no solution that really satisfies me, but several
possible future solutions.

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


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


Re: [Orgmode] The most important project for org developers?

2009-03-19 Thread Ian Barton




I currently export my schedule to google calendar with org's icalendar
export. But I have to manually upload the ics file, so I'd prefer a
solution that interfaces with google directly, such as an Integration
of T.V. Rahman's google-client code for emacs with org-mode. I didn't
get around to look at that code yet. (It's part of the emacspeak
package, but can be downloaded separately.)

I don't have a solution for todo items yet. It looks like it should be
possible to integrate org-mode with remember the milk, which in turn
has a good client for android (called Astrid). Somebody has apparently
started a remember the milk integration with org-mode, but it looks
like the project has stopped in a very early stage. (as evidenced by
http://github.com/avdi/org-rtm/tree/master). Of course direct
synchronisation with a todo-manager would be even better, and
possible, since Astrid is free software too
(http://code.google.com/p/android-astrid/).

If you have access to a server that supports WebDav you can create a 
Google Calendar that reads your org ics file directly.


I publish my todo items to a web server, where I can browse them on my 
phone. It's also possible to copy the html fine to my phone's memory, 
where I could browse it without Internet access. The only downside is 
that it's read only, but that's not a problem for me.


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


[Orgmode] Changing TODO state to DONE does not stop clock in frame

2009-03-19 Thread Chris Randle
Hi Carsten,

Summary: Changing TODO state to DONE does not stop clock in frame

I have one giant Org-mode file for everything. I frequently use `C-c C-x
b' to take the current node and show it in a new frame with narrow
subtree so that I can concentrate on just that region of my file. Rather
like hoist in GrandView, if anyone remembers that.

My Org Manual (6.24b) says The indirect buffer...will contain the
entire buffer, but will be narrowed to the current tree. Editing the
indirect buffer will also change the original buffer, but without
affecting visibility in that buffer.

I've noticed that, when working in the new frame, changing the TODO
state of any item within the frame to DONE (when it is the currently
clocked in item) does not stop the clock. Going back to my main frame
and doing the same thing there on the same item does stop the clock.

I haven't altered `org-clock-out-when-done', and Emacs reports its value
as t.

Is this something that's easily fixed/modified?

-- 
Chris Randle
Windows XP Pro SP3 - GNU Emacs 22.1.1 - Org-mode 6.24b



___
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: Fully featured Web publishing

2009-03-19 Thread Richard Riley
Sebastian Rose sebastian_r...@gmx.de writes:

 Richard Riley rileyrg...@googlemail.com writes:
 Why not us preamble?

 I'm not sure if its an approved way or not but has done for me for a site
 wide addition for a while now but I must admit to not being up to date
 with all latest and greatest innovations.

 http://richardriley.net/projects/emacs/dotorg.html

 Nice trick. We have to put this into the publishing tutorial!

Is it a trick though? It seemed the best way to do it at the time. What
is the better way? At the time I asked about a header and footer which
is fairly common and decided to use preamble and postamble to
effectively act as common header and footer components. Prior to the
id=content modifications (container) I also used to introduce the
contentcontainer using preamble and postamble too (e.preamble opening
the div and postamble closing it).

regards,

r.


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


Re: [Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Sebastian Rose
Richard Riley rileyrg...@googlemail.com writes:
 Is it a trick though?

Sorry, I mixed German and English here. I German a 'Trick' is primarily
a _positive_ thing.

If you want to turn it into something (slightly) negative, you say
'fauler Trick' here :)

(literally: 'lazy trick')



-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de


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


[Orgmode] Bug: Export Macros

2009-03-19 Thread Russell Adams
I've just noticed that {{{title}}} and friends aren't honored in
#+LATEX_HEADER: lines.

So close! When I get this part working, I'd like to post a howto on
doing good looking latex via org!

Thanks.

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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: The most important project for org developers?

2009-03-19 Thread Anupam Sengupta
 Ian == Ian Barton li...@manor-farm.org writes:


 I currently export my schedule to google calendar with org's
 icalendar export. But I have to manually upload the ics file, so

[...]


Ian If you have access to a server that supports WebDav you can
Ian create a Google Calendar that reads your org ics file directly.

Ian I publish my todo items to a web server, where I can browse
Ian them on my phone. It's also possible to copy the html fine to
Ian my phone's memory, where I could browse it without Internet
Ian access. The only downside is that it's read only, but that's
Ian not a problem for me.

I also export the agenda as an ics file and then pre-process using Ruby
to make some changes on the ics file (mainly to remove some of the TODO
entries that I normally do not need on my Blackberry). There is a good
Ruby module for handling the iCalendar format
(http://icalendar.rubyforge.org/).

I then use a automator workflow to load the processed ics file into iCal
(I am using OS X) and sync normally to iCal using the synchronization
program that came with the Blackberry (PocketMac Sync Manager).

As a bonus, I get to sync the iCal entries automatically with Google
calendar as well.

I.e, the flow is:

++ ics  +-+ ics   +--+
| Org+-- Ruby+--- Automator|
++  +-+   +---+--+
  | load
+-+ sync  +---v--+
| PDA /Google ---+iCal  |
+-+   +--+

This works pretty well - though the problem is that it is a one-way
street: from org files to the BB - and round trip changes are not yet
possible.

Also, this is a OS X oriented solution, but the automation can probably
be done on other platforms as well using equivalent scripting.

HTH,

-- 
Anupam



___
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: monthly report

2009-03-19 Thread Micah Anderson
* Carsten Dominik domi...@science.uva.nl [2009-03-18 04:42-0400]:

 On Mar 17, 2009, at 8:38 PM, Micah Anderson wrote:
 Carsten Dominik domi...@science.uva.nl writes:
 On May 25, 2007, at 3:41, Steven Lumos wrote:

 Being yet another planner switcher, I'm used to using planner- 
 report-
 generate to assist me with writing a monthly activity report.  I  
 don't
 need fine-grained time tracking, or even most of what planner- 
 report-
 generate does--it would be ideal to get just a list of TODOs that  
 were
 closed between two dates and then I'll look at it while I type a few
 sentences in an email buffer.

 Is there already an easy way to get a list (I guess that a sparse
 tree would be most convenient for me) of TODOs marked as closed  
 within
 some date range?

[snip: lisp function (26 lines)]

 Ok, I tried this and I'm not sure what it did, if anything. I get the
 mini-buffer saying, 'Specified time is not representable' I've tried
 various date range possibilities, and can't get it to work.

 It seems that you are specifying the date in an invalid way.
 What are you typing when prompted for a date?

Ok, I restarted emacs and tried again, and now I am not given this
mini-buffer message at all. On restart, I found an error in my .emacs,
which could have been causing this issue. Chalk that up to confused
internal state I guess.

However, org-closed-in-range still doesn't seem to be doing anything
interesting, as far as I can tell. It folded up my org file, but thats
about it.

Maybe there is a better way for me to get at what I want, and I just
haven't found it yet (I am pretty new at org) and debugging this might
not be the best thing to do if there is something better to solve my
need. I basically just need to, at the end of the week, produce a report
of what I've worked on for that week, both things I finished, but also
things that are still in progress. Including the time spent is useful
too. I can go into the agenda and hit 'R' to get a time-table at the end
of the page, but I need a more granual day-by-day breakdown (Monday:
4hrs, worked on X, Y and completed Z).

thanks for your response!
micah


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


[Orgmode] non static deadlines

2009-03-19 Thread Jim Barbour
Howdy folks,

My name is Jim.  I am a blind UNIX engineer currently working at
Yahoo.

I use org-more quite a bit for planning.

I'm curious if there's been any talk of allowing deadlines to be
expressed as delta times from either the start of the project or from
another deadline?

As an example, I'd like to be able to say...

* The project begins on 2009-03-01
* Phase 1 will be complete 2 weeks later.
* Phase 2 will be completed 2 weeks after phase 1
* A review will happen 1 week after phase 1
* Phase 3 will be completed 5 weeks after phase 2.

Then, when I export my org files, or view agendas, I would get actual
dates, based on the start date of the project and the delta dates for
each item.  Then, I'd like to be able to change Phase 2 to say...

* Phase 2 will be completed 2 months after phase 1

and have phase 3's dates update automatically.

I've been thinking about quick and dirty ways to do this, and was
wondering if I was perhaps reinventing the wheel.

All thoughts welcome, and thanks for an awesome tool!

Jim


___
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] export colored text to LaTeX

2009-03-19 Thread Richard . Starkovs
Is there a simpler way to export colored text to LaTeX from org-mode than 
the way I'm currently doing it?

Here is how I do it today.

#+LATEX_HEADER: \usepackage{color}

#+BEGIN_LaTeX:
\begin{itemize}
{\color{red}
\item This is text in the first bullet point.}
{\color{blue}
\item This is text in the first bullet point.}
\end{itemize}
#+END_LaTeX


Best Regards,

Rick Starkovs


DISCLAIMER: 
This e-mail contains proprietary information some or all of which may be 
legally privileged. It is for the intended recipient only. If an addressing or 
transmission error has misdirected this e-mail, please notify the author by 
replying to this e-mail. If you are not the intended recipient you must not 
use, disclose, distribute, copy, print, or rely on this e-mail.
___
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: Fully featured Web publishing

2009-03-19 Thread Sébastien Vauban
Hi all,

Thanks for your input...

Rasmus Pank Roulund wrote:
 Why not us preamble?

 Because the OP wants to include the same menu on every page. If you input
 the file you will only have to update one file and the other files will be
 updated.

I can't use your solutions, as the navigation menu is almost identical, but it
is not completely: the keyword `current' has to be appended to the entry the
page is about.

   The only real problem that I see (the above being nice-to-have's) is the
   following: I want to have a common navigation menu, but whose current
   page is highlighted. To do so, I just have to add the class `current' to
   the current entry, but this means the navigation menu is not constant
   between pages!

For example, my menu will be this one for the _home page_:

--8---cut here---start-8---
div id=navigation
h2Navigation/h2
ul
lia href=index.html title=Home class=currentHome/a/li
 !-- ^^^ --
liAbout Me
ul
lia href=curriculum-vitae.html title=CVCV/a/li
lia href=pgp-public-key.html title=PGP Public KeyPGP Public 
Key/a/li
lia href=contact-me.html title=Contact MeContact Me/a/li
/ul
/li
liResources
ul
lia href=freeware.html title=FreewareFreeware/a/li
lia href=dot-emacs.html title=EmacsEmacs/a/li
/ul
/li
/ul
/div
--8---cut here---end---8---

and this one for my _CV_:

--8---cut here---start-8---
div id=navigation
h2Navigation/h2
ul
lia href=index.html title=Home class=currentHome/a/li
liAbout Me
ul
lia href=curriculum-vitae.html title=CV 
class=currentCV/a/li
  !-- ^^^ --
lia href=pgp-public-key.html title=PGP Public KeyPGP Public 
Key/a/li
lia href=contact-me.html title=Contact MeContact Me/a/li
/ul
/li
liResources
ul
lia href=freeware.html title=FreewareFreeware/a/li
lia href=dot-emacs.html title=EmacsEmacs/a/li
/ul
/li
/ul
/div
--8---cut here---end---8---

The skeleton is static, but the instantiated navigation menu for a specific
page should be computed automatically, when publishing...

I hope I now have clearly expressed my point. If yes, do you see any solution
for me?

Best regards,
  Seb

-- 
Sébastien Vauban


___
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] The most important project for org developers?

2009-03-19 Thread Friedrich Delgado Friedrichs

Ian Barton schrieb:
 If you have access to a server that supports WebDav you can create a  
 Google Calendar that reads your org ics file directly.
---Zitatende---

Uhm, I tried to publish my org.ics file to a https server in a
protected directory, but even with username and password in the remote
calendar url google calendar would not read the ics file.

If you managed to set it up via https and some kind of authentication,
I'm very interested in your solution, but I'm not ready to publish all
my events to the whole world, even if the url is somehow obfuscated.


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


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


Re: [Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Matthew Lundin
Richard Riley rileyrg...@googlemail.com writes:

 Why not us preamble?

 I'm not sure if its an approved way or not but has done for me for a site
 wide addition for a while now but I must admit to not being up to date
 with all latest and greatest innovations.

 http://richardriley.net/projects/emacs/dotorg.html

 It seemed the best way to do it at the time. What is the better way?
 At the time I asked about a header and footer which is fairly common
 and decided to use preamble and postamble to effectively act as common
 header and footer components. Prior to the id=content modifications
 (container) I also used to introduce the contentcontainer using
 preamble and postamble too (e.preamble opening the div and postamble
 closing it).

To chime in here, this is precisely how I create the menu on my website:

http://faculty.valpo.edu/mlundin/

In my org-publish-project-alist I have the following:

,
| [snip]
| :preamble 
| div id=\menu\
| div id=\sidemenu\
| a href=\index.html\Home/a #124;
| a href=\sitemap.html\Site Map/a
| /div
| div id=\sidetitle\
| Matthew Lundin
| /div
| /div
| div id=\wrapper\
| :postamble /div
| [snip]
`

The preamble is placed directly beneath the body tag.

I use to add a couple of extra wrapper divs, but with the new default
content div, I only add one. 

Obviously, one could get a lot more elaborate with this.

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] Latex export bugs and a request

2009-03-19 Thread Carsten Dominik


On Mar 18, 2009, at 5:33 PM, Matthew Lundin wrote:


Hi Carsten,

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



Strange, I am getting {lll}, with no vertical lines on either  
outside.

Ah, you have org-export-latex-tables-column-borders turned on.
Yes, there was a bug, fixed now.  Thanks!



Thanks! Works beautifully now.



2. Headlines greater than n when H:n (e.g., level three headlines
when H
is set to 2) are exported as description lists.

Is this the intended behavior?


This is how Bastien designed it, and it is similar to the HTML way,
turning these into lists.  It works fine if there is any text before
the plain list bullets.



When I use a paragraph of text instead of plain list bullets, the
subsequent paragraph becomes the definition of the headline, which
becomes the list label. Is this correct?


I am confused, could you make a detailed example, please?




Do you have a better proposal?


I suppose I was expecting the headings to become itemized lists if
num:nil or enumerated lists if num:t. But I realize that's probably  
not

the most straightforward behavior. I think it's easier for me to use
bullet lists in the org source than to request a change. :)


Would it be possible to have the latex exporter ignore markup
designated as html?


I am unable to reproduce this, works fine for me.


You are right. I cannot reproduce this. I'm afraid it may have been  
due

to a typo. Sorry for the false alarm.


OK, we have now #+begin_center



Again, thanks so much! This works beautifully and I've already used it
in a syllabus.



A related thought (and sorry for the very long email), is there any
way
to define these types of macros globally, rather than in-buffer? It
would be really nice to be able to set commonly used macros  
globally.

Even nicer would be the ability to define macros that are context
sensitive: i.e., one substitution for for LaTeX export, another
substitution for HTML export. This might make it easier to export  
the

same source file to different outputs. Just a wishlist item


Yes,  guess we could have global macros, and also macros that expand
depending on exporter type.  I have not though much about it, maybe
you'd like to draw up a syntax?


Thanks for considering this. I'll do some brainstorming and get back  
to you.


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: monthly report

2009-03-19 Thread Carsten Dominik


On Mar 18, 2009, at 3:57 PM, Micah Anderson wrote:


* Carsten Dominik domi...@science.uva.nl [2009-03-18 04:42-0400]:


On Mar 17, 2009, at 8:38 PM, Micah Anderson wrote:

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

On May 25, 2007, at 3:41, Steven Lumos wrote:


Being yet another planner switcher, I'm used to using planner-
report-
generate to assist me with writing a monthly activity report.  I
don't
need fine-grained time tracking, or even most of what planner-
report-
generate does--it would be ideal to get just a list of TODOs that
were
closed between two dates and then I'll look at it while I type a  
few

sentences in an email buffer.

Is there already an easy way to get a list (I guess that a  
sparse

tree would be most convenient for me) of TODOs marked as closed
within
some date range?


[snip: lisp function (26 lines)]

Ok, I tried this and I'm not sure what it did, if anything. I get  
the

mini-buffer saying, 'Specified time is not representable' I've tried
various date range possibilities, and can't get it to work.


It seems that you are specifying the date in an invalid way.
What are you typing when prompted for a date?


Ok, I restarted emacs and tried again, and now I am not given this
mini-buffer message at all. On restart, I found an error in my .emacs,
which could have been causing this issue. Chalk that up to confused
internal state I guess.

However, org-closed-in-range still doesn't seem to be doing anything
interesting, as far as I can tell. It folded up my org file, but thats
about it.


Do you have CLOSED:  timestamps in the buffer?
You do get these by setting

(setq org-log-done 'time)

or by doing

#+STARTUP: logdone

- Carsten



Maybe there is a better way for me to get at what I want, and I just
haven't found it yet (I am pretty new at org) and debugging this might
not be the best thing to do if there is something better to solve my
need. I basically just need to, at the end of the week, produce a  
report

of what I've worked on for that week, both things I finished, but also
things that are still in progress. Including the time spent is useful
too. I can go into the agenda and hit 'R' to get a time-table at the  
end

of the page, but I need a more granual day-by-day breakdown (Monday:
4hrs, worked on X, Y and completed Z).


You can configure the clock report to be delivered for days by
setting the

:step day

property in org-agenda-clock-report-parameter-plist


Or you can switch to a daily agenda (the d) key
and look at the clock report day by day.

Pressing l or C-u l turns on the log info for days, showing
you what you did on a particular day, provided that you have
recorded that informtation by setting org-log-done, of by clocking time,
or by recording state changes.  All this is in the manual.

HTH

- Carsten




thanks for your response!
micah




___
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] One year after - questions and suggestions

2009-03-19 Thread Carsten Dominik


On Mar 15, 2009, at 5:26 PM, Bastien wrote:


property's value, have a way to use a calc or a tbl formula?
Additionnally, have a _DEFAULT suffix to define defaults.


There was a patch recently on the mailing list, subject elisp
formulas.


Seen it, will test it closely.


Please do, I am interested in this patch, maybe you see ways
to expand the possibilities.




- FR: A function to display the link the cursor is on (the same way
the
mouse displays a small popup.)  This function would particularily be
useful in the agenda view.


C-c C-l  LOOK  RET RET   :-)


:)


Hard to find new key bindings for these.


But C-c C-l is not accessible from the agenda, right?


No, it is not, and I'd rather not make it.  There could be several links
in a headline, and the agenda is really meant to have commands that
do not depend on where in the line the cursor is.

I guess you could add to post-command-hook in the agenda something
like this, to use the echo area if it is empty:

(add-hook 'org-agenda-mode-hook
  (lambda ()
(add-hook 'post-command-hook
  (lambda ()
(unless (current-message)
  (if (looking-at .*?\\[\\[\\(.*?\\)\\])
  (message Link to: %s
   (org-match-string-no-properties 1)
  t t)))




- FR: When selecting an attachment, if there is already a directory
defined for this the current entry, then use this directory as the
default directory for browsing and select the attachment.


You mean if there is an attachment directory defined?


Yes.


What do you mean by when selecting and attachment?


C-c C-a should be aware of any previously defined directory, and take
this directory as the default directory when browsing for other files
to attach.  Am I more clear?


No, not clear to me.

Do you mean that the attachment directory should become the default?
No, maybe you mean that if I have already attached a/b/c/file,
the next time you want to attach a file from the same directory, a/b/c?






- FR: Allow to insert +1d-type strings when picking up a date with
`org-time-stamp'.


This works for me, what am I missing here?


Weird.  C-c C-s + 1 d RET does only insert today's date here, no +1d
string.

- FR: Symmetric to individual lead time, I wish I can have  
individual

remaining time - for example, the number of days during which a
deadline is still visible in the agenda view.  (That would happily
steal 90% of what org-expiry.el is trying to achieve.)


I think the purpose of deadlines is for them sting you until you do
something about them?  For me it seems that this would be counter
productive.  Why don't you tick off these items ok archive/kill  
them


Well, let's say I plan to do something next week but it's not high
priority.  I want it to pop up in my agenda view next week, and stay  
for
three days, because passed this delay, I know I won't have any  
interest

in doing it anymore.  Having something like +3d looks consistent to me
-- but I agree I can find workarounds.  Or just fix my habits :)


- FR: Following a sh: or an elisp: link prompts the user for
confirmation.  Can we have a variable that let the user to globally
turn this off?


Yes, there is such a variable: org-confirm-elisp-link-function
and org-confirm-shell-link-function.


Great, thanks!


- FR: Visually mark (with #) entries that are marked in the agenda
view?


I am not sure what you are talking about, what marking???


Sorry I meant when marking an entry with `k m' in agenda view.


- FR: When setting a mark in the agenda view, go to the next line?
(Like in buffer-menu and other menu mode.)


I am not sure what you are talking about, what marking???


Same here.  `k m' would jump to the next unmarked entry.


- FR: Maybe `?' could provide a little help in agenda mode.


Hmmm, yes, why not.  What should it say?


Will think of it.


Because, the keys are available in the menu.


Yeah, but maybe some people don't use menus (I don't).


I use them to look up keys, nothing else :-)




- FR: Grouping several :clock: lines when clocking periods are very
close to each other (with a user-defined threshold).  For example,
clocking 5 times 10 minutes within the same hour would be rounded up
to one hour.


With things nicely tugged way into drawers, I see no reasons to do  
this.


The main reason was to cheat and try pretend you've been working 1  
hour

when you really worked 50 minutes :)


Yes, I can see that, but anything automatic would probably create  
crap.  Editing time stamps is easy enough though


Great!

- Q/FR: How to go at the end of a field in a table?  Maybe C-a and  
C-e

could be contextually redefined to do this, since a table is such a
specific editing context.


Word-motion commands?  I am not comfortable with overloading C-a  
and C-

e.


forward-paragraph and backward-paragraph would make sense, no?  For  
now

M-} jumps out of 

Re: [Orgmode] Re: emacs org-mode

2009-03-19 Thread Carsten Dominik


On Mar 18, 2009, at 6:06 PM, Eraldo Helal wrote:


Carsten Dominik dominik at science.uva.nl writes:



Hi Eraldo,



Wow,... I am baffled... Thank you!
I did not expect to get such a fast reply.

I am new to mailing-lists in general and have to get used to the  
style of
handling. Until now I was used to talk to people all the time so  
please be

patient with me.

I see your point and I will try your suggestions.


I see that so far you have sent one message to the mailing list
with a description of your plans for a setup and a what do you
think kind of question.  What kind of an answer would you
expect?


I wanted to get an overview of how other GTD org-mode users  
integrate non-text

project files into their system.


This is not a focussed question with a clear answer.


- registered ;)

Greetings,
- Eraldo





___
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] FR: Custom Latex Table alignment

2009-03-19 Thread Carsten Dominik


On Mar 19, 2009, at 12:17 AM, Russell Adams wrote:


Could we use a ATTR_LaTeX line to allow the 'align' field for tabular
to be customized? I needed to do word wrap today, and to enable word
wrap you must specify the width of the column.


#+ATTR_LaTeX: align=rrlp{2cm}lrl

works already, seems I forgot to document this.



The easy way would be to allow the user to specify the align string
manually, or we could do something more complex on the column groups
line.

Thanks.

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] Problem with BEGIN_CENTER

2009-03-19 Thread Carsten Dominik

Fixed, thanks.  I am using now a div, not a paragraph for this.

- Carsten

On Mar 19, 2009, at 6:32 AM, Baoqiu Cui wrote:


It seems that the newly added feature BEGIN_CENTER only supports *one*
paragraph, i.e. only the first paragraph after BEGIN_CENTER will be
centered in exported HTML format.

For example, for the following lines in my Org file:

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

   Repeat the above paragraph:

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

I get the following HTML code, which, strictly speaking, contains a  
bug

because p is nested:

   p style=text-align: center
   Everything should be made as simple as possible, br/
   but not any simpler

   p
   Repeat the above paragraph:
   /p
   p
   Everything should be made as simple as possible, br/
   but not any simpler
   /p
   /p

Is this the expected behavior?  I am trying to support this feature in
DocBook exporter, and would like to make BEGIN_CENTER work on multiple
paragraphs.

Baoqiu



___
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] Error exporting to temp buffer

2009-03-19 Thread Carsten Dominik

Hi Leo,

I cannot reproduce this.

- Carsten

On Mar 19, 2009, at 7:03 AM, Leo wrote:


Hi there,

Put the following sample in a buffer *not* visiting any file and try
`C-c C-e H' to get the back trace. It is reproducible in GNU Emacs
23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 on BREPNB with orgmode
6.21b.

Sample:


*good* is /already/ very _important_. But http://www.google.com is  
not the

right place.



,[ Backtrace ]
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   file-name-nondirectory(nil)
|   org-export-html-preprocess((:emph-multiline t :for-html t :skip- 
before-1st-heading nil :drawers nil :todo-keywords t :tags not-in- 
toc :priority nil :footnotes t :timestamps t :archived-trees  
headline :select-tags (export) :exclude-tags (noexport) :add- 
text nil :LaTeX-fragments t))
|   org-export-preprocess-string(#(*good* is /already/ very  
_important_. But http://www.google.com is not the\nright place. 0 1  
(fontified nil :org-license-to-kill t face (bold) font-lock- 
multiline t invisible org-link) 1 5 (fontified nil :org-license-to- 
kill t face (bold) font-lock-multiline t) 5 6 (fontified nil :org- 
license-to-kill t face (bold) font-lock-multiline t invisible org- 
link mouse-face highlight keymap (keymap ... ... ... ... ...)) 6 7  
(fontified nil :org-license-to-kill t mouse-face highlight keymap  
(keymap ... ... ... ... ...)) 7 10 (fontified nil :org-license-to- 
kill t) 10 11 (fontified nil :org-license-to-kill t face (italic)  
font-lock-multiline t invisible org-link) 11 18 (fontified nil :org- 
license-to-kill t face (italic) font-lock-multiline t) 18 19  
(fontified nil :org-license-to-kill t face (italic) font-lock- 
multiline t invisible org-link) 19 25 (fontified nil :org-license-to- 
kill t) 25 26 (fontified nil :org-license-to-kill t face (underline)  
font-lock-multiline t invisible org-link) 26 35 (fontified nil :org- 
license-to-kill t face (underline) font-lock-multiline t) 35 36  
(fontified nil :org-license-to-kill t face (underline) font-lock- 
multiline t invisible org-link) 36 42 (fontified nil :org-license-to- 
kill t) 42 47 (fontified nil rear-nonsticky (mouse-face highlight  
keymap invisible intangible help-echo org-linked-text) :org-license- 
to-kill t mouse-face highlight keymap (keymap ... ... ... ... ...)  
face org-link) 47 48 (fontified nil rear-nonsticky (mouse-face  
highlight keymap invisible intangible help-echo org-linked- 
text) :org-license-to-kill t mouse-face highlight keymap  
(keymap ... ... ... ... ...) face org-link) 48 49 (fontified nil  
rear-nonsticky (mouse-face highlight keymap invisible intangible  
help-echo org-linked-text) :org-license-to-kill t mouse-face  
highlight keymap (keymap ... ... ... ... ...) face org-link) 49 63  
(fontified nil rear-nonsticky (mouse-face highlight keymap invisible  
intangible help-echo org-linked-text) :org-license-to-kill t mouse- 
face highlight keymap (keymap ... ... ... ... ...) face org-link) 63  
75 (fontified nil :org-license-to-kill t) 75 87 (fontified  
nil)) :emph-multiline t :for-html t :skip-before-1st-heading  
nil :drawers nil :todo-keywords t :tags not-in-toc :priority  
nil :footnotes t :timestamps t :archived-trees headline :select-tags  
(export) :exclude-tags (noexport) :add-text nil :LaTeX-fragments  
t)

|   org-export-as-html(nil nil nil *Org HTML Export*)
|   org-export-as-html-to-buffer(nil)
|   call-interactively(org-export-as-html-to-buffer)
|   org-export(nil)
|   call-interactively(org-export nil nil)
`

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



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




___
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] More Flexibility for Stuck Projects?

2009-03-19 Thread Carsten Dominik

Hi Peter,

I guess you might want to use

(setq org-tags-exclude-from-inheritance '(project subproject))

Then you can select projects for the stuck-project listing with

project|subproject

If you have a reason to actually want the inheritance of these tags
in other circumstances, you could implement this setting
as an option to an agenda custom command that does look for stuck
projects:

((# Stuck stuck 
  ((org-tags-exclude-from-inheritance
'(project subproject


To answer to your original question:


On Mar 18, 2009, at 6:01 PM, Peter Jones wrote:

I really love the idea of stuck projects, it helps me every day.   
Right

now, I consider projects to be level two headings with the :project:
tag.  90% of my projects follow this convention.

However, I sometimes find myself needing sub-projects, where level two
is a project, level three is a sub-project, and level four are tasks:

* Projects:project:
** Some Complex Project
*** Sub-Project 1 :subproject:
 NEXT Do something
 Do something else
*** Sub-Project 2 :subproject:
 Do something again

With the above headings, and my current configuration for stuck
projects, Sub-Project 2 won't show up in the stuck projects list
(because technically it's not a stuck project).

Does anyone have a setting for org-stuck-projects that would allow  
me to

define a project as either:

1. A level 2 heading tagged :project:

2. A level 3 heading tagged :subproject:


+project+LEVEL=2|+subproject+LEVEL=3




Or a better way to do what I'm doing.


I am using TODO keywords

#+TODO: PROJ | PRDONE PRCANCELLED

to make projects, because they do not involve inheritance, and a project
is never a TODO item itself, only the subtasks are

Now, maybe the real problem you are having is this:

When the stuck project search goes through your tree, it first finds a  
project tree and checks if it is stuck.  If not, the entire tree is  
skipped, including the subprojects.  This is not what you want.


The best solution probably is to say that a project that has sub  
projects is never stuck, by adding the subproject tag to the unstuck  
conditions.


Hmm, I see now that part of this problem stems from the fact that
the skipper skips the entire subtree and never looks at subitems.
Maybe this is a mistake...  I actually think it is.  I am changing  
this... done.



With this change, I guess you can switch to

- use :project: to define both projects and subprojects
- exclude :project: from inheritance
- define your stuck project search +project to identify a project.

or

- use a TODO keyword PROJ
- define the search as TODO=\PROJ\


HTH

- Carsten




The biggest challenge to getting this working is that I use tag
inheritance with the :project: tag.  In some files I have level 1
headings tagged :project:, and in others, I use file level tags with
:project:.  That means that all headings are basically tagged as
:project:, so I need to specify a heading level for stuck projects.

TIA.

--
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



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


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


Re: [Orgmode] Re: Feature request: org-goto hierarchical path completion with ido

2009-03-19 Thread Carsten Dominik


On Mar 18, 2009, at 5:48 PM, Peter Jones wrote:


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

This is `C-u C-c C-w', it uses the refile command interface
to go to a location.


I'm always looking for a faster way to move around my org buffers, so
based on what you said above, I tried setting org-refile-targets like
so:

 (setq org-refile-targets '((nil . (:maxlevel . 2

And then tried using C-u C-c C-w to move around.  Unfortunately, it's
not very practical for moving around since if you want to move  
somewhere

in the same tree you get this error:

 Cannot refile to position inside the tree or region


This is just a bug.  Fixed now.



It would really be neat if there was a way to jump to a specific
heading, no matter how deep, by just typing a few key strokes.  Right
now, I'm using C-s to do this, but the idea of having auto- 
completion is

compelling.



This is what org-goto is for.  You can select the interface
to be used with the variable org-goto-interface.  Set it to
outline-path-completion and it will work like refiling.
You can configure the maximum depth for this command
with org-goto-max-level.




How about something like this:

1. Using a key binding, you enter a movement mode (ido, mini-buffer)

2. You select the first level heading you want (just like C-c C-w)

3. Point moves to the heading you selected

4. You are prompted for a second level heading

5. Either choose a heading, or do C-g to stay where you are

6. Continue until you get where you want to be


It will not work like this, but I think, in the end, you
would find that what you propose might feel slow again.
I believe you get the fatest interface by using

(setq org-outline-path-complete-in-steps nil)

and using ido for doing the completion on the full path.

The main difference between org-goto and calling org-refile
with a prefix argument is that the former always gives you
all headings to a certain depth in the current file, while
the latter offer a selection of important headings in
potentially many files.

I believe that many people only use the refile interface,
and then have both agenda targets, and current file targets
configured in org-refile-targets.




Does that sound interesting to anyone?  If so, I could put together
something for us to play with.

--
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



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


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


[Orgmode] Re: The most important project for org developers?

2009-03-19 Thread Rasmus Pank Roulund

 If you have access to a server that supports WebDav you can create a
 Google Calendar that reads your org ics file directly.
phpicalendar has a module called publish.php than can write to a ics
file via http. I use it with multiple shared calendars in Thunderbird. 
 
-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


[Orgmode] [PATCH] Headlines Prefixed with a Period in org-scan-tags, Why?

2009-03-19 Thread Peter Jones
I'm looking at this code in org-scan-tags (org.el):

(concat
 (if org-tags-match-list-sublevels
 (make-string (1- level) ?.) )
 (org-get-heading))

Which causes items in my agenda buffer to be prefixed with a series of
periods.  I've been looking around org.el, and org-agenda.el, and don't
see any code that relies on those periods being there.

If I remove that if expression, the agenda looks the way I'd expect,
with no noticeable consequences.

Is there any reason the patch below would break something in Org?

diff --git a/lisp/org.el b/lisp/org.el
index dabf306..b19e3d1 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9969,10 +9969,7 @@ only lines with a TODO keyword are included in the 
output.
 ((eq action 'agenda)
  (setq txt (org-format-agenda-item
 
-(concat
- (if org-tags-match-list-sublevels
- (make-string (1- level) ?.) )
- (org-get-heading))
+ (org-get-heading)
 category
 ;(org-get-tags-at)
 tags-list


-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



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


[Orgmode] Re: More Flexibility for Stuck Projects?

2009-03-19 Thread Peter Jones
Carsten Dominik domi...@science.uva.nl writes:
 With this change, I guess you can switch to

 - use :project: to define both projects and subprojects
 - exclude :project: from inheritance
 - define your stuck project search +project to identify a project.

 or

 - use a TODO keyword PROJ
 - define the search as TODO=\PROJ\

Thanks Carsten, this gives me a lot of options to consider.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



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


[Orgmode] Re: Feature request: org-goto hierarchical path completion with ido

2009-03-19 Thread Peter Jones
 This is what org-goto is for.  You can select the interface
 to be used with the variable org-goto-interface.  Set it to
 outline-path-completion and it will work like refiling.
 You can configure the maximum depth for this command
 with org-goto-max-level.

Excellent.  I had tried org-goto before, but didn't know about the
org-goto-interface variable.  This is exactly what I wanted.

Thanks Carsten.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



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


Re: [Orgmode] [PATCH] Headlines Prefixed with a Period in org-scan-tags, Why?

2009-03-19 Thread Carsten Dominik


Hi Peter,

this is supposed to be a feature, showing that these lines are  
sublevels of a line that already matched.  I guess we can create a  
variable to turn this off - you are right that it has no functionality  
otherwise.


- Carsten

P.S. Do you have a copyright assignment, I forgot, but I have the  
feeling that I would like to have one ... :-)


On Mar 19, 2009, at 6:29 PM, Peter Jones wrote:


I'm looking at this code in org-scan-tags (org.el):

(concat
(if org-tags-match-list-sublevels
(make-string (1- level) ?.) )
(org-get-heading))

Which causes items in my agenda buffer to be prefixed with a series of
periods.  I've been looking around org.el, and org-agenda.el, and  
don't

see any code that relies on those periods being there.

If I remove that if expression, the agenda looks the way I'd expect,
with no noticeable consequences.

Is there any reason the patch below would break something in Org?

diff --git a/lisp/org.el b/lisp/org.el
index dabf306..b19e3d1 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9969,10 +9969,7 @@ only lines with a TODO keyword are included  
in the output.

 ((eq action 'agenda)
  (setq txt (org-format-agenda-item
 
-(concat
- (if org-tags-match-list-sublevels
- (make-string (1- level) ?.) )
- (org-get-heading))
+ (org-get-heading)
 category
 ;(org-get-tags-at)
 tags-list


--
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



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




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


[Orgmode] [ANN] OS X only: Insert links to flagged emails

2009-03-19 Thread Christopher Suckling

All,

For various reasons (mainly Spotlight and an excess of HTML mail send  
by employers), I've migrated back to Mail.app after some time in Mutt  
(and how I miss the speed and threading).


I habitually flag mails that need attention at a later date, and  
rather than use both org-mode and Mail.app to keep track of what needs  
doing, I've written a couple of hybid elisp AppleScript functions to  
suck links to my flagged email into org-mode.


More details in the attached file.

Comments and improvements welcome.

Best,

Christopher



org-mac-flagged-mail.el
Description: Binary data


___
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: [PATCH] Headlines Prefixed with a Period in org-scan-tags, Why?

2009-03-19 Thread Peter Jones
Carsten Dominik domi...@science.uva.nl writes:
 P.S. Do you have a copyright assignment, I forgot, but I have the
 feeling that I would like to have one ... :-)

I do, and I thought I sent it to you, but I may not have.  What's the
best way for me to get it to you?

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



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


[Orgmode] clocksum and archived trees

2009-03-19 Thread Jota Pin
Dear all,

I tried to figure out how to avoid having archived subtrees to contribute to 
the sum of times showed with Display Times c-c c-x c-d.

I could not find an option for that, is-it implemented?

Thanks,
Jota.


___
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: Error exporting to temp buffer

2009-03-19 Thread Leo
On 2009-03-19 16:40 +, Carsten Dominik wrote:
[...]
 Hi Leo,

Hi Carsten,

 I cannot reproduce this.

I can repliably reproduce it. Actually I just tried it with a fresh
Emacs session.

Looking at

(file-name-nondirectory
org-current-export-file)

in org-export-html-preprocess and when an org buffer is NOT visiting any
file, org-current-export-file is set to nil by org-export-as-html, thus
the error occurs.

Can anyone else reproduce this bug?

BTW, I came across this when trying to combine Gnus+Org to blog to
blogger.com. I have come up with a decent solution based on Gnus alone.
So this bug is not bugging me any more.

 - Carsten

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



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


Re: [Orgmode] Error exporting to temp buffer

2009-03-19 Thread David Maus

Good evening,

 Hi there,
 
 Put the following sample in a buffer *not* visiting any file and try
 `C-c C-e H' to get the back trace. It is reproducible in GNU Emacs
 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 on BREPNB with orgmode
 6.21b.
 
 Sample:
 
 
 *good* is /already/ very _important_. But http://www.google.com is not the
 right place.
 
 


Cannot reprocude this either. C-x b org-bug RET, paste sample, C-c C-e
H gives an *Org HTML Export* buffer with the exported sample.

org-version: 6.24trans
emacs-version: GNU Emacs 23.0.91.1 (i486-pc-linux-gnu) of 2009-03-08 on
elegiac, modified by Debian

Regards,

 -- David

-- 
Email. maus.da...@gmail.com
Jabber dmj...@jabber.org
ICQ... 241051416
OpenPGP... 0x316F4BE4670716FD


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


Re: [Orgmode] Error exporting to temp buffer

2009-03-19 Thread Sebastian Rose
David Maus maus.da...@gmail.com writes:
 Cannot reprocude this either. C-x b org-bug RET, paste sample, C-c C-e
 H gives an *Org HTML Export* buffer with the exported sample.

Same here.


Regards,

  Sebastian


___
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] Error exporting to temp buffer

2009-03-19 Thread Nick Dokos
Sebastian Rose sebastian_r...@gmx.de wrote:

 David Maus maus.da...@gmail.com writes:
  Cannot reprocude this either. C-x b org-bug RET, paste sample, C-c C-e
  H gives an *Org HTML Export* buffer with the exported sample.
 
 Same here.
 
 
Same here, but I was wondering: the function that Leo fingers looks like this

,
| (defun org-export-html-preprocess (parameters)
|   ;; Convert LaTeX fragments to images
|   (when (plist-get parameters :LaTeX-fragments)
| (org-format-latex
|  (concat ltxpng/ (file-name-sans-extension
|   (file-name-nondirectory
|org-current-export-file)))
|  org-current-export-dir nil Creating LaTeX image %s))
|   (message Exporting...))
`

and when I step through it, the when expression evaluates to nil, so the
whole thing is skipped. So it may be some setting in Leo's setup or maybe
something is missing from the fragment, that would make that expression
non-nil. So my question is:

What do I have to do to make

 (plist-get parameters :LaTeX-fragments)

non-nil?

Nick


___
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: Error exporting to temp buffer

2009-03-19 Thread Leo
On 2009-03-19 22:36 +, Nick Dokos wrote:
 and when I step through it, the when expression evaluates to nil, so the
 whole thing is skipped. So it may be some setting in Leo's setup or maybe
 something is missing from the fragment, that would make that expression
 non-nil. So my question is:

Thank you for finding this.

 What do I have to do to make

  (plist-get parameters :LaTeX-fragments)

Maybe org-export-with-LaTeX-fragments is the culprit. I set it to t in
my setup.

 non-nil?

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



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


[Orgmode] org-crypt and PROPERTIES location

2009-03-19 Thread Peter Jones
I've started playing with org-crypt, which is very nice.

Unfortunately the org-apply-to-entry-contents function assumes that the
PROPERTIES drawer is at the bottom of the heading's contents.  There
might be a variable in org mode to control this, but all my entries have
the PROPERTIES drawer at the top, with the content underneath.

Of course, this means that org-crypt doesn't actually encrypt anything
for me.

I'm posting this to the org-mode mailing list to see if there is a
better way to get to the contents of a heading, excluding any drawers.
I'm sure there is something in the export system we could reuse.  I say
we because I'm more than willing to submit patches.

One last note, the comments in the org-crypt file mention using an
after-save-hook to encrypt the appropriate headings.  Shouldn't that be
a before-save-hook?

Thanks to all.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



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


Re: [Orgmode] Latex export bugs and a request

2009-03-19 Thread Matthew Lundin

Hi Carsten,

 2. Headlines greater than n when H:n (e.g., level three headlines
 when H
 is set to 2) are exported as description lists.

 Is this the intended behavior?

 This is how Bastien designed it, and it is similar to the HTML way,
 turning these into lists.  It works fine if there is any text before
 the plain list bullets.


 When I use a paragraph of text instead of plain list bullets, the
 subsequent paragraph becomes the definition of the headline, which
 becomes the list label. Is this correct?

 I am confused, could you make a detailed example, please?

Sorry for being unclear. Take, for instance, the following source file:

--8---cut here---start-8---
#+OPTIONS: H:2

* This is the first heading

Here is some text after the first heading.

** This is the second heading

Here is some text after the second heading.

*** This is the third heading

Here is some text after the third heading.
--8---cut here---end---8---

This outputs to tex as follows (preamble excluded):

--8---cut here---start-8---
\section{This is the first heading}
\label{sec-1}


Here is some text after the first heading.

\subsection{This is the second heading}
\label{sec-1.1}


Here is some text after the second heading.

\begin{description}

\item[This is the third heading]\label{sec-1.1.1}



Here is some text after the third heading.
\end{description}
--8---cut here---end---8---

When latex is run, the output looks like this. Note how the text after
the third heading is folded into the same line:

--8---cut here---start-8---
1 This is the first heading 

Here is some text after the first heading. 

1.1 This is the second heading 

Here is some text after the second heading. 

This is the third heading Here is some text after the third heading. 
--8---cut here---end---8---

- 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: [Bulk] Re: clocksum and archived trees

2009-03-19 Thread Jota Pin
Le jeudi 19 mars 2009, Peter Jones a écrit :
 Jota Pin jotapin2...@yahoo.fr writes:
  I tried to figure out how to avoid having archived subtrees to contribute
  to the sum of times showed with Display Times c-c c-x c-d.

 I've been wondering something along the same lines myself.  When
 switching to column view via C-c C-x C-c it can sometimes take a long
 time because of archive items.

 I haven't gotten around to looking into this yet.  Maybe I'll try to fix
 this tomorrow when I get some time.

Thanks, this would be great.

Maybe an explanation of the reason to doing so is helpful:

I like to see the time spent per subtree, but at the same time I do want to 
keep the archives in their original location: I use sometimes archives tags 
to store versions of the same subtree, and of course the clocks must no count 
twice there...

Same question for clock tables.


___
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